Nut/OS  5.0.5
API Reference
gpio.h File Reference
#include <arch/avr32.h>
#include <avr32/io.h>
#include <dev/gpio.h>
Include dependency graph for gpio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gpio_map_t

Functions

int gpio_enable_module (const gpio_map_t gpiomap, unsigned int size)
void gpio_enable_module_pin (unsigned int pin, unsigned int function)

Function Documentation

int gpio_enable_module ( const gpio_map_t  gpiomap,
unsigned int  size 
)
void gpio_enable_module_pin ( unsigned int  pin,
unsigned int  function 
) [inline]

References GPIO_CFG_PERIPHERAL0, GPIO_CFG_PERIPHERAL1, GPIO_CFG_PERIPHERAL2, and GpioPinConfigSet().

Referenced by Avr32SpiBus0Select(), and Avr32SpiBus1Select().

Here is the call graph for this function: