Functions | |
| GPIO_PinState | HAL_GPIO_ReadPin (GPIO_TypeDef *hgpio, uint16_t GPIO_Pin) |
| Read the specified input port pin. More... | |
| void | HAL_GPIO_WritePin (GPIO_TypeDef *hgpio, uint16_t GPIO_Pin, GPIO_PinState PinState) |
| Set or clear the selected data port bit. More... | |
| void | HAL_GPIO_TogglePin (GPIO_TypeDef *hgpio, uint16_t GPIO_Pin) |
| Toggle the specified GPIO pin. More... | |
| void | HAL_GPIO_EXTI_IRQHandler (GPIO_TypeDef *hgpio, uint16_t GPIO_Pin) |
| Handle EXTI interrupt request. More... | |
| void | HAL_GPIO_EXTI_Callback (GPIO_TypeDef *hgpio, uint16_t GPIO_Pin) |
| EXTI line detection callback. More... | |
| uint32_t | HAL_GPIO_GetMode (GPIO_TypeDef *hgpio, uint16_t GPIO_Pin) |
| Get the GPIO mode. More... | |
| void | HAL_GPIO_IRQHandler (GPIO_TypeDef *hgpio) |
| Handle all GPIO interrupt request which belong current group. More... | |
| HAL_StatusTypeDef | HAL_GPIO_Save (GPIO_TypeDef *hgpio, GPIOxRestore_TypeDef *p_buf, uint32_t buf_cnt) |
| Save gpio instance's all configuration to buffer. More... | |
| HAL_StatusTypeDef | HAL_GPIO_Restore (GPIO_TypeDef *hgpio, GPIOxRestore_TypeDef *p_buf, uint32_t buf_cnt) |
| Restore gpio instance's all configuration from buffer. More... | |
| HAL_StatusTypeDef | HAL_GPIO_ClearInterrupt (GPIO_TypeDef *hgpio) |
| Clear all interrupt. More... | |
| HAL_StatusTypeDef | HAL_GPIO_ClearPinInterrupt (GPIO_TypeDef *hgpio, uint16_t GPIO_Pin) |
| Clear specified pin interrupt. More... | |
| HAL_StatusTypeDef HAL_GPIO_ClearInterrupt | ( | GPIO_TypeDef * | hgpio | ) |
Clear all interrupt.
| hgpio | GPIO handle |
| HAL_StatusTypeDef HAL_GPIO_ClearPinInterrupt | ( | GPIO_TypeDef * | hgpio, |
| uint16_t | GPIO_Pin | ||
| ) |
Clear specified pin interrupt.
| hgpio | GPIO handle |
| GPIO_Pin | specifies the pin index to be clear, starting from 0. |
| void HAL_GPIO_EXTI_Callback | ( | GPIO_TypeDef * | hgpio, |
| uint16_t | GPIO_Pin | ||
| ) |
EXTI line detection callback.
| hgpio | GPIO handle |
| GPIO_Pin | Specifies the port pin connected to corresponding EXTI line, starting from 0. |
| None |
| void HAL_GPIO_EXTI_IRQHandler | ( | GPIO_TypeDef * | hgpio, |
| uint16_t | GPIO_Pin | ||
| ) |
Handle EXTI interrupt request.
| hgpio | GPIO handle |
| GPIO_Pin | Specifies the port pin connected to corresponding EXTI line, starting from 0. |
| None |
| uint32_t HAL_GPIO_GetMode | ( | GPIO_TypeDef * | hgpio, |
| uint16_t | GPIO_Pin | ||
| ) |
Get the GPIO mode.
| hgpio | GPIO handle |
| GPIO_Pin | Specifies the port pin connected to corresponding EXTI line, starting from 0. |
| mode | in GPIO mode, return UINT32_MAX if invalid |
| void HAL_GPIO_IRQHandler | ( | GPIO_TypeDef * | hgpio | ) |
Handle all GPIO interrupt request which belong current group.
| hgpio | GPIO handle |
| None |
| GPIO_PinState HAL_GPIO_ReadPin | ( | GPIO_TypeDef * | hgpio, |
| uint16_t | GPIO_Pin | ||
| ) |
Read the specified input port pin.
| hgpio | GPIO handle |
| GPIO_Pin | specifies the pin index to be read, starting from 0. |
| The | input port pin value. |
| HAL_StatusTypeDef HAL_GPIO_Restore | ( | GPIO_TypeDef * | hgpio, |
| GPIOxRestore_TypeDef * | p_buf, | ||
| uint32_t | buf_cnt | ||
| ) |
Restore gpio instance's all configuration from buffer.
| hgpio | - GPIO handle |
| p_buf | - Buffer for restore GPIO configuration |
| buf_cnt | - Buffer numbers |
| HAL_StatusTypeDef HAL_GPIO_Save | ( | GPIO_TypeDef * | hgpio, |
| GPIOxRestore_TypeDef * | p_buf, | ||
| uint32_t | buf_cnt | ||
| ) |
Save gpio instance's all configuration to buffer.
| hgpio | - GPIO handle |
| p_buf | - Buffer for saving GPIO configuration |
| buf_cnt | - Buffer numbers |
| void HAL_GPIO_TogglePin | ( | GPIO_TypeDef * | hgpio, |
| uint16_t | GPIO_Pin | ||
| ) |
Toggle the specified GPIO pin.
| hgpio | GPIO handle |
| GPIO_Pin | specifies the pin index to be toggoled, starting from 0. |
| None |
| void HAL_GPIO_WritePin | ( | GPIO_TypeDef * | hgpio, |
| uint16_t | GPIO_Pin, | ||
| GPIO_PinState | PinState | ||
| ) |
Set or clear the selected data port bit.
| hgpio | GPIO handle |
| GPIO_Pin | specifies the pin index to be written, starting from 0. |
| PinState | specifies the value to be written to the selected bit. This parameter can be one of the GPIO_PinState enum values:
|
| None |