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.
 | 
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_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(8) | 
        
      
 
 
◆ DAC_NUMOF
◆ DMA_0_ISR
      
        
          | #define DMA_0_ISR   isr_dma2_stream6 | 
        
      
 
 
◆ DMA_1_ISR
      
        
          | #define DMA_1_ISR   isr_dma2_stream5 | 
        
      
 
 
◆ DMA_NUMOF
◆ FMC_BANK_NUMOF
◆ I2C_0_ISR
      
        
          | #define I2C_0_ISR   isr_i2c1_ev | 
        
      
 
 
◆ I2C_1_ISR
      
        
          | #define I2C_1_ISR   isr_i2c2_ev | 
        
      
 
 
◆ I2C_NUMOF
◆ PWM_NUMOF
◆ SPI_NUMOF
◆ UART_0_ISR
      
        
          | #define UART_0_ISR   (isr_usart3) | 
        
      
 
 
◆ UART_1_ISR
      
        
          | #define UART_1_ISR   (isr_usart6) | 
        
      
 
 
◆ 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 231 of file periph_conf.h.
 
 
◆ dac_config
◆ dma_config
Initial value:= {
    {.stream = 14}, 
    {.stream = 13}, 
}
 
Definition at line 46 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 345 of file periph_conf.h.
 
 
◆ fmc_config
◆ i2c_config
Initial value:= {
    {
        .dev = I2C1,
        .rcc_mask = RCC_APB1ENR_I2C1EN,
        .clk = CLOCK_APB1,
        .irqn = I2C1_EV_IRQn,
    },
    {
        .dev = I2C2,
        .rcc_mask = RCC_APB1ENR_I2C2EN,
        .clk = CLOCK_APB1,
        .irqn = I2C2_EV_IRQn,
    },
}
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
 
@ GPIO_AF4
use alternate function 4
 
@ APB1
Advanced Peripheral Bus 1.
 
 
Definition at line 108 of file periph_conf.h.
 
 
◆ pwm_config
◆ spi_config
Initial value:= {
    {
        .dev = SPI2,
        .rccmask = RCC_APB1ENR_I2C2EN,
 
 
 
 
 
 
    },
}
@ GPIO_AF5
use alternate function 5
 
 
Definition at line 143 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 61 of file periph_conf.h.