All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
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.
 

Xtimer configuration

#define XTIMER_WIDTH   (16)
 
#define XTIMER_BACKOFF   (40)
 

Macro Definition Documentation

◆ __MSP430F1611__

#define __MSP430F1611__

Define the CPU model for the <msp430.h>

Definition at line 35 of file board.h.

◆ 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.

◆ CONFIG_ZTIMER_USEC_BASE_FREQ

#define CONFIG_ZTIMER_USEC_BASE_FREQ   MHZ(1)

Configure clock to 1 MHz.

Definition at line 46 of file board.h.

◆ CONFIG_ZTIMER_USEC_WIDTH

#define CONFIG_ZTIMER_USEC_WIDTH   16

running on a 16-bit timer

Definition at line 42 of file board.h.

◆ XTIMER_BACKOFF

#define XTIMER_BACKOFF   (40)

Definition at line 63 of file board.h.

◆ XTIMER_WIDTH

#define XTIMER_WIDTH   (16)

Definition at line 62 of file board.h.