Basic definitions for the TelosB board.
More...
#include "cpu.h"
Go to the source code of this file.
◆ __MSP430F1611__
Define the CPU model for the <msp430.h>
Definition at line 38 of file board.h.
◆ CC2420_PARAM_CCA
◆ CC2420_PARAM_CS
◆ CC2420_PARAM_FIFO
◆ CC2420_PARAM_FIFOP
◆ CC2420_PARAM_RESET
◆ CC2420_PARAM_SFD
◆ CC2420_PARAM_SPI_CLK
◆ CC2420_PARAM_VREFEN
◆ CONFIG_ZTIMER_PERIPH_TIMER_FORCE_CONVERSION
#define CONFIG_ZTIMER_PERIPH_TIMER_FORCE_CONVERSION 1 |
Force frequency conversion to be used.
Otherwise ztimer would assume that it can run the 1 MHz clock from the timer configured at 1 MHz without conversion. But the actual frequency the timer will run at will be detected at runtime and, due to inaccuracy of the internal oscillator, will indeed require frequency conversion.
Definition at line 67 of file board.h.
◆ CONFIG_ZTIMER_USEC_BASE_FREQ
#define CONFIG_ZTIMER_USEC_BASE_FREQ MHZ(1) |
Configure clock to 1 MHz.
Definition at line 58 of file board.h.
◆ CONFIG_ZTIMER_USEC_WIDTH
#define CONFIG_ZTIMER_USEC_WIDTH 16 |
running on a 16-bit timer
Definition at line 54 of file board.h.
◆ LED0_MASK
◆ LED0_OFF
#define LED0_OFF (LED_OUT_REG |= LED0_MASK) |
◆ LED0_ON
#define LED0_ON (LED_OUT_REG &=~LED0_MASK) |
◆ LED0_PIN
◆ LED0_TOGGLE
#define LED0_TOGGLE (LED_OUT_REG ^= LED0_MASK) |
◆ LED1_MASK
◆ LED1_OFF
#define LED1_OFF (LED_OUT_REG |= LED1_MASK) |
◆ LED1_ON
#define LED1_ON (LED_OUT_REG &=~LED1_MASK) |
◆ LED1_PIN
◆ LED1_TOGGLE
#define LED1_TOGGLE (LED_OUT_REG ^= LED1_MASK) |
◆ LED2_MASK
◆ LED2_OFF
◆ LED2_ON
◆ LED2_PIN
◆ LED2_TOGGLE
#define LED2_TOGGLE (LED_OUT_REG ^= LED2_MASK) |
◆ LED_OUT_REG
#define LED_OUT_REG P5OUT |
◆ STDIO_UART_BAUDRATE
#define STDIO_UART_BAUDRATE (9600) |
◆ XTIMER_BACKOFF
#define XTIMER_BACKOFF (40) |
◆ XTIMER_WIDTH
#define XTIMER_WIDTH (16) |