Contiki 3.x
Functions
gpio.c File Reference

Implementation of the cc2538 GPIO controller. More...

#include "contiki.h"
#include "sys/energest.h"
#include "dev/leds.h"
#include "dev/gpio.h"
#include "dev/nvic.h"
#include "reg.h"
#include "lpm.h"
#include <string.h>

Go to the source code of this file.

Functions

void gpio_register_callback (gpio_callback_t f, uint8_t port, uint8_t pin)
 Register GPIO callback. More...
 
void notify (uint8_t mask, uint8_t port)
 Run through all registered GPIO callbacks and invoke those associated with the port and the pins specified by mask. More...
 
void gpio_port_a_isr ()
 Interrupt service routine for Port A.
 
void gpio_port_b_isr ()
 Interrupt service routine for Port B.
 
void gpio_port_c_isr ()
 Interrupt service routine for Port C.
 
void gpio_port_d_isr ()
 Interrupt service routine for Port D.
 
void gpio_init ()
 Initialise the GPIO module.
 

Detailed Description

Implementation of the cc2538 GPIO controller.

Definition in file gpio.c.