Loading...
Searching...
No Matches
board.h File Reference

Board specific definitions for openlabs-kw41z-mini. More...

Detailed Description

Board specific definitions for openlabs-kw41z-mini.

Author
Joakim NohlgÄrd joaki.nosp@m.m.no.nosp@m.hlgar.nosp@m.d@ei.nosp@m.stec..nosp@m.se
Thomas Stilwell stilw.nosp@m.ellt.nosp@m.@open.nosp@m.labs.nosp@m..co

Definition in file board.h.

#include "cpu.h"
#include "periph_conf.h"
+ Include dependency graph for board.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PTB3_OUTPUT_OSC32K   (0)
 Enable LF oscillator output on PTB3 to aid debugging or calibration.
 
#define PTB3_OUTPUT_OSCERCLK   (0)
 Enable HF oscillator output on PTB3 to aid debugging or calibration.
 
#define KINETIS_FOPT   0xFB /* disable NMI (0xFF to enable) */
 

LED pin definitions and handlers

#define LED0_PIN   GPIO_PIN(PORT_B, 0)
 
#define LED0_MASK   (1 << 0)
 
#define LED0_ON   (GPIOB->PCOR = LED0_MASK)
 
#define LED0_OFF   (GPIOB->PSOR = LED0_MASK)
 
#define LED0_TOGGLE   (GPIOB->PTOR = LED0_MASK)
 

xtimer configuration

#define XTIMER_DEV   (TIMER_LPTMR_DEV(0))
 
#define XTIMER_CHAN   (0)
 
#define XTIMER_WIDTH   (16)
 
#define XTIMER_BACKOFF   (16)
 
#define XTIMER_ISR_BACKOFF   (5)
 
#define XTIMER_HZ   (32768ul)
 

Macro Definition Documentation

◆ KINETIS_FOPT

#define KINETIS_FOPT   0xFB /* disable NMI (0xFF to enable) */

Definition at line 36 of file board.h.

◆ LED0_MASK

#define LED0_MASK   (1 << 0)

Definition at line 43 of file board.h.

◆ LED0_OFF

#define LED0_OFF   (GPIOB->PSOR = LED0_MASK)

Definition at line 45 of file board.h.

◆ LED0_ON

#define LED0_ON   (GPIOB->PCOR = LED0_MASK)

Definition at line 44 of file board.h.

◆ LED0_PIN

#define LED0_PIN   GPIO_PIN(PORT_B, 0)

Definition at line 42 of file board.h.

◆ LED0_TOGGLE

#define LED0_TOGGLE   (GPIOB->PTOR = LED0_MASK)

Definition at line 46 of file board.h.

◆ PTB3_OUTPUT_OSC32K

#define PTB3_OUTPUT_OSC32K   (0)

Enable LF oscillator output on PTB3 to aid debugging or calibration.

Definition at line 76 of file board.h.

◆ PTB3_OUTPUT_OSCERCLK

#define PTB3_OUTPUT_OSCERCLK   (0)

Enable HF oscillator output on PTB3 to aid debugging or calibration.

Definition at line 85 of file board.h.

◆ XTIMER_BACKOFF

#define XTIMER_BACKOFF   (16)

Definition at line 64 of file board.h.

◆ XTIMER_CHAN

#define XTIMER_CHAN   (0)

Definition at line 61 of file board.h.

◆ XTIMER_DEV

#define XTIMER_DEV   (TIMER_LPTMR_DEV(0))

Definition at line 60 of file board.h.

◆ XTIMER_HZ

#define XTIMER_HZ   (32768ul)

Definition at line 66 of file board.h.

◆ XTIMER_ISR_BACKOFF

#define XTIMER_ISR_BACKOFF   (5)

Definition at line 65 of file board.h.

◆ XTIMER_WIDTH

#define XTIMER_WIDTH   (16)

Definition at line 63 of file board.h.