Loading...
Searching...
No Matches
NXP FRDM-KL43Z Board

Support for the NXP FRDM-KL43Z. More...

Detailed Description

Support for the NXP FRDM-KL43Z.

Files

file  adc_params.h
 Board specific configuration of direct mapped ADC.
 
file  board.h
 Board specific definitions for the FRDM-KL43Z.
 
file  gpio_params.h
 Board specific configuration of direct mapped GPIOs.
 
file  periph_conf.h
 

Macros

#define KINETIS_FOPT   (0xff & ~(NV_FOPT_BOOTSRC_SEL_MASK | NV_FOPT_BOOTPIN_OPT_MASK))
 FOPT setting.
 

LED pin definitions and handlers

#define LED0_PIN   GPIO_PIN(PORT_D, 5)
 
#define LED1_PIN   GPIO_PIN(PORT_E, 31)
 
#define LED0_MASK   (1 << 5)
 
#define LED1_MASK   (1 << 31)
 
#define LED0_ON   (GPIOD->PCOR = LED0_MASK)
 
#define LED0_OFF   (GPIOD->PSOR = LED0_MASK)
 
#define LED0_TOGGLE   (GPIOD->PTOR = LED0_MASK)
 
#define LED1_ON   (GPIOE->PCOR = LED1_MASK)
 
#define LED1_OFF   (GPIOE->PSOR = LED1_MASK)
 
#define LED1_TOGGLE   (GPIOE->PTOR = LED1_MASK)
 

xtimer configuration

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

MAG3110 3-axis magnetometer bus configuration

#define MAG3110_PARAM_I2C   I2C_DEV(0)
 
#define MAG3110_PARAM_ADDR   0x0E
 

MMA8451Q 3-axis accelerometer bus configuration

#define MMA8X5X_PARAM_I2C   I2C_DEV(0)
 
#define MMA8X5X_PARAM_ADDR   0x1D
 
#define MMA8X5X_PARAM_TYPE   (MMA8X5X_TYPE_MMA8451)
 

Macro Definition Documentation

◆ KINETIS_FOPT

#define KINETIS_FOPT   (0xff & ~(NV_FOPT_BOOTSRC_SEL_MASK | NV_FOPT_BOOTPIN_OPT_MASK))

FOPT setting.

Definition at line 36 of file board.h.

◆ LED0_MASK

#define LED0_MASK   (1 << 5)

Definition at line 47 of file board.h.

◆ LED0_OFF

#define LED0_OFF   (GPIOD->PSOR = LED0_MASK)

Definition at line 51 of file board.h.

◆ LED0_ON

#define LED0_ON   (GPIOD->PCOR = LED0_MASK)

Definition at line 50 of file board.h.

◆ LED0_PIN

#define LED0_PIN   GPIO_PIN(PORT_D, 5)

Definition at line 44 of file board.h.

◆ LED0_TOGGLE

#define LED0_TOGGLE   (GPIOD->PTOR = LED0_MASK)

Definition at line 52 of file board.h.

◆ LED1_MASK

#define LED1_MASK   (1 << 31)

Definition at line 48 of file board.h.

◆ LED1_OFF

#define LED1_OFF   (GPIOE->PSOR = LED1_MASK)

Definition at line 55 of file board.h.

◆ LED1_ON

#define LED1_ON   (GPIOE->PCOR = LED1_MASK)

Definition at line 54 of file board.h.

◆ LED1_PIN

#define LED1_PIN   GPIO_PIN(PORT_E, 31)

Definition at line 45 of file board.h.

◆ LED1_TOGGLE

#define LED1_TOGGLE   (GPIOE->PTOR = LED1_MASK)

Definition at line 56 of file board.h.

◆ MAG3110_PARAM_ADDR

#define MAG3110_PARAM_ADDR   0x0E

Definition at line 86 of file board.h.

◆ MAG3110_PARAM_I2C

#define MAG3110_PARAM_I2C   I2C_DEV(0)

Definition at line 85 of file board.h.

◆ MMA8X5X_PARAM_ADDR

#define MMA8X5X_PARAM_ADDR   0x1D

Definition at line 94 of file board.h.

◆ MMA8X5X_PARAM_I2C

#define MMA8X5X_PARAM_I2C   I2C_DEV(0)

Definition at line 93 of file board.h.

◆ MMA8X5X_PARAM_TYPE

#define MMA8X5X_PARAM_TYPE   (MMA8X5X_TYPE_MMA8451)

Definition at line 95 of file board.h.

◆ XTIMER_BACKOFF

#define XTIMER_BACKOFF   (5)

Definition at line 74 of file board.h.

◆ XTIMER_CHAN

#define XTIMER_CHAN   (0)

Definition at line 71 of file board.h.

◆ XTIMER_DEV

#define XTIMER_DEV   (TIMER_LPTMR_DEV(0))

Definition at line 70 of file board.h.

◆ XTIMER_HZ

#define XTIMER_HZ   (32768ul)

Definition at line 77 of file board.h.

◆ XTIMER_ISR_BACKOFF

#define XTIMER_ISR_BACKOFF   (5)

Definition at line 75 of file board.h.

◆ XTIMER_OVERHEAD

#define XTIMER_OVERHEAD   (4)

Definition at line 76 of file board.h.

◆ XTIMER_WIDTH

#define XTIMER_WIDTH   (16)

Definition at line 73 of file board.h.