limifrog-v1/include/board.h File Reference

Board specific definitions for the limifrog-v1 board. More...

Detailed Description

Board specific definitions for the limifrog-v1 board.

Author
Katja Kirstein katja.nosp@m..kir.nosp@m.stein.nosp@m.@haw.nosp@m.-hamb.nosp@m.urg..nosp@m.de

Definition in file limifrog-v1/include/board.h.

#include <stdint.h>
#include "cpu.h"
#include "periph_conf.h"
+ Include dependency graph for limifrog-v1/include/board.h:

Go to the source code of this file.

Macros

LED pin definitions and handlers
#define LED0_PIN   GPIO_PIN(PORT_C, 3)
 
#define LED0_PORT   (GPIOC)
 
#define LED0_MASK   (1 << 3)
 
#define LED0_ON   (LED0_PORT->BSRR = LED0_MASK)
 
#define LED0_OFF   (LED0_PORT->BSRR = (LED0_MASK << 16))
 
#define LED0_TOGGLE   (LED0_PORT->ODR ^= LED0_MASK)
 
xtimer configuration
#define XTIMER_WIDTH   (16U)
 

Functions

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