teensy31/include/board.h¶
Board specific definitions for the Teensy3.1 & 3.2 board.
-
LPTIMER_CLKSRC
¶ Clock source for the LPTMR module.
1
LPTIMER_CLKSRC_ERCLK32K
-
DISABLE_WDOG
¶ Disable hardware watchdog, for debugging purposes, don’t use this on production builds.
1
1
-
XTIMER_DEV
¶ 1
(TIMER_PIT_DEV(0))
-
XTIMER_CHAN
¶ 1
(0)
-
XTIMER_BACKOFF
¶ 1
(40)
-
XTIMER_ISR_BACKOFF
¶ 1
(40)
-
XTIMER_OVERHEAD
¶ 1
(30)
-
LED_PORT
¶ 1
PTC
-
LED0_BIT
¶ 1
(5)
-
LED0_PIN
¶ 1
GPIO_PIN(PORT_C, LED0_BIT)
-
LED0_ON
¶ 1
(LED_PORT->PSOR = (1 << LED0_BIT))
-
LED0_OFF
¶ 1
(LED_PORT->PCOR = (1 << LED0_BIT))
-
LED0_TOGGLE
¶ 1
(LED_PORT->PTOR = (1 << LED0_BIT))
-
void
board_init
(void)¶ Initialize board specific hardware, including clock, LEDs and std-IO.