Peripheral MCU configuration for the nucleo-l552ze-q board. More...
Peripheral MCU configuration for the nucleo-l552ze-q board.
Definition in file periph_conf.h.
#include "periph_cpu.h"
#include "clk_conf.h"
#include "cfg_i2c1_pb8_pb9.h"
#include "cfg_rtt_default.h"
#include "cfg_timer_tim5.h"
Go to the source code of this file.
#define | CONFIG_BOARD_HAS_LSE 1 |
UART configuration | |
#define | UART_0_ISR (isr_lpuart1) |
#define | UART_1_ISR (isr_usart3) |
#define | UART_NUMOF ARRAY_SIZE(uart_config) |
static const uart_conf_t | uart_config [] |
SPI configuration | |
#define | SPI_NUMOF ARRAY_SIZE(spi_config) |
static const spi_conf_t | spi_config [] |
PWM configuration | |
To find appriopate device and channel find in the MCU datasheet table concerning "Alternate function AF0 to AF7" a text similar to TIM[X]_CH[Y], where: TIM[X] - is device, [Y] - describes used channel (indexed from 0), for example TIM2_CH1 is channel 0 in configuration structure (cc_chan - field), Port column in the table describes connected port. For Nucleo-L552ZE-Q this information is in the datasheet, Table 22, page 122. | |
#define | PWM_NUMOF ARRAY_SIZE(pwm_config) |
static const pwm_conf_t | pwm_config [] |
|
static |
Definition at line 78 of file periph_conf.h.
|
static |
Definition at line 41 of file periph_conf.h.