#include "gpio/gpio.h"Go to the source code of this file.
GPIO driver implementation.
Implements the functions defined in gpio.h for controlling GPIO input/output and interrupts on the EfxSapphireSoC platform.\
Definition in file gpio.c.
Functions | |
| void | gpio_setOutput (gpio_instance_t *inst, u32 value) |
| Set GPIO Output Value. | |
| void | gpio_setOutputEnable (gpio_instance_t *inst, u32 value) |
| Set GPIO Output Enable (Direction). | |
| void | gpio_setInterruptRiseEnable (gpio_instance_t *inst, u32 value) |
| Set Rising Edge Interrupt Enable. | |
| void | gpio_setInterruptFallEnable (gpio_instance_t *inst, u32 value) |
| Set Falling Edge Interrupt Enable. | |
| void | gpio_setInterruptHighEnable (gpio_instance_t *inst, u32 value) |
| Set High Level Interrupt Enable. | |
| void | gpio_setInterruptLowEnable (gpio_instance_t *inst, u32 value) |
| Set Low Level Interrupt Enable. | |
| u32 | gpio_getInput (gpio_instance_t *inst) |
| Read GPIO Input Register. | |
| u32 | gpio_getOutput (gpio_instance_t *inst) |
| Get stored GPIO Output Value. | |
| u32 | gpio_getOutputEnable (gpio_instance_t *inst) |
| Get stored GPIO Output Enable Mask. | |
| u32 | gpio_getInterruptRiseEnable (gpio_instance_t *inst) |
| Get Rising Edge Interrupt Mask. | |
| u32 | gpio_getInterruptFallEnable (gpio_instance_t *inst) |
| Get Falling Edge Interrupt Mask. | |
| u32 | gpio_getInterruptHighEnable (gpio_instance_t *inst) |
| Get High Level Interrupt Mask. | |
| u32 | gpio_getInterruptLowEnable (gpio_instance_t *inst) |
| Get Low Level Interrupt Mask. | |
| void | gpio_applyConfig (gpio_instance_t *inst) |
| Apply stored GPIO configuration to hardware. | |