Configuration of CPU peripherals for QN9080DK base board board.
More...
Configuration of CPU peripherals for QN9080DK base board board.
- Author
- iosabi iosab.nosp@m.i@pr.nosp@m.otonm.nosp@m.ail..nosp@m.com
Definition in file periph_conf.h.
#include <stdint.h>
#include "macros/units.h"
#include "cpu.h"
#include "periph_cpu.h"
Go to the source code of this file.
|
Names "An" are as described in the "Analog In" header on the PCB.
All "An" inputs are configured referenced to 1.8V.
|
#define | ADC_NUMOF ARRAY_SIZE(adc_config) |
|
static const adc_conf_t | adc_config [] |
|
◆ ADC_NUMOF
◆ CLOCK_CORECLOCK
#define CLOCK_CORECLOCK MHZ(32) |
System core clock frequency in Hz.
Definition at line 38 of file periph_conf.h.
◆ I2C_NUMOF
◆ SPI_NUMOF
◆ TIMER_NUMOF
◆ UART_NUMOF
◆ adc_config
Initial value:= {
}
#define ADC_VREF_GAIN_X15
ADC Vref x1.5 multiplier flag.
@ ADC_VINN_AVSS
Use Vinn := Vss.
@ ADC_CHANNEL_ADC4_VINN
Sample ADC4 / Vinn.
@ ADC_CHANNEL_ADC5_VINN
Sample ADC5 / Vinn.
@ ADC_CHANNEL_TEMP
Sample internal temperature.
@ ADC_CHANNEL_ADC0_ADC1
Sample ADC0 / ADC1.
@ ADC_CHANNEL_ADC1_VINN
Sample ADC1 / Vinn.
@ ADC_CHANNEL_ADC6_VINN
Sample ADC6 / Vinn.
@ ADC_CHANNEL_ADC0_VINN
Sample ADC0 / Vinn.
@ ADC_CHANNEL_ADC4_ADC5
Sample ADC4 / ADC5.
@ ADC_CHANNEL_ADC6_ADC7
Sample ADC6 / ADC7.
@ ADC_CHANNEL_ADC7_VINN
Sample ADC7 / Vinn.
@ ADC_CHANNEL_VCC4_VINN
Sample 1/4 Vcc / Vinn.
Definition at line 49 of file periph_conf.h.
◆ i2c_config
Initial value:= {
{
.dev = I2C0,
},
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
@ I2C_SPEED_FAST
fast mode: ~400 kbit/s
Definition at line 69 of file periph_conf.h.
◆ spi_config
Initial value:= {
{
.dev = SPI0,
.cs_pin = {
},
},
}
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
Definition at line 84 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.dev = USART0,
},
}
Definition at line 106 of file periph_conf.h.