Peripheral MCU configuration for the STM32F469I-DISCO.
More...
Peripheral MCU configuration for the STM32F469I-DISCO.
- Author
- Luis A. Ruiz luisa.nosp@m.n00@.nosp@m.hotma.nosp@m.il.c.nosp@m.om
Definition in file periph_conf.h.
#include "periph_cpu.h"
#include "clk_conf.h"
#include "cfg_rtt_default.h"
#include "cfg_timer_tim2.h"
#include "cfg_usb_otg_fs.h"
Go to the source code of this file.
#define | CONFIG_BOARD_HAS_LSE 1 |
|
#define | CONFIG_BOARD_HAS_HSE 1 |
|
#define | CONFIG_CLOCK_HSE MHZ(8) |
|
|
#define | DMA_0_ISR isr_dma2_stream6 |
|
#define | DMA_1_ISR isr_dma2_stream5 |
|
#define | DMA_NUMOF ARRAY_SIZE(dma_config) |
|
static const dma_conf_t | dma_config [] |
|
|
UART_DEV(0): Is used as Virtual Com Port for the STLINK, not available pyshically UART_DEV(1): Available on CN12 and Arduino(R) expansion connector CN7
|
#define | UART_0_ISR (isr_usart3) |
|
#define | UART_1_ISR (isr_usart6) |
|
#define | UART_NUMOF ARRAY_SIZE(uart_config) |
|
static const uart_conf_t | uart_config [] |
|
|
DEV_I2C(0): Available on the connector CN11 and the Arduino(R) connector CN5 ONLY if we have the next configuration on the solder bridges; open SB10 and SB12, close SB9 and SB11.
For more information see the user manual.
DEV_I2C(1): Is not physically available but it's used for the audio DAC-SAI, with address 0x94
|
#define | I2C_0_ISR isr_i2c1_ev |
|
#define | I2C_1_ISR isr_i2c2_ev |
|
#define | I2C_NUMOF ARRAY_SIZE(i2c_config) |
|
static const i2c_conf_t | i2c_config [] |
|
◆ 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 235 of file periph_conf.h.
◆ dac_config
◆ dma_config
Initial value:= {
{.stream = 14},
{.stream = 13},
}
Definition at line 50 of file periph_conf.h.
◆ fmc_bank_config
FMC Bank configuration.
The board has a SDRAM IS42S32400F-6BL with 128 MBit on-board. It is organized in 4 banks of 1M x 32 bits each and connected to bank 5 at address 0xc0000000.
Definition at line 349 of file periph_conf.h.
◆ i2c_config
Initial value:= {
{
.dev = I2C1,
.rcc_mask = RCC_APB1ENR_I2C1EN,
.irqn = I2C1_EV_IRQn,
},
{
.dev = I2C2,
.rcc_mask = RCC_APB1ENR_I2C2EN,
.irqn = I2C2_EV_IRQn,
},
}
@ GPIO_AF4
use alternate function 4
@ APB1
Advanced Peripheral Bus 1
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
#define CLOCK_APB1
Half AHB clock.
Definition at line 112 of file periph_conf.h.
◆ spi_config
Initial value:= {
{
.dev = SPI2,
.rccmask = RCC_APB1ENR_I2C2EN,
},
}
@ GPIO_AF5
use alternate function 5
Definition at line 147 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.dev = USART3,
.rcc_mask = RCC_APB1ENR_USART3EN,
.irqn = USART3_IRQn,
},
{
.dev = USART6,
.rcc_mask = RCC_APB2ENR_USART6EN,
.irqn = USART6_IRQn,
},
}
@ GPIO_AF8
use alternate function 8
@ GPIO_AF7
use alternate function 7
@ APB2
Advanced Peripheral Bus 2
Definition at line 65 of file periph_conf.h.