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 board.h.

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

Go to the source code of this file.

Functions

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

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)
 

Define the interface to the LIS3MDL 3-axis magnetometer

#define LIS3MDL_PARAM_I2C   (I2C_DEV(1))
 
#define LIS3MDL_PARAM_ADDR   (0x28)