board.h File Reference

Basic definitions for the Olimex MSP430-H1611 board. More...

Detailed Description

Basic definitions for the Olimex MSP430-H1611 board.

Author
Oliver Hahm olive.nosp@m.r.ha.nosp@m.hm@in.nosp@m.ria..nosp@m.fr
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file board.h.

#include "cpu.h"
+ Include dependency graph for board.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)
 

Macro Definition Documentation

◆ 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 55 of file board.h.