udoo/include/board.h File Reference

Board specific definitions for the UDOO board. More...

Detailed Description

#include "cpu.h"
#include "cpu_conf.h"
+ Include dependency graph for udoo/include/board.h:

Go to the source code of this file.

Macros

LED pin definitions and handlers
#define LED0_PIN   GPIO_PIN(PB, 27)
 
#define LED_PORT   PIOB
 
#define LED0_MASK   PIO_PB27
 
#define LED0_ON   (LED_PORT->PIO_SODR = LED0_MASK)
 
#define LED0_OFF   (LED_PORT->PIO_CODR = LED0_MASK)
 
#define LED0_TOGGLE   (LED_PORT->PIO_ODSR ^= LED0_MASK)
 

Functions

void board_init (void)
 Initialize board specific hardware, including clock, LEDs and std-IO.