![]() |
Contiki-NG
|
Implementation of the GPIO HAL module for CC13xx/CC26xx. More...
#include "contiki.h"#include "dev/gpio-hal.h"#include <ti/devices/DeviceFamily.h>#include <DeviceFamily_constructPath(driverlib/gpio.h)>#include <ti/drivers/PIN.h>#include <ti/drivers/pin/PINCC26XX.h>#include <stdint.h>Go to the source code of this file.
Macros | |
| #define | GPIO_HAL_PIN_STD_INPUT |
| < PIN standard input configuration mimicking IOC_STD_INPUT | |
| #define | GPIO_HAL_PIN_STD_INPUT_BM |
| PIN standard input configuration mimicking IOC_STD_OUTPUT. | |
| #define | GPIO_HAL_PIN_STD_OUTPUT |
| PIN standard output configuration bitmask. | |
Functions | |
| void | gpio_hal_arch_init (void) |
| Perform architecture specific gpio initaliaztion. | |
| void | gpio_hal_arch_no_port_pin_set_input (gpio_hal_pin_t pin) |
| Configure a pin as GPIO input. | |
| void | gpio_hal_arch_no_port_pin_set_output (gpio_hal_pin_t pin) |
| Configure a pin as GPIO output. | |
| void | gpio_hal_arch_no_port_interrupt_enable (gpio_hal_pin_t pin) |
| Enable interrupts for a gpio pin. | |
| void | gpio_hal_arch_no_port_interrupt_disable (gpio_hal_pin_t pin) |
| Disable interrupts for a gpio pin. | |
| void | gpio_hal_arch_no_port_pin_cfg_set (gpio_hal_pin_t pin, gpio_hal_pin_cfg_t cfg) |
| Configure a gpio pin. | |
| gpio_hal_pin_cfg_t | gpio_hal_arch_no_port_pin_cfg_get (gpio_hal_pin_t pin) |
| Read the configuration of a GPIO pin. | |
| gpio_hal_pin_mask_t | gpio_hal_arch_no_port_read_pins (gpio_hal_pin_mask_t pins) |
| Read multiple pins. | |
| uint8_t | gpio_hal_arch_no_port_read_pin (gpio_hal_pin_t pin) |
| Read a GPIO pin. | |
Implementation of the GPIO HAL module for CC13xx/CC26xx.
The GPIO HAL module is implemented by using the PINCC26XX module, except for multi-dio functions which use the GPIO driverlib module.
Definition in file gpio-hal-arch.c.