|
STM32H735xx HAL User Manual
|
GPIO Read, Write, Toggle, Lock and EXTI management functions. More...
Functions | |
| GPIO_PinState | HAL_GPIO_ReadPin (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) |
| Reads the specified input port pin. | |
| void | HAL_GPIO_WritePin (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState) |
| Sets or clears the selected data port bit. | |
| void | HAL_GPIO_TogglePin (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) |
| Toggles the specified GPIO pins. | |
| HAL_StatusTypeDef | HAL_GPIO_LockPin (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) |
| Locks GPIO Pins configuration registers. | |
| void | HAL_GPIO_EXTI_IRQHandler (uint16_t GPIO_Pin) |
| Handle EXTI interrupt request. | |
| __weak void | HAL_GPIO_EXTI_Callback (uint16_t GPIO_Pin) |
| EXTI line detection callback. | |
GPIO Read, Write, Toggle, Lock and EXTI management functions.
===============================================================================
##### IO operation functions #####
===============================================================================
| void HAL_GPIO_EXTI_Callback | ( | uint16_t | GPIO_Pin | ) |
EXTI line detection callback.
| GPIO_Pin,: | Specifies the port pin connected to corresponding EXTI line. |
| None |
Definition at line 528 of file stm32h7xx_hal_gpio.c.
Referenced by HAL_GPIO_EXTI_IRQHandler().
| void HAL_GPIO_EXTI_IRQHandler | ( | uint16_t | GPIO_Pin | ) |
Handle EXTI interrupt request.
| GPIO_Pin,: | Specifies the port pin connected to corresponding EXTI line. |
| None |
Definition at line 505 of file stm32h7xx_hal_gpio.c.
References __HAL_GPIO_EXTI_CLEAR_IT, __HAL_GPIO_EXTI_GET_IT, and HAL_GPIO_EXTI_Callback().
| HAL_StatusTypeDef HAL_GPIO_LockPin | ( | GPIO_TypeDef * | GPIOx, |
| uint16_t | GPIO_Pin | ||
| ) |
Locks GPIO Pins configuration registers.
| GPIOx,: | where x can be (A..K) to select the GPIO peripheral for STM32H7 family |
| GPIO_Pin,: | specifies the port bit to be locked. This parameter can be any combination of GPIO_PIN_x where x can be (0..15). |
| None |
Definition at line 470 of file stm32h7xx_hal_gpio.c.
References assert_param, and IS_GPIO_PIN.
| GPIO_PinState HAL_GPIO_ReadPin | ( | GPIO_TypeDef * | GPIOx, |
| uint16_t | GPIO_Pin | ||
| ) |
Reads the specified input port pin.
| GPIOx,: | where x can be (A..K) to select the GPIO peripheral. |
| GPIO_Pin,: | specifies the port bit to read. This parameter can be GPIO_PIN_x where x can be (0..15). |
| The | input port pin value. |
Definition at line 389 of file stm32h7xx_hal_gpio.c.
References assert_param, GPIO_PIN_RESET, GPIO_PIN_SET, and IS_GPIO_PIN.
| void HAL_GPIO_TogglePin | ( | GPIO_TypeDef * | GPIOx, |
| uint16_t | GPIO_Pin | ||
| ) |
Toggles the specified GPIO pins.
| GPIOx,: | Where x can be (A..K) to select the GPIO peripheral. |
| GPIO_Pin,: | Specifies the pins to be toggled. |
| None |
Definition at line 445 of file stm32h7xx_hal_gpio.c.
References assert_param, GPIO_NUMBER, and IS_GPIO_PIN.
| void HAL_GPIO_WritePin | ( | GPIO_TypeDef * | GPIOx, |
| uint16_t | GPIO_Pin, | ||
| GPIO_PinState | PinState | ||
| ) |
Sets or clears the selected data port bit.
| GPIOx,: | where x can be (A..K) to select the GPIO peripheral. |
| GPIO_Pin,: | specifies the port bit to be written. This parameter can be one of GPIO_PIN_x where x can be (0..15). |
| PinState,: | specifies the value to be written to the selected bit. This parameter can be one of the GPIO_PinState enum values:
|
| None |
Definition at line 423 of file stm32h7xx_hal_gpio.c.
References assert_param, GPIO_NUMBER, GPIO_PIN_RESET, IS_GPIO_PIN, and IS_GPIO_PIN_ACTION.
1.7.6.1