Basic definitions for the Olimex MSP430-H1611 board. More...
Basic definitions for the Olimex MSP430-H1611 board.
Definition in file board.h.
#include "cpu.h"
Go to the source code of this file.
#define | __MSP430F1611__ |
Define the CPU model for the <msp430.h> | |
ztimer configuration | |
#define | CONFIG_ZTIMER_USEC_WIDTH 16 |
running on a 16-bit timer | |
#define | CONFIG_ZTIMER_USEC_BASE_FREQ MHZ(1) |
Configure clock to 1 MHz. | |
#define | CONFIG_ZTIMER_PERIPH_TIMER_FORCE_CONVERSION 1 |
Force frequency conversion to be used. More... | |
Xtimer configuration | |
#define | XTIMER_WIDTH (16) |
#define | XTIMER_BACKOFF (40) |
#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.