STM32F469I-Discovery BSP User Manual: STM32469I Discovery LOW LEVEL Exported Constants

STM32F469I-Discovery BSP Drivers

STM32F469I-Discovery BSP User Manual
STM32469I Discovery LOW LEVEL Exported Constants

Modules

 STM32469I Discovery LOW LEVEL LED
 STM32469I Discovery LOW LEVEL BUTTON

Defines

#define AUDIO_INT_PIN   GPIO_PIN_7
 Discovery Pins definition TODO : to be modified/reviewed.
#define AUDIO_INT_PORT   GPIOB
#define AUDIO_INT_PORT_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define OTG_FS1_OVER_CURRENT_PIN   GPIO_PIN_7
#define OTG_FS1_OVER_CURRENT_PORT   GPIOB
#define OTG_FS1_OVER_CURRENT_PORT_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define OTG_FS1_POWER_SWITCH_PIN   GPIO_PIN_2
#define OTG_FS1_POWER_SWITCH_PORT   GPIOB
#define OTG_FS1_POWER_SWITCH_PORT_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define SD_DETECT_PIN   ((uint32_t)GPIO_PIN_2)
 SD-detect signal.
#define SD_DETECT_GPIO_PORT   ((GPIO_TypeDef*)GPIOG)
#define SD_DETECT_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOG_CLK_ENABLE()
#define SD_DETECT_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOG_CLK_DISABLE()
#define SD_DETECT_EXTI_IRQn   EXTI2_IRQn
#define TS_INT_PIN   ((uint32_t)GPIO_PIN_5)
 TS_INT signal from TouchScreen when it is configured in interrupt mode GPIOJ5 is used for that purpose on Manta Dragon Discovery board.
#define TS_INT_GPIO_PORT   ((GPIO_TypeDef*)GPIOJ)
#define TS_INT_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOJ_CLK_ENABLE()
#define TS_INT_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOJ_CLK_DISABLE()
#define TS_INT_EXTI_IRQn   EXTI9_5_IRQn
#define TS_I2C_ADDRESS   ((uint16_t)0x54)
 TouchScreen FT6206 Slave I2C address.
#define AUDIO_I2C_ADDRESS   ((uint16_t)0x94)
 Audio I2C Slave address.
#define EEPROM_I2C_ADDRESS_A01   ((uint16_t)0xA0)
 EEPROM I2C Slave address 1.
#define EEPROM_I2C_ADDRESS_A02   ((uint16_t)0xA6)
 EEPROM I2C Slave address 2.
#define DISCO_I2C1   I2C1
 I2C clock speed configuration (in Hz) WARNING: Make sure that this define is not already declared in other files It can be used in parallel by other modules.
#define DISCO_I2C1_CLK_ENABLE()   __HAL_RCC_I2C1_CLK_ENABLE()
#define DISCO_DMAx_CLK_ENABLE()   __HAL_RCC_DMA1_CLK_ENABLE()
#define DISCO_I2C1_SCL_SDA_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define DISCO_I2C1_FORCE_RESET()   __HAL_RCC_I2C1_FORCE_RESET()
#define DISCO_I2C1_RELEASE_RESET()   __HAL_RCC_I2C1_RELEASE_RESET()
#define DISCO_I2C1_SCL_PIN   GPIO_PIN_8
 Definition for I2C1 Pins.
#define DISCO_I2C1_SCL_SDA_GPIO_PORT   GPIOB
#define DISCO_I2C1_SCL_SDA_AF   GPIO_AF4_I2C1
#define DISCO_I2C1_SDA_PIN   GPIO_PIN_9
#define DISCO_I2C1_EV_IRQn   I2C1_EV_IRQn
 Definition of I2C interrupt requests.
#define DISCO_I2C1_ER_IRQn   I2C1_ER_IRQn
#define DISCO_I2C2   I2C2
 I2C2 clock speed configuration (in Hz) WARNING: Make sure that this define is not already declared in other files It can be used in parallel by other modules.
#define DISCO_I2C2_CLK_ENABLE()   __HAL_RCC_I2C2_CLK_ENABLE()
#define DISCO_I2C2_SCL_SDA_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOH_CLK_ENABLE()
#define DISCO_I2C2_FORCE_RESET()   __HAL_RCC_I2C2_FORCE_RESET()
#define DISCO_I2C2_RELEASE_RESET()   __HAL_RCC_I2C2_RELEASE_RESET()
#define DISCO_I2C2_SCL_PIN   GPIO_PIN_4
 Definition for I2C2 Pins.
#define DISCO_I2C2_SCL_SDA_GPIO_PORT   GPIOH
#define DISCO_I2C2_SCL_SDA_AF   GPIO_AF4_I2C2
#define DISCO_I2C2_SDA_PIN   GPIO_PIN_5
#define DISCO_I2C2_EV_IRQn   I2C2_EV_IRQn
 Definition of I2C2 interrupt requests.
#define DISCO_I2C2_ER_IRQn   I2C2_ER_IRQn

Define Documentation

#define AUDIO_INT_PIN   GPIO_PIN_7

Discovery Pins definition TODO : to be modified/reviewed.

Definition at line 198 of file stm32469i_discovery.h.

#define AUDIO_INT_PORT   GPIOB

Definition at line 199 of file stm32469i_discovery.h.

#define AUDIO_INT_PORT_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 200 of file stm32469i_discovery.h.

#define DISCO_DMAx_CLK_ENABLE ( )    __HAL_RCC_DMA1_CLK_ENABLE()

Definition at line 267 of file stm32469i_discovery.h.

#define DISCO_I2C1   I2C1

I2C clock speed configuration (in Hz) WARNING: Make sure that this define is not already declared in other files It can be used in parallel by other modules.

User can use this section to tailor I2C1/I2C1 instance used and associated resources. Definition for I2C1 clock resources

Definition at line 265 of file stm32469i_discovery.h.

#define DISCO_I2C1_CLK_ENABLE ( )    __HAL_RCC_I2C1_CLK_ENABLE()

Definition at line 266 of file stm32469i_discovery.h.

Referenced by I2C1_MspInit().

#define DISCO_I2C1_ER_IRQn   I2C1_ER_IRQn

Definition at line 283 of file stm32469i_discovery.h.

Referenced by I2C1_MspInit().

#define DISCO_I2C1_EV_IRQn   I2C1_EV_IRQn

Definition of I2C interrupt requests.

Definition at line 282 of file stm32469i_discovery.h.

Referenced by I2C1_MspInit().

#define DISCO_I2C1_FORCE_RESET ( )    __HAL_RCC_I2C1_FORCE_RESET()

Definition at line 270 of file stm32469i_discovery.h.

Referenced by I2C1_MspInit().

#define DISCO_I2C1_RELEASE_RESET ( )    __HAL_RCC_I2C1_RELEASE_RESET()

Definition at line 271 of file stm32469i_discovery.h.

Referenced by I2C1_MspInit().

#define DISCO_I2C1_SCL_PIN   GPIO_PIN_8

Definition for I2C1 Pins.

PB8

Definition at line 275 of file stm32469i_discovery.h.

Referenced by I2C1_MspInit().

#define DISCO_I2C1_SCL_SDA_AF   GPIO_AF4_I2C1

Definition at line 277 of file stm32469i_discovery.h.

Referenced by I2C1_MspInit().

#define DISCO_I2C1_SCL_SDA_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 268 of file stm32469i_discovery.h.

Referenced by I2C1_MspInit().

#define DISCO_I2C1_SCL_SDA_GPIO_PORT   GPIOB

Definition at line 276 of file stm32469i_discovery.h.

Referenced by I2C1_MspInit().

#define DISCO_I2C1_SDA_PIN   GPIO_PIN_9

PB9

Definition at line 278 of file stm32469i_discovery.h.

Referenced by I2C1_MspInit().

#define DISCO_I2C2   I2C2

I2C2 clock speed configuration (in Hz) WARNING: Make sure that this define is not already declared in other files It can be used in parallel by other modules.

User can use this section to tailor I2C2/I2C2 instance used and associated resources (audio codec). Definition for I2C2 clock resources

Definition at line 302 of file stm32469i_discovery.h.

#define DISCO_I2C2_CLK_ENABLE ( )    __HAL_RCC_I2C2_CLK_ENABLE()

Definition at line 303 of file stm32469i_discovery.h.

Referenced by I2C2_MspInit().

#define DISCO_I2C2_ER_IRQn   I2C2_ER_IRQn

Definition at line 319 of file stm32469i_discovery.h.

Referenced by I2C2_MspInit().

#define DISCO_I2C2_EV_IRQn   I2C2_EV_IRQn

Definition of I2C2 interrupt requests.

Definition at line 318 of file stm32469i_discovery.h.

Referenced by I2C2_MspInit().

#define DISCO_I2C2_FORCE_RESET ( )    __HAL_RCC_I2C2_FORCE_RESET()

Definition at line 306 of file stm32469i_discovery.h.

Referenced by I2C2_MspInit().

#define DISCO_I2C2_RELEASE_RESET ( )    __HAL_RCC_I2C2_RELEASE_RESET()

Definition at line 307 of file stm32469i_discovery.h.

Referenced by I2C2_MspInit().

#define DISCO_I2C2_SCL_PIN   GPIO_PIN_4

Definition for I2C2 Pins.

PH4

Definition at line 311 of file stm32469i_discovery.h.

Referenced by I2C2_MspInit().

#define DISCO_I2C2_SCL_SDA_AF   GPIO_AF4_I2C2

Definition at line 313 of file stm32469i_discovery.h.

Referenced by I2C2_MspInit().

#define DISCO_I2C2_SCL_SDA_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOH_CLK_ENABLE()

Definition at line 304 of file stm32469i_discovery.h.

Referenced by I2C2_MspInit().

#define DISCO_I2C2_SCL_SDA_GPIO_PORT   GPIOH

Definition at line 312 of file stm32469i_discovery.h.

Referenced by I2C2_MspInit().

#define DISCO_I2C2_SDA_PIN   GPIO_PIN_5

PH5

Definition at line 314 of file stm32469i_discovery.h.

Referenced by I2C2_MspInit().

#define EEPROM_I2C_ADDRESS_A01   ((uint16_t)0xA0)

EEPROM I2C Slave address 1.

Definition at line 243 of file stm32469i_discovery.h.

Referenced by BSP_EEPROM_Init().

#define EEPROM_I2C_ADDRESS_A02   ((uint16_t)0xA6)

EEPROM I2C Slave address 2.

Definition at line 248 of file stm32469i_discovery.h.

Referenced by BSP_EEPROM_Init().

#define OTG_FS1_OVER_CURRENT_PIN   GPIO_PIN_7

Definition at line 202 of file stm32469i_discovery.h.

#define OTG_FS1_OVER_CURRENT_PORT   GPIOB

Definition at line 203 of file stm32469i_discovery.h.

#define OTG_FS1_OVER_CURRENT_PORT_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 204 of file stm32469i_discovery.h.

#define OTG_FS1_POWER_SWITCH_PIN   GPIO_PIN_2

Definition at line 206 of file stm32469i_discovery.h.

#define OTG_FS1_POWER_SWITCH_PORT   GPIOB

Definition at line 207 of file stm32469i_discovery.h.

#define OTG_FS1_POWER_SWITCH_PORT_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 208 of file stm32469i_discovery.h.

#define SD_DETECT_EXTI_IRQn   EXTI2_IRQn

Definition at line 217 of file stm32469i_discovery.h.

Referenced by BSP_SD_ITConfig().

#define SD_DETECT_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOG_CLK_DISABLE()

Definition at line 216 of file stm32469i_discovery.h.

#define SD_DETECT_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOG_CLK_ENABLE()

Definition at line 215 of file stm32469i_discovery.h.

Referenced by BSP_SD_Detect_MspInit().

#define SD_DETECT_GPIO_PORT   ((GPIO_TypeDef*)GPIOG)
#define SD_DETECT_PIN   ((uint32_t)GPIO_PIN_2)

SD-detect signal.

Definition at line 213 of file stm32469i_discovery.h.

Referenced by BSP_SD_Detect_MspInit(), BSP_SD_IsDetected(), and BSP_SD_ITConfig().

#define TS_I2C_ADDRESS   ((uint16_t)0x54)

TouchScreen FT6206 Slave I2C address.

Definition at line 232 of file stm32469i_discovery.h.

Referenced by BSP_TS_Init().

#define TS_INT_EXTI_IRQn   EXTI9_5_IRQn

Definition at line 227 of file stm32469i_discovery.h.

Referenced by BSP_TS_ITConfig().

#define TS_INT_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOJ_CLK_DISABLE()

Definition at line 226 of file stm32469i_discovery.h.

#define TS_INT_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOJ_CLK_ENABLE()

Definition at line 225 of file stm32469i_discovery.h.

Referenced by BSP_TS_INT_MspInit().

#define TS_INT_GPIO_PORT   ((GPIO_TypeDef*)GPIOJ)

Definition at line 224 of file stm32469i_discovery.h.

Referenced by BSP_TS_INT_MspInit(), and BSP_TS_ITConfig().

#define TS_INT_PIN   ((uint32_t)GPIO_PIN_5)

TS_INT signal from TouchScreen when it is configured in interrupt mode GPIOJ5 is used for that purpose on Manta Dragon Discovery board.

Definition at line 223 of file stm32469i_discovery.h.

Referenced by BSP_TS_INT_MspInit(), and BSP_TS_ITConfig().

Generated on Wed Jan 13 2016 10:58:46 for STM32F469I-Discovery BSP User Manual by   doxygen 1.7.6.1