limifrog-v1/include/board.h File Reference

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

Detailed Description

#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)
 

Functions

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