STM32L4R9I-Discovery BSP User Manual: BUS Constants

STM32L4R9I-Discovery BSP

STM32L4R9I-Discovery BSP User Manual

Defines

#define DISCOVERY_I2C1_TIMEOUT_MAX   3000
#define IDD_I2C_ADDRESS   ((uint16_t) 0x84)
#define IO_I2C_ADDRESS   ((uint16_t) 0x84)
#define AUDIO_I2C_ADDRESS   ((uint16_t) 0x94)
#define TS_I2C_ADDRESS   ((uint16_t) 0x70)
#define CAMERA_I2C_ADDRESS   ((uint16_t) 0x60)
#define CODEC_AUDIO_POWER_OFF()   BSP_IO_WritePin(AUDIO_RESET_PIN, GPIO_PIN_RESET)
 Audio codec chip reset definition.
#define CODEC_AUDIO_POWER_ON()   BSP_IO_WritePin(AUDIO_RESET_PIN, GPIO_PIN_SET)
#define AUDIO_RESET_PIN   IO_PIN_15
#define MFX_INT_GPIO_PORT   GPIOI
 MFX interface pins.
#define MFX_INT_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOI_CLK_ENABLE()
#define MFX_INT_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOI_CLK_DISABLE()
#define MFX_INT_PIN   GPIO_PIN_1 /* PI.01 */
#define MFX_INT_EXTI_IRQn   EXTI1_IRQn
#define MFX_WAKEUP_GPIO_PORT   GPIOB
#define MFX_WAKEUP_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define MFX_WAKEUP_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define MFX_WAKEUP_PIN   GPIO_PIN_2 /* PB.02 */
#define IDD_INT_GPIO_PORT   MFX_INT_GPIO_PORT
#define IDD_INT_GPIO_CLK_ENABLE()   MFX_INT_GPIO_CLK_ENABLE()
#define IDD_INT_GPIO_CLK_DISABLE()   MFX_INT_GPIO_CLK_DISABLE()
#define IDD_INT_PIN   MFX_INT_PIN
#define IDD_INT_EXTI_IRQn   MFX_INT_EXTI_IRQn
#define IDD_WAKEUP_GPIO_PORT   MFX_WAKEUP_GPIO_PORT
#define IDD_WAKEUP_GPIO_CLK_ENABLE()   MFX_WAKEUP_GPIO_CLK_ENABLE()
#define IDD_WAKEUP_GPIO_CLK_DISABLE()   MFX_WAKEUP_GPIO_CLK_DISABLE()
#define IDD_WAKEUP_PIN   MFX_WAKEUP_PIN
#define IDD_AMP_CONTROL_PIN   AGPIO_PIN_1
 Idd current measurement interface pins on MFX.
#define LCD_TE_PIN   GPIO_PIN_11
 LCD pins.
#define LCD_TE_CTRL_GPIO_PORT   GPIOF
#define LCD_TE_CTRL_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOF_CLK_ENABLE()
#define LCD_TE_CTRL_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOF_CLK_DISABLE()
#define LCD_BL_CTRL_PIN   GPIO_PIN_1
#define LCD_BL_CTRL_GPIO_PORT   GPIOB
#define LCD_BL_CTRL_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define LCD_BL_CTRL_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define TS_INT_PIN   IO_PIN_9
#define TS_INT_EXTI_IRQn   EXTI1_IRQn

Define Documentation

#define AUDIO_RESET_PIN   IO_PIN_15

Definition at line 285 of file stm32l4r9i_discovery.h.

Referenced by AUDIO_IO_Init().

#define CAMERA_I2C_ADDRESS   ((uint16_t) 0x60)

Definition at line 272 of file stm32l4r9i_discovery.h.

Referenced by BSP_CAMERA_Init().

#define CODEC_AUDIO_POWER_OFF ( )    BSP_IO_WritePin(AUDIO_RESET_PIN, GPIO_PIN_RESET)

Audio codec chip reset definition.

Definition at line 281 of file stm32l4r9i_discovery.h.

Referenced by AUDIO_IO_DeInit(), and AUDIO_IO_Init().

#define CODEC_AUDIO_POWER_ON ( )    BSP_IO_WritePin(AUDIO_RESET_PIN, GPIO_PIN_SET)

Definition at line 282 of file stm32l4r9i_discovery.h.

Referenced by AUDIO_IO_Init().

#define DISCOVERY_I2C1_TIMEOUT_MAX   3000

Definition at line 266 of file stm32l4r9i_discovery.h.

Idd current measurement interface pins on MFX.

Definition at line 316 of file stm32l4r9i_discovery.h.

Referenced by BSP_IDD_GetValue(), and BSP_IDD_StartMeasure().

Definition at line 307 of file stm32l4r9i_discovery.h.

Definition at line 305 of file stm32l4r9i_discovery.h.

Definition at line 304 of file stm32l4r9i_discovery.h.

Definition at line 303 of file stm32l4r9i_discovery.h.

#define IDD_INT_PIN   MFX_INT_PIN

Definition at line 306 of file stm32l4r9i_discovery.h.

Definition at line 310 of file stm32l4r9i_discovery.h.

Definition at line 309 of file stm32l4r9i_discovery.h.

Definition at line 308 of file stm32l4r9i_discovery.h.

Definition at line 311 of file stm32l4r9i_discovery.h.

#define LCD_BL_CTRL_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 331 of file stm32l4r9i_discovery.h.

#define LCD_BL_CTRL_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 330 of file stm32l4r9i_discovery.h.

#define LCD_BL_CTRL_GPIO_PORT   GPIOB

Definition at line 329 of file stm32l4r9i_discovery.h.

#define LCD_BL_CTRL_PIN   GPIO_PIN_1

Definition at line 328 of file stm32l4r9i_discovery.h.

#define LCD_TE_CTRL_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOF_CLK_DISABLE()

Definition at line 325 of file stm32l4r9i_discovery.h.

#define LCD_TE_CTRL_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOF_CLK_ENABLE()

Definition at line 324 of file stm32l4r9i_discovery.h.

#define LCD_TE_CTRL_GPIO_PORT   GPIOF

Definition at line 323 of file stm32l4r9i_discovery.h.

#define LCD_TE_PIN   GPIO_PIN_11

LCD pins.

Definition at line 322 of file stm32l4r9i_discovery.h.

#define MFX_INT_EXTI_IRQn   EXTI1_IRQn

Definition at line 295 of file stm32l4r9i_discovery.h.

Referenced by MFX_IO_DeInit(), and MFX_IO_ITConfig().

#define MFX_INT_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOI_CLK_DISABLE()

Definition at line 293 of file stm32l4r9i_discovery.h.

#define MFX_INT_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOI_CLK_ENABLE()

Definition at line 292 of file stm32l4r9i_discovery.h.

Referenced by MFX_IO_DeInit(), and MFX_IO_ITConfig().

#define MFX_INT_GPIO_PORT   GPIOI

MFX interface pins.

Definition at line 291 of file stm32l4r9i_discovery.h.

Referenced by MFX_IO_DeInit(), and MFX_IO_ITConfig().

#define MFX_INT_PIN   GPIO_PIN_1 /* PI.01 */

Definition at line 294 of file stm32l4r9i_discovery.h.

Referenced by MFX_IO_DeInit(), and MFX_IO_ITConfig().

#define MFX_WAKEUP_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 299 of file stm32l4r9i_discovery.h.

#define MFX_WAKEUP_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 298 of file stm32l4r9i_discovery.h.

Referenced by MFX_IO_DeInit(), and MFX_IO_EnableWakeupPin().

#define MFX_WAKEUP_GPIO_PORT   GPIOB

Definition at line 297 of file stm32l4r9i_discovery.h.

Referenced by MFX_IO_DeInit(), MFX_IO_EnableWakeupPin(), and MFX_IO_Wakeup().

#define MFX_WAKEUP_PIN   GPIO_PIN_2 /* PB.02 */

Definition at line 300 of file stm32l4r9i_discovery.h.

Referenced by MFX_IO_DeInit(), MFX_IO_EnableWakeupPin(), and MFX_IO_Wakeup().

#define TS_I2C_ADDRESS   ((uint16_t) 0x70)

Definition at line 271 of file stm32l4r9i_discovery.h.

Referenced by BSP_TS_Init().

#define TS_INT_EXTI_IRQn   EXTI1_IRQn

Definition at line 335 of file stm32l4r9i_discovery.h.

#define TS_INT_PIN   IO_PIN_9

Definition at line 334 of file stm32l4r9i_discovery.h.

Referenced by BSP_TS_ITConfig(), and BSP_TS_ITDisable().

Generated on Fri Oct 13 2017 02:37:42 for STM32L4R9I-Discovery BSP User Manual by   doxygen 1.7.6.1