Contiki 3.x
Files | Functions
CC13xx/CC26xx GPIO interrupt handling

The CC13xx/CC26xx GPIO interrupt handler and an API which can be used by other parts of the code when they wish to be notified of a GPIO interrupt. More...

Files

file  gpio-interrupt.c
 Implementation of CC13xx/CC26xx GPIO interrupt handling.
 
file  gpio-interrupt.h
 Header file for the CC13xx/CC26xx GPIO interrupt management.
 

Functions

void gpio_interrupt_register_handler (uint8_t ioid, gpio_interrupt_handler_t f)
 Register a GPIO interrupt handler. More...
 
void gpio_interrupt_init (void)
 Initialise the GPIO interrupt handling module.
 

Detailed Description

The CC13xx/CC26xx GPIO interrupt handler and an API which can be used by other parts of the code when they wish to be notified of a GPIO interrupt.

Function Documentation

void gpio_interrupt_register_handler ( uint8_t  ioid,
gpio_interrupt_handler_t  f 
)

Register a GPIO interrupt handler.

Parameters
fPointer to a handler to be called when an interrupt is raised on ioid
ioidAssociate f with this ioid. ioid must be specified with its numeric representation (0, 1, .. 31). Defines for these numeric representations are IOID_x

Definition at line 53 of file gpio-interrupt.c.

Referenced by config_buttons(), and configure().