libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/nrf/gpio.h>
Go to the source code of this file.
Functions | |
void | gpio_set (uint32_t gpioport, uint32_t gpios) |
Atomic set output. More... | |
void | gpio_clear (uint32_t gpioport, uint32_t gpios) |
Atomic clear output. More... | |
void | gpio_toggle (uint32_t gpioport, uint32_t gpios) |
Toggle output. More... | |
uint32_t | gpio_get (uint32_t gpioport, uint32_t gpios) |
Read GPIO values. More... | |
void | gpio_mode_setup (uint32_t gpioport, uint32_t mode, uint32_t pull_up_down, uint32_t gpios) |
Set GPIO Pin Mode. More... | |
void | gpio_set_options (uint32_t gpioport, uint32_t drive, uint32_t sense, uint32_t gpios) |
Configure GPIO pin input and output specifics. More... | |
void | gpio_configure_task (uint8_t task_num, uint8_t pin_num, uint8_t polarity, uint32_t init) |
Configure Task in GPIO TE Module. More... | |
void | gpio_configure_event (uint8_t event_num, uint8_t pin_num, uint8_t polarity) |
Configure Event in GPIO TE Module. More... | |
void | gpio_enable_interrupts (uint32_t mask) |
Enable GPIO interrupts. More... | |
void | gpio_disable_interrupts (uint32_t mask) |
Disable GPIO interrupts. More... | |
void | gpio_clear_interrupts (void) |
Disable all GPIO interrupts. More... | |