STM32373C_EVAL BSP User Manual: STM32373C-EVAL COMPONENT

STM32373C EVAL BSP Drivers

STM32373C_EVAL BSP User Manual
STM32373C-EVAL COMPONENT

Defines

#define LCD_CS_LOW()   HAL_GPIO_WritePin(LCD_NCS_GPIO_PORT, LCD_NCS_PIN, GPIO_PIN_RESET)
#define LCD_CS_HIGH()   HAL_GPIO_WritePin(LCD_NCS_GPIO_PORT, LCD_NCS_PIN, GPIO_PIN_SET)
#define LCD_NCS_PIN   GPIO_PIN_2 /* PD.02 */
 LCD Control Interface pins.
#define LCD_NCS_GPIO_PORT   GPIOD
#define LCD_NCS_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOD_CLK_ENABLE()
#define LCD_NCS_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOD_CLK_DISABLE()
#define SD_CS_LOW()   HAL_GPIO_WritePin(SD_CS_GPIO_PORT, SD_CS_PIN, GPIO_PIN_RESET)
#define SD_CS_HIGH()   HAL_GPIO_WritePin(SD_CS_GPIO_PORT, SD_CS_PIN, GPIO_PIN_SET)
#define SD_CS_PIN   GPIO_PIN_2 /* PE.02 */
 SD card Control pins.
#define SD_CS_GPIO_PORT   GPIOE /* GPIOE */
#define SD_CS_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOE_CLK_ENABLE()
#define SD_CS_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOE_CLK_DISABLE()
#define SD_DETECT_PIN   GPIO_PIN_3 /* PE.03 */
 SD Detect Interface pins.
#define SD_DETECT_GPIO_PORT   GPIOE /* GPIOE */
#define SD_DETECT_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOE_CLK_ENABLE()
#define SD_DETECT_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOE_CLK_DISABLE()
#define SD_DETECT_EXTI_IRQn   EXTI3_IRQn
#define AUDIO_RESET_PIN   GPIO_PIN_11
 I2C AUDIO Interface pins.
#define AUDIO_RESET_GPIO_PORT   GPIOD
#define AUDIO_RESET_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOD_CLK_ENABLE()
#define AUDIO_RESET_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOD_CLK_DISABLE()
#define CODEC_AUDIO_POWER_OFF()   HAL_GPIO_WritePin(AUDIO_RESET_GPIO_PORT, AUDIO_RESET_PIN, GPIO_PIN_RESET)
#define CODEC_AUDIO_POWER_ON()   HAL_GPIO_WritePin(AUDIO_RESET_GPIO_PORT, AUDIO_RESET_PIN, GPIO_PIN_SET)
#define HDMI_CEC_HPD_SINK_PIN   GPIO_PIN_0 /* PE.0 */
 I2C HDMI CEC Interface pins.
#define HDMI_CEC_HPD_SINK_GPIO_PORT   GPIOE
#define HDMI_CEC_HPD_SINK_CLK_ENABLE()   __HAL_RCC_GPIOE_CLK_ENABLE()
#define HDMI_CEC_HPD_SINK_CLK_DISABLE()   __HAL_RCC_GPIOE_CLK_DISABLE()
#define HDMI_CEC_HPD_SOURCE_PIN   GPIO_PIN_7 /* PD.7 */
#define HDMI_CEC_HPD_SOURCE_GPIO_PORT   GPIOD
#define HDMI_CEC_HPD_SOURCE_CLK_ENABLE()   __HAL_RCC_GPIOD_CLK_ENABLE()
#define HDMI_CEC_HPD_SOURCE_CLK_DISABLE()   __HAL_RCC_GPIOD_CLK_DISABLE()
#define HDMI_CEC_LINE_PIN   GPIO_PIN_8 /* PB.8 */
#define HDMI_CEC_LINE_GPIO_PORT   GPIOB
#define HDMI_CEC_LINE_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define HDMI_CEC_LINE_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define HDMI_CEC_LINE_AF   GPIO_AF6_CEC
#define HDMI_CEC_IRQn   CEC_IRQn
#define HDMI_CEC_I2C_ADDRESS   0xA0

Define Documentation

#define AUDIO_RESET_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOD_CLK_DISABLE()

Definition at line 482 of file stm32373c_eval.h.

#define AUDIO_RESET_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOD_CLK_ENABLE()

Definition at line 481 of file stm32373c_eval.h.

Referenced by AUDIO_IO_Init().

#define AUDIO_RESET_GPIO_PORT   GPIOD

Definition at line 480 of file stm32373c_eval.h.

Referenced by AUDIO_IO_Init().

#define AUDIO_RESET_PIN   GPIO_PIN_11

I2C AUDIO Interface pins.

Definition at line 479 of file stm32373c_eval.h.

Referenced by AUDIO_IO_Init().

#define CODEC_AUDIO_POWER_OFF ( )    HAL_GPIO_WritePin(AUDIO_RESET_GPIO_PORT, AUDIO_RESET_PIN, GPIO_PIN_RESET)

Definition at line 485 of file stm32373c_eval.h.

Referenced by AUDIO_IO_Init(), and BSP_AUDIO_OUT_Stop().

#define CODEC_AUDIO_POWER_ON ( )    HAL_GPIO_WritePin(AUDIO_RESET_GPIO_PORT, AUDIO_RESET_PIN, GPIO_PIN_SET)

Definition at line 486 of file stm32373c_eval.h.

Referenced by AUDIO_IO_Init().

#define HDMI_CEC_HPD_SINK_CLK_DISABLE ( )    __HAL_RCC_GPIOE_CLK_DISABLE()

Definition at line 495 of file stm32373c_eval.h.

#define HDMI_CEC_HPD_SINK_CLK_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 494 of file stm32373c_eval.h.

Referenced by HDMI_CEC_IO_Init().

#define HDMI_CEC_HPD_SINK_GPIO_PORT   GPIOE

Definition at line 493 of file stm32373c_eval.h.

Referenced by HDMI_CEC_IO_Init().

#define HDMI_CEC_HPD_SINK_PIN   GPIO_PIN_0 /* PE.0 */

I2C HDMI CEC Interface pins.

Definition at line 492 of file stm32373c_eval.h.

Referenced by HDMI_CEC_IO_Init().

#define HDMI_CEC_HPD_SOURCE_CLK_DISABLE ( )    __HAL_RCC_GPIOD_CLK_DISABLE()

Definition at line 500 of file stm32373c_eval.h.

#define HDMI_CEC_HPD_SOURCE_CLK_ENABLE ( )    __HAL_RCC_GPIOD_CLK_ENABLE()

Definition at line 499 of file stm32373c_eval.h.

Referenced by HDMI_CEC_IO_Init().

#define HDMI_CEC_HPD_SOURCE_GPIO_PORT   GPIOD

Definition at line 498 of file stm32373c_eval.h.

Referenced by HDMI_CEC_IO_Init().

#define HDMI_CEC_HPD_SOURCE_PIN   GPIO_PIN_7 /* PD.7 */

Definition at line 497 of file stm32373c_eval.h.

Referenced by HDMI_CEC_IO_Init().

#define HDMI_CEC_I2C_ADDRESS   0xA0

Definition at line 510 of file stm32373c_eval.h.

Referenced by I2C1_Init().

#define HDMI_CEC_IRQn   CEC_IRQn

Definition at line 507 of file stm32373c_eval.h.

Referenced by HDMI_CEC_IO_Init().

#define HDMI_CEC_LINE_AF   GPIO_AF6_CEC

Definition at line 506 of file stm32373c_eval.h.

Referenced by HDMI_CEC_IO_Init().

#define HDMI_CEC_LINE_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 505 of file stm32373c_eval.h.

#define HDMI_CEC_LINE_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 504 of file stm32373c_eval.h.

Referenced by HDMI_CEC_IO_Init().

#define HDMI_CEC_LINE_GPIO_PORT   GPIOB

Definition at line 503 of file stm32373c_eval.h.

Referenced by HDMI_CEC_IO_Init().

#define HDMI_CEC_LINE_PIN   GPIO_PIN_8 /* PB.8 */

Definition at line 502 of file stm32373c_eval.h.

Referenced by HDMI_CEC_IO_Init().

#define LCD_CS_HIGH ( )    HAL_GPIO_WritePin(LCD_NCS_GPIO_PORT, LCD_NCS_PIN, GPIO_PIN_SET)
#define LCD_CS_LOW ( )    HAL_GPIO_WritePin(LCD_NCS_GPIO_PORT, LCD_NCS_PIN, GPIO_PIN_RESET)
#define LCD_NCS_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOD_CLK_DISABLE()

Definition at line 451 of file stm32373c_eval.h.

#define LCD_NCS_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOD_CLK_ENABLE()

Definition at line 450 of file stm32373c_eval.h.

Referenced by LCD_IO_Init().

#define LCD_NCS_GPIO_PORT   GPIOD

Definition at line 449 of file stm32373c_eval.h.

Referenced by LCD_IO_Init().

#define LCD_NCS_PIN   GPIO_PIN_2 /* PD.02 */

LCD Control Interface pins.

Definition at line 448 of file stm32373c_eval.h.

Referenced by LCD_IO_Init().

#define SD_CS_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOE_CLK_DISABLE()

Definition at line 464 of file stm32373c_eval.h.

#define SD_CS_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 463 of file stm32373c_eval.h.

Referenced by SD_IO_Init().

#define SD_CS_GPIO_PORT   GPIOE /* GPIOE */

Definition at line 462 of file stm32373c_eval.h.

Referenced by SD_IO_Init().

#define SD_CS_HIGH ( )    HAL_GPIO_WritePin(SD_CS_GPIO_PORT, SD_CS_PIN, GPIO_PIN_SET)

Definition at line 456 of file stm32373c_eval.h.

Referenced by SD_IO_Init(), and SD_IO_WriteDummy().

#define SD_CS_LOW ( )    HAL_GPIO_WritePin(SD_CS_GPIO_PORT, SD_CS_PIN, GPIO_PIN_RESET)

Definition at line 455 of file stm32373c_eval.h.

Referenced by SD_IO_WriteCmd().

#define SD_CS_PIN   GPIO_PIN_2 /* PE.02 */

SD card Control pins.

Definition at line 461 of file stm32373c_eval.h.

Referenced by SD_IO_Init().

#define SD_DETECT_EXTI_IRQn   EXTI3_IRQn

Definition at line 473 of file stm32373c_eval.h.

Referenced by SD_IO_Init().

#define SD_DETECT_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOE_CLK_DISABLE()

Definition at line 472 of file stm32373c_eval.h.

#define SD_DETECT_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 471 of file stm32373c_eval.h.

Referenced by SD_IO_Init().

#define SD_DETECT_GPIO_PORT   GPIOE /* GPIOE */

Definition at line 470 of file stm32373c_eval.h.

Referenced by BSP_SD_IsDetected(), and SD_IO_Init().

#define SD_DETECT_PIN   GPIO_PIN_3 /* PE.03 */

SD Detect Interface pins.

Definition at line 469 of file stm32373c_eval.h.

Referenced by BSP_SD_IsDetected(), and SD_IO_Init().

Generated on Wed May 31 2017 11:20:44 for STM32373C_EVAL BSP User Manual by   doxygen 1.7.6.1