Peripheral MCU configuration for the LoRa-E5 Development Board.
More...
Peripheral MCU configuration for the LoRa-E5 Development Board.
- Author
- Francisco Molina franc.nosp@m.ois-.nosp@m.xavie.nosp@m.r.mo.nosp@m.lina@.nosp@m.inri.nosp@m.a.fr
Definition in file periph_conf.h.
#include "periph_cpu.h"
#include "clk_conf.h"
#include "cfg_rtt_default.h"
#include "cfg_timer_tim2.h"
Go to the source code of this file.
◆ ADC_NUMOF
◆ CONFIG_BOARD_HAS_HSE
#define CONFIG_BOARD_HAS_HSE 1 |
◆ CONFIG_BOARD_HAS_LSE
#define CONFIG_BOARD_HAS_LSE 1 |
◆ CONFIG_CLOCK_HSE
#define CONFIG_CLOCK_HSE MHZ(32) |
◆ I2C_1_ISR
#define I2C_1_ISR isr_i2c2_er |
◆ I2C_NUMOF
◆ SPI_NUMOF
◆ UART_0_ISR
#define UART_0_ISR isr_usart1 |
◆ UART_1_ISR
#define UART_1_ISR isr_usart2 |
◆ UART_2_ISR
◆ UART_NUMOF
◆ VBAT_ADC
◆ 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.
Definition at line 163 of file periph_conf.h.
◆ i2c_config
Initial value:= {
{
.dev = I2C2,
.rcc_mask = RCC_APB1ENR1_I2C2EN,
.rcc_sw_mask = RCC_CCIPR_I2C2SEL_1,
.irqn = I2C2_ER_IRQn,
}
}
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
@ GPIO_AF4
use alternate function 4
@ APB1
Advanced Peripheral Bus 1
Definition at line 138 of file periph_conf.h.
◆ spi_config
◆ uart_config