From 726410fef0f131d734cebaad2feca324c3ab0437 Mon Sep 17 00:00:00 2001 From: jay_yeh Date: Wed, 12 Mar 2025 10:07:42 +0800 Subject: [PATCH] [rename] Change the spelling Schmit->Schmitt --- drivers/drivers-x2600/include/x2600_ll_gpio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/drivers-x2600/include/x2600_ll_gpio.h b/drivers/drivers-x2600/include/x2600_ll_gpio.h index 72a9fd5b..dc5852e1 100755 --- a/drivers/drivers-x2600/include/x2600_ll_gpio.h +++ b/drivers/drivers-x2600/include/x2600_ll_gpio.h @@ -424,7 +424,7 @@ static inline uint32_t LL_GPIO_getDriverSlew(GPIO_TypeDef *GPIOx, uint32_t Pin) * * @retval None */ -static inline void LL_GPIO_setInputSchmit(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Level) +static inline void LL_GPIO_setInputSchmitt(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Level) { if (Level & 2) { WRITE_REG(GPIOx->PxSMT1S, (1 << Pin)); @@ -447,7 +447,7 @@ static inline void LL_GPIO_setInputSchmit(GPIO_TypeDef *GPIOx, uint32_t Pin, uin * @retval Level,对于TYPEA,TYPEB: 0: 关闭,1: 打开 * 对于TYPEC: 0: 关闭,1-2: 参考PM(GPIO)手册 */ -static inline uint32_t LL_GPIO_getInputSchmit(GPIO_TypeDef *GPIOx, uint32_t Pin) +static inline uint32_t LL_GPIO_getInputSchmitt(GPIO_TypeDef *GPIOx, uint32_t Pin) { uint32_t level; level = ((READ_REG(GPIOx->PxSMT) >> Pin) & 1) << 0; -- Gitee