![]() |
EVE 1.0
|
Driver for port initialisazion and IO functions for nRF52 uC. More...
#include <stdbool.h>#include <hal/nrf_gpio.h>#include <hal/nrf_gpiote.h>#include <dev/eve-module.h>

Go to the source code of this file.
Macros | |
| #define | GPIO_PIN_NC (32UL) |
Enumerations |
Functions | |
| static uint32_t | GpioUnpackPin (uint32_t Pin) |
| Name: GpioUnpackPin Converts packed pin number to the format, accepted by hardware blocks. More... | |
Functions called from application programs | |
| void | GpioInit (void) |
| Name: GpioInit Initializes ports to default values based on port-init.h. | |
| static void | GpioPinConfig (unsigned Pin, enum gpio_mode_t Mode) |
| Name: GpioPinConfig Configures a GPIO pin to the desired mode, sets value for the pin. More... | |
| static bool | GpioPinGet (unsigned Pin) |
| Name: GpioPinGet Reads the pad value for a single pin in a GPIO port. More... | |
| static void | GpioPinClear (unsigned Pin) |
| Name: GpioPinClear Sets the pad value for a single pin in a GPIO port to 0. More... | |
| static void | GpioPinSet (unsigned Pin) |
| Name: GpioPinSet Sets the pad value for a single pin in a GPIO port to 1. More... | |
| static void | GpioPinToggle (unsigned Pin) |
| Name: GpioPinToggle Toggles a single pin in a GPIO port. More... | |
| static void | GpioPinSetValue (unsigned Pin, bool Value) |
| Name: GpioPinSetValue Sets the pad value for a single pin in a GPIO port to the value provided. More... | |
| static uint32_t | GpioPortGet (void) |
| Name: GpioPortGet Reads the pad values for all the pins in a GPIO port. More... | |
| static void | GpioPortClear (uint32_t Mask) |
| Name: GpioPortClear Sets the pad values for pins specified by a mask to 0. More... | |
| static void | GpioPortSet (uint32_t Mask) |
| Name: GpioPortSet Sets the pad values for pins specified by a mask to 1. More... | |
| static void | GpioPortToggle (uint32_t Mask) |
| Name: GpioPortToggle Toggles pins specified by a mask in a GPIO port. More... | |
| static void | GpioPortSetValue (uint32_t Value, uint32_t Mask) |
| Name: GpioPortSetValue Sets the pad value for a single pin in a GPIO port to the value provided. More... | |
| uint32_t | GpioGetDebouncedInput (uint32_t BitMask, uint32_t BitInvert, uint8_t Count, uint8_t ShiftRightCount) |
| Name: GpioGetDebouncedInput Reads and debounces input pins. More... | |
Driver for port initialisazion and IO functions for nRF52 uC.
Definition in file gpio.h.