Board specific definitions for the Teensy3.1 & 3.2 board. More...
Board specific definitions for the Teensy3.1 & 3.2 board.
Definition in file 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. | |
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)) |