AON_GPIO Read, Write, Toggle, Lock and EXTI management functions.
More...
AON_GPIO Read, Write, Toggle, Lock and EXTI management functions.
◆ hal_aon_gpio_read_pin()
Read the specified input port pin.
- Parameters
-
[in] | aon_gpio_pin | Specifies the port bit to be read. This parameter can be one of the following values:
|
- Returns
- The input port pin value.
◆ hal_aon_gpio_toggle_pin()
void hal_aon_gpio_toggle_pin |
( |
uint16_t |
aon_gpio_pin | ) |
|
Toggle the specified AON_GPIO pin.
- Parameters
-
[in] | aon_gpio_pin | Specifies the pin to be toggled. This parameter can be a combination of the following values:
|
◆ hal_aon_gpio_write_pin()
Set or clear the selected data port bit.
- Parameters
-
[in] | aon_gpio_pin | Specifies the port bit to be written. This parameter can be a combination of the following values:
|
[in] | pin_state | Specifies the value to be written to the selected bit. This parameter can be one of the AON_GPIO_PinState enum values:
- AON_GPIO_PIN_RESET: to clear the port pin
- AON_GPIO_PIN_SET: to set the port pin
|