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.
 

Functions

void board_init (void)
 Initialize board specific hardware, including clock, LEDs and std-IO.
 

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)