#include "periph_cpu.h"
Go to the source code of this file.
◆ ADC_NUMOF
◆ ADC_REF_SETTING
#define ADC_REF_SETTING 1 |
◆ ADC_REF_VOLTAGE
#define ADC_REF_VOLTAGE (1.2f) |
◆ ADC_TEMPERATURE_CHANNEL
#define ADC_TEMPERATURE_CHANNEL (4) |
◆ CLOCK_BUSCLOCK
◆ CLOCK_CORECLOCK
#define CLOCK_CORECLOCK (48000000ul) |
◆ CLOCK_MCGFLLCLK
◆ CLOCK_MCGIRCLK
#define CLOCK_MCGIRCLK (4000000ul) |
◆ CLOCK_OSCERCLK
#define CLOCK_OSCERCLK (CLOCK_RADIOXTAL) |
◆ CLOCK_RADIOXTAL
#define CLOCK_RADIOXTAL (32000000ul) |
◆ DAC_NUMOF
◆ HAVE_PWM_MODE_T
◆ I2C_0_ISR
◆ I2C_NUMOF
◆ KINETIS_TRNG
#define KINETIS_TRNG TRNG |
◆ LPTMR_CONFIG
Value: { \
{ \
.dev = LPTMR0, \
.base_freq = 32768u, \
.src = 2, \
.irqn = LPTMR0_IRQn, \
}, \
}
Definition at line 97 of file periph_conf.h.
◆ LPTMR_ISR_0
◆ LPTMR_NUMOF
◆ LPUART_0_ISR
◆ LPUART_0_SRC
◆ PIT_BASECLOCK
◆ PIT_CONFIG
Value: { \
{ \
.prescaler_ch = 0, \
.count_ch = 1, \
}, \
}
Definition at line 90 of file periph_conf.h.
◆ PIT_NUMOF
◆ PWM_CHAN_MAX
#define PWM_CHAN_MAX (4U) |
◆ PWM_NUMOF
◆ SPI_NUMOF
◆ TIMER_NUMOF
#define TIMER_NUMOF ((PIT_NUMOF) + (LPTMR_NUMOF)) |
◆ UART_NUMOF
◆ pwm_mode_t
Enumerator |
---|
PWM_LEFT | left aligned
|
PWM_RIGHT | right aligned
|
PWM_CENTER | center aligned
|
Definition at line 220 of file periph_conf.h.
◆ adc_config
Initial value:= {
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
#define ADC_AVG_NONE
Disable hardware averaging.
#define ADC_AVG_MAX
Maximum hardware averaging (32 samples)
Definition at line 158 of file periph_conf.h.
◆ clock_config
const clock_config_t clock_config |
|
static |
◆ dac_config
Initial value:= {
{
.dev = DAC0,
.scgc_addr = &SIM->SCGC6,
.scgc_bit = SIM_SCGC6_DAC0_SHIFT,
},
}
Definition at line 203 of file periph_conf.h.
◆ i2c_config
Initial value:= {
{
.i2c = I2C1,
.irqn = I2C1_IRQn,
.scl_pcr = (PORT_PCR_MUX(3)),
.sda_pcr = (PORT_PCR_MUX(3)),
},
}
#define CLOCK_CORECLOCK
Clock configuration.
@ I2C_SPEED_FAST
fast mode: ~400 kbit/s
Definition at line 336 of file periph_conf.h.
◆ pwm_config
Initial value:= {
{
.tpm = TPM0,
.chan = {
},
.chan_numof = 1,
.tpm_num = 0
},
{
.tpm = TPM1,
.chan = {
},
.chan_numof = 1,
.tpm_num = 1
}
}
Definition at line 246 of file periph_conf.h.
◆ spi_clk_config
const uint32_t spi_clk_config[] |
|
static |
◆ spi_config
Initial value:= {
{
.dev = SPI0,
.pin_cs = {
},
.pcr = (gpio_pcr_t)(GPIO_AF_2 | GPIO_IN_PU),
.simmask = SIM_SCGC6_SPI0_MASK
},
}
#define SPI_CS_UNDEF
Define value for unused CS line.
Definition at line 311 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.dev = LPUART0,
.freq = LPUART_0_CLOCK,
.pcr_rx = PORT_PCR_MUX(4) | GPIO_IN_PU,
.pcr_tx = PORT_PCR_MUX(4),
.irqn = LPUART0_IRQn,
.scgc_addr = &SIM->SCGC5,
.scgc_bit = SIM_SCGC5_LPUART0_SHIFT,
},
}
@ KINETIS_LPUART
Kinetis Low-power UART (LPUART) module type.
@ UART_MODE_8N1
8 data bits, no parity, 1 stop bit
Definition at line 132 of file periph_conf.h.