nRF51 SDK - S120 SoftDevice
|
GPIO pin abstraction and port abstraction for reading and writing byte-wise to GPIO ports. More...
Enumerations | |
enum | nrf_gpio_port_dir_t { NRF_GPIO_PORT_DIR_OUTPUT, NRF_GPIO_PORT_DIR_INPUT } |
Enumerator used for setting the direction of a GPIO port. More... | |
enum | nrf_gpio_pin_dir_t { NRF_GPIO_PIN_DIR_INPUT, NRF_GPIO_PIN_DIR_OUTPUT } |
enum | nrf_gpio_port_select_t { NRF_GPIO_PORT_SELECT_PORT0 = 0, NRF_GPIO_PORT_SELECT_PORT1, NRF_GPIO_PORT_SELECT_PORT2, NRF_GPIO_PORT_SELECT_PORT3 } |
Enumerator used for selecting between port 0 - 3. More... | |
enum | nrf_gpio_pin_pull_t { NRF_GPIO_PIN_NOPULL = (0x00UL), NRF_GPIO_PIN_PULLDOWN = (0x01UL), NRF_GPIO_PIN_PULLUP = (0x03UL) } |
Enumerator used for selecting the pin to be pulled down or up at the time of pin configuration. More... | |
enum | nrf_gpio_pin_sense_t { NRF_GPIO_PIN_NOSENSE = (0x00UL), NRF_GPIO_PIN_SENSE_LOW = (0x03UL), NRF_GPIO_PIN_SENSE_HIGH = (0x02UL) } |
Enumerator used for selecting the pin to sense high or low level on the pin input. More... | |
GPIO pin abstraction and port abstraction for reading and writing byte-wise to GPIO ports.
Here, the GPIO ports are defined as follows:
enum nrf_gpio_pin_dir_t |
enum nrf_gpio_pin_pull_t |
enum nrf_gpio_pin_sense_t |
enum nrf_gpio_port_dir_t |