void gpio_int_clear(uint16_t gpios)
Clear the specified pin interrupts.
void gpio_int_type(uint16_t gpios, enum gpio_trig_type type)
Sets whether the pins are edge triggered or level triggered.
uint16_t gpio_get(uint16_t gpios)
Read a Group of Pins.
void gpio_int_mask(uint16_t gpios, enum gpio_int_masked masked)
Sets bits in the interrupt mask.
void gpio_output(uint16_t gpios)
Set the direction of a Group of Pins to Output.
void gpio_int_enable(uint16_t gpios, bool en)
Sets the pins as external interrupts, rather than normal GPIO.
void gpio_set(uint16_t gpios)
Set a Group of Pins.
void gpio_int_pol(uint16_t gpios, enum gpio_pol pol)
Sets the interrupt trigger polarity.
uint16_t gpio_int_status(void)
Gets the masked interrupt status.
void gpio_input(uint16_t gpios)
Set the direction of a Group of Pins to Input.
void gpio_clear(uint16_t gpios)
Clear a Group of Pins.
void gpio_toggle(uint16_t gpios)
Toggle a Group of Pins.
uint16_t gpio_int_raw_status(void)
Gets the raw unmasked interrupt status.
#define GPIO_INTEOI_A
Interrupt clear register.
#define GPIO_RAWINTSTAT_A
Interrupt status before masking.
#define GPIO_ADATA
Data register.
#define GPIO_INTSTAT_A
Interrupt status after masking.
#define GPIO_ADIR
Direction register.
#define GPIO_INTMASK_A
Interrupt mask register.
#define GPIO_AEXT
External register (wat)
#define GPIO_INTPOLARITY_A
Interrupt polarity register.
#define GPIO_INTLEVEL_A
Interrupt trigger mode register.
#define GPIO_INTEN_A
Interrupt enable register.