Contiki-NG
Functions

Implementation file for the nRF52840 GPIO HAL functions. More...

#include "contiki.h"
#include "dev/gpio-hal.h"
#include "nrfx_gpiote.h"
#include "nrf_gpio.h"
#include <stdint.h>
#include <string.h>

Go to the source code of this file.

Functions

void gpio_hal_arch_init (void)
 Perform architecture specific gpio initaliaztion. More...
 
void gpio_hal_arch_port_pin_cfg_set (gpio_hal_port_t port, gpio_hal_pin_t pin, gpio_hal_pin_cfg_t cfg)
 Configure a gpio pin. More...
 
gpio_hal_pin_cfg_t gpio_hal_arch_port_pin_cfg_get (gpio_hal_port_t port, gpio_hal_pin_t pin)
 Read the configuration of a GPIO pin. More...
 
uint8_t gpio_hal_arch_port_read_pin (gpio_hal_port_t port, gpio_hal_pin_t pin)
 Read a GPIO pin. More...
 
void gpio_hal_arch_port_set_pins (gpio_hal_port_t port, gpio_hal_pin_mask_t pins)
 Set multiple pins to logical high. More...
 
void gpio_hal_arch_port_clear_pins (gpio_hal_port_t port, gpio_hal_pin_mask_t pins)
 Clear multiple pins to logical low. More...
 
void gpio_hal_arch_port_toggle_pins (gpio_hal_port_t port, gpio_hal_pin_mask_t pins)
 Toggle multiple pins. More...
 
gpio_hal_pin_mask_t gpio_hal_arch_port_read_pins (gpio_hal_port_t port, gpio_hal_pin_mask_t pins)
 Read multiple pins. More...
 
void gpio_hal_arch_port_write_pins (gpio_hal_port_t port, gpio_hal_pin_mask_t pins, gpio_hal_pin_mask_t value)
 Write multiple pins. More...
 

Detailed Description

Implementation file for the nRF52840 GPIO HAL functions.

Definition in file gpio-hal-arch.c.