#include "gpio.h"
Functions | |
Peripheral Bus Interface | |
uint32_t | gpio_enable_module (const gpio_map_t gpiomap, uint32_t size) |
Enables specific module modes for a set of pins. More... | |
uint32_t | gpio_enable_module_pin (uint32_t pin, uint32_t function) |
Enables a specific module mode for a pin. More... | |
void | gpio_enable_gpio (const gpio_map_t gpiomap, uint32_t size) |
Enables the GPIO mode of a set of pins. More... | |
void | gpio_enable_gpio_pin (uint32_t pin) |
Enables the GPIO mode of a pin. More... | |
void | gpio_enable_pin_pull_up (uint32_t pin) |
Enables the pull-up resistor of a pin. More... | |
void | gpio_disable_pin_pull_up (uint32_t pin) |
Disables the pull-up resistor of a pin. More... | |
void | gpio_configure_pin (uint32_t pin, uint32_t flags) |
Configuration functionality on a pin. More... | |
void | gpio_configure_group (uint32_t port, uint32_t mask, uint32_t flags) |
Configuration functionality on a port. More... | |
bool | gpio_get_pin_value (uint32_t pin) |
Returns the value of a pin. More... | |
bool | gpio_get_gpio_pin_output_value (uint32_t pin) |
Returns the output value set for a GPIO pin. More... | |
bool | gpio_get_gpio_open_drain_pin_output_value (uint32_t pin) |
Returns the output value set for a GPIO pin using open drain. More... | |
void | gpio_set_gpio_pin (uint32_t pin) |
Drives a GPIO pin to 1. More... | |
void | gpio_set_pin_high (uint32_t pin) |
Drives a GPIO pin to 1. More... | |
void | gpio_set_group_high (uint32_t port, uint32_t mask) |
Drives a GPIO port to 1. More... | |
void | gpio_set_pin_low (uint32_t pin) |
Drives a GPIO pin to 0. More... | |
void | gpio_clr_gpio_pin (uint32_t pin) |
Drives a GPIO pin to 0. More... | |
void | gpio_set_group_low (uint32_t port, uint32_t mask) |
Drives a GPIO port to 0. More... | |
void | gpio_tgl_gpio_pin (uint32_t pin) |
Toggles a GPIO pin. More... | |
void | gpio_toggle_pin (uint32_t pin) |
Toggles a GPIO pin. More... | |
void | gpio_toggle_group (uint32_t port, uint32_t mask) |
Toggles a GPIO group. More... | |
void | gpio_set_gpio_open_drain_pin (uint32_t pin) |
Drives a GPIO pin to 1 using open drain. More... | |
void | gpio_clr_gpio_open_drain_pin (uint32_t pin) |
Drives a GPIO pin to 0 using open drain. More... | |
void | gpio_tgl_gpio_open_drain_pin (uint32_t pin) |
Toggles a GPIO pin using open drain. More... | |
void | gpio_enable_pin_glitch_filter (uint32_t pin) |
Enables the glitch filter of a pin. More... | |
void | gpio_disable_pin_glitch_filter (uint32_t pin) |
Disables the glitch filter of a pin. More... | |
static uint32_t | gpio_configure_edge_detector (uint32_t pin, uint32_t mode) |
Configure the edge detector of an input pin. More... | |
uint32_t | gpio_enable_pin_interrupt (uint32_t pin, uint32_t mode) |
Enables the interrupt of a pin with the specified settings. More... | |
void | gpio_disable_pin_interrupt (uint32_t pin) |
Disables the interrupt of a pin. More... | |
bool | gpio_get_pin_interrupt_flag (uint32_t pin) |
Gets the interrupt flag of a pin. More... | |
void | gpio_clear_pin_interrupt_flag (uint32_t pin) |
Clears the interrupt flag of a pin. More... | |