Home
last modified time | relevance | path

Searched refs:HT_GPIOx (Results 1 – 6 of 6) sorted by relevance

/bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/src/
A Dht32f1xxxx_gpio.c84 if (HT_GPIOx == HT_GPIOA) in GPIO_DeInit()
88 else if (HT_GPIOx == HT_GPIOB) in GPIO_DeInit()
92 else if (HT_GPIOx == HT_GPIOC) in GPIO_DeInit()
96 else if (HT_GPIOx == HT_GPIOD) in GPIO_DeInit()
101 else if (HT_GPIOx == HT_GPIOE) in GPIO_DeInit()
107 else if (HT_GPIOx == HT_GPIOF) in GPIO_DeInit()
167 temp_up = HT_GPIOx->PUR; in GPIO_PullResistorConfig()
168 temp_down = HT_GPIOx->PDR; in GPIO_PullResistorConfig()
187 HT_GPIOx->PUR = temp_up; in GPIO_PullResistorConfig()
188 HT_GPIOx->PDR = temp_down; in GPIO_PullResistorConfig()
[all …]
/bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/src/
A Dht32f5xxxx_gpio.c84 if (HT_GPIOx == HT_GPIOA) in GPIO_DeInit()
88 else if (HT_GPIOx == HT_GPIOB) in GPIO_DeInit()
93 else if (HT_GPIOx == HT_GPIOC) in GPIO_DeInit()
99 else if (HT_GPIOx == HT_GPIOD) in GPIO_DeInit()
105 else if (HT_GPIOx == HT_GPIOE) in GPIO_DeInit()
111 else if (HT_GPIOx == HT_GPIOF) in GPIO_DeInit()
171 temp_up = HT_GPIOx->PUR; in GPIO_PullResistorConfig()
172 temp_down = HT_GPIOx->PDR; in GPIO_PullResistorConfig()
203 HT_GPIOx->PUR = temp_up; in GPIO_PullResistorConfig()
204 HT_GPIOx->PDR = temp_down; in GPIO_PullResistorConfig()
[all …]
/bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/inc/
A Dht32f1xxxx_gpio.h385 void GPIO_DeInit(HT_GPIO_TypeDef* HT_GPIOx);
391 FlagStatus GPIO_ReadInBit(HT_GPIO_TypeDef* HT_GPIOx, u16 GPIO_PIN_n);
392 FlagStatus GPIO_ReadOutBit(HT_GPIO_TypeDef* HT_GPIOx, u16 GPIO_PIN_n);
393 u16 GPIO_ReadInData(HT_GPIO_TypeDef* HT_GPIOx);
394 u16 GPIO_ReadOutData(HT_GPIO_TypeDef* HT_GPIOx);
395 void GPIO_SetOutBits(HT_GPIO_TypeDef* HT_GPIOx, u16 GPIO_PIN_nBITMAP);
398 void GPIO_WriteOutData(HT_GPIO_TypeDef* HT_GPIOx, u16 Data);
399 void GPIO_PinLock(HT_GPIO_TypeDef* HT_GPIOx, u16 GPIO_PIN_nBITMAP);
400 bool GPIO_IsPortLocked(HT_GPIO_TypeDef* HT_GPIOx);
401 bool GPIO_IsPinLocked(HT_GPIO_TypeDef* HT_GPIOx, u16 GPIO_PIN_n);
[all …]
/bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/inc/
A Dht32f5xxxx_gpio.h474 void GPIO_DeInit(HT_GPIO_TypeDef* HT_GPIOx);
483 FlagStatus GPIO_ReadInBit(HT_GPIO_TypeDef* HT_GPIOx, u16 GPIO_PIN_n);
484 FlagStatus GPIO_ReadOutBit(HT_GPIO_TypeDef* HT_GPIOx, u16 GPIO_PIN_n);
485 u16 GPIO_ReadInData(HT_GPIO_TypeDef* HT_GPIOx);
486 u16 GPIO_ReadOutData(HT_GPIO_TypeDef* HT_GPIOx);
487 void GPIO_SetOutBits(HT_GPIO_TypeDef* HT_GPIOx, u16 GPIO_PIN_nBITMAP);
490 void GPIO_WriteOutData(HT_GPIO_TypeDef* HT_GPIOx, u16 Data);
491 void GPIO_PinLock(HT_GPIO_TypeDef* HT_GPIOx, u16 GPIO_PIN_nBITMAP);
492 bool GPIO_IsPortLocked(HT_GPIO_TypeDef* HT_GPIOx);
493 bool GPIO_IsPinLocked(HT_GPIO_TypeDef* HT_GPIOx, u16 GPIO_PIN_n);
[all …]
/bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/
A DRelease_Notes.txt642 + Add "GPIO_GetID()" function to convert HT_GPIOx to GPIO_Px.
/bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/
A DRelease_Notes.txt1422 + Add "GPIO_GetID()" function to convert the HT_GPIOx to GPIO_Px.

Completed in 14 milliseconds