board.h File Reference

Board specific definitions for the Teensy3.1 & 3.2 board. More...

Detailed Description

Board specific definitions for the Teensy3.1 & 3.2 board.

Author
Loïc Dauphin loic..nosp@m.daup.nosp@m.hin@i.nosp@m.nria.nosp@m..fr

Definition in file board.h.

#include "cpu.h"
#include "periph_conf.h"
#include "mtd.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.
 
#define LPTIMER_CLKSRC   LPTIMER_CLKSRC_ERCLK32K
 Clock source for the LPTMR module.
 
#define DISABLE_WDOG   1
 Disable hardware watchdog, for debugging purposes, don't use this on production builds. More...
 

xtimer configuration

#define XTIMER_DEV   (TIMER_PIT_DEV(0))
 
#define XTIMER_CHAN   (0)
 
#define XTIMER_BACKOFF   (40)
 
#define XTIMER_ISR_BACKOFF   (40)
 

LED pin definitions and handlers

#define LED_PORT   PTC
 
#define LED0_BIT   (5)
 
#define LED0_PIN   GPIO_PIN(PORT_C, LED0_BIT)
 
#define LED0_ON   (LED_PORT->PSOR = (1 << LED0_BIT))
 
#define LED0_OFF   (LED_PORT->PCOR = (1 << LED0_BIT))
 
#define LED0_TOGGLE   (LED_PORT->PTOR = (1 << LED0_BIT))
 

Macro Definition Documentation

◆ DISABLE_WDOG

#define DISABLE_WDOG   1

Disable hardware watchdog, for debugging purposes, don't use this on production builds.

Definition at line 36 of file board.h.