STM32H743I_EVAL BSP User Manual: STM32H743I_EVAL_LOW_LEVEL_COM

STM32H743I_EVAL BSP

STM32H743I_EVAL BSP User Manual
STM32H743I_EVAL_LOW_LEVEL_COM

Defines

#define COMn   ((uint8_t)1)
#define EVAL_COM1   USART1
 Definition for COM port1, connected to USART1.
#define EVAL_COM1_CLK_ENABLE()   __HAL_RCC_USART1_CLK_ENABLE()
#define EVAL_COM1_CLK_DISABLE()   __HAL_RCC_USART1_CLK_DISABLE()
#define EVAL_COM1_TX_PIN   GPIO_PIN_14
#define EVAL_COM1_TX_GPIO_PORT   GPIOB
#define EVAL_COM1_TX_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define EVAL_COM1_TX_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define EVAL_COM1_TX_AF   GPIO_AF4_USART1
#define EVAL_COM1_RX_PIN   GPIO_PIN_15
#define EVAL_COM1_RX_GPIO_PORT   GPIOB
#define EVAL_COM1_RX_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define EVAL_COM1_RX_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define EVAL_COM1_RX_AF   GPIO_AF4_USART1
#define EVAL_COM1_IRQn   USART1_IRQn
#define EVAL_COMx_CLK_ENABLE(__INDEX__)   do { if((__INDEX__) == COM1) EVAL_COM1_CLK_ENABLE(); } while(0)
#define EVAL_COMx_CLK_DISABLE(__INDEX__)   (((__INDEX__) == 0) ? EVAL_COM1_CLK_DISABLE() : 0)
#define EVAL_COMx_TX_GPIO_CLK_ENABLE(__INDEX__)   do { if((__INDEX__) == COM1) EVAL_COM1_TX_GPIO_CLK_ENABLE(); } while(0)
#define EVAL_COMx_TX_GPIO_CLK_DISABLE(__INDEX__)   (((__INDEX__) == 0) ? EVAL_COM1_TX_GPIO_CLK_DISABLE() : 0)
#define EVAL_COMx_RX_GPIO_CLK_ENABLE(__INDEX__)   do { if((__INDEX__) == COM1) EVAL_COM1_RX_GPIO_CLK_ENABLE(); } while(0)
#define EVAL_COMx_RX_GPIO_CLK_DISABLE(__INDEX__)   (((__INDEX__) == 0) ? EVAL_COM1_RX_GPIO_CLK_DISABLE() : 0)
#define ADCx   ADC1
 Definition for Potentiometer, connected to ADC1.
#define ADCx_CLK_ENABLE()   __HAL_RCC_ADC12_CLK_ENABLE()
#define ADCx_CHANNEL_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
#define ADCx_FORCE_RESET()   __HAL_RCC_ADC12_FORCE_RESET()
#define ADCx_RELEASE_RESET()   __HAL_RCC_ADC12_RELEASE_RESET()
#define ADCx_CHANNEL_PIN   GPIO_PIN_0
#define ADCx_CHANNEL_GPIO_PORT   GPIOA
#define ADCx_CHANNEL   ADC_CHANNEL_0
#define ADCx_POLL_TIMEOUT   10
#define IO_I2C_ADDRESS   ((uint16_t)0x84) /*mfx MFX_I2C_ADDR 0*/
#define IO_I2C_ADDRESS_2   ((uint16_t)0x86) /*mfx MFX_I2C_ADDR 1*/
#define TS_I2C_ADDRESS   ((uint16_t)0x82) /*stmpe811 used on MB1046 board */
#define TS3510_I2C_ADDRESS   ((uint16_t)0x80)
#define EXC7200_I2C_ADDRESS   ((uint16_t)0x08)
#define AUDIO_I2C_ADDRESS   ((uint16_t)0x34)
#define EEPROM_I2C_ADDRESS_A01   ((uint16_t)0xA0)
#define EEPROM_I2C_ADDRESS_A02   ((uint16_t)0xA6)
#define EVAL_I2Cx   I2C1
#define EVAL_I2Cx_CLK_ENABLE()   __HAL_RCC_I2C1_CLK_ENABLE()
#define EVAL_DMAx_CLK_ENABLE()   __HAL_RCC_DMA1_CLK_ENABLE()
#define EVAL_I2Cx_SCL_SDA_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define EVAL_I2Cx_FORCE_RESET()   __HAL_RCC_I2C1_FORCE_RESET()
#define EVAL_I2Cx_RELEASE_RESET()   __HAL_RCC_I2C1_RELEASE_RESET()
#define EVAL_I2Cx_SCL_PIN   GPIO_PIN_6
#define EVAL_I2Cx_SCL_SDA_GPIO_PORT   GPIOB
#define EVAL_I2Cx_SCL_SDA_AF   GPIO_AF4_I2C1
#define EVAL_I2Cx_SDA_PIN   GPIO_PIN_7
#define EVAL_I2Cx_EV_IRQn   I2C1_EV_IRQn
#define EVAL_I2Cx_ER_IRQn   I2C1_ER_IRQn

Define Documentation

#define ADCx   ADC1

Definition for Potentiometer, connected to ADC1.

Definition at line 250 of file stm32h743i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_CHANNEL   ADC_CHANNEL_0

Definition at line 262 of file stm32h743i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_CHANNEL_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 252 of file stm32h743i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_CHANNEL_GPIO_PORT   GPIOA

Definition at line 259 of file stm32h743i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_CHANNEL_PIN   GPIO_PIN_0

Definition at line 258 of file stm32h743i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_CLK_ENABLE ( )    __HAL_RCC_ADC12_CLK_ENABLE()

Definition at line 251 of file stm32h743i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_FORCE_RESET ( )    __HAL_RCC_ADC12_FORCE_RESET()

Definition at line 254 of file stm32h743i_eval.h.

#define ADCx_POLL_TIMEOUT   10

Definition at line 263 of file stm32h743i_eval.h.

Referenced by BSP_POTENTIOMETER_GetLevel().

#define ADCx_RELEASE_RESET ( )    __HAL_RCC_ADC12_RELEASE_RESET()

Definition at line 255 of file stm32h743i_eval.h.

#define COMn   ((uint8_t)1)

Definition at line 215 of file stm32h743i_eval.h.

#define EEPROM_I2C_ADDRESS_A01   ((uint16_t)0xA0)

Definition at line 314 of file stm32h743i_eval.h.

Referenced by BSP_EEPROM_Init().

#define EEPROM_I2C_ADDRESS_A02   ((uint16_t)0xA6)

Definition at line 315 of file stm32h743i_eval.h.

Referenced by BSP_EEPROM_Init().

#define EVAL_COM1   USART1

Definition for COM port1, connected to USART1.

Definition at line 220 of file stm32h743i_eval.h.

#define EVAL_COM1_CLK_DISABLE ( )    __HAL_RCC_USART1_CLK_DISABLE()

Definition at line 222 of file stm32h743i_eval.h.

#define EVAL_COM1_CLK_ENABLE ( )    __HAL_RCC_USART1_CLK_ENABLE()

Definition at line 221 of file stm32h743i_eval.h.

#define EVAL_COM1_IRQn   USART1_IRQn

Definition at line 236 of file stm32h743i_eval.h.

#define EVAL_COM1_RX_AF   GPIO_AF4_USART1

Definition at line 234 of file stm32h743i_eval.h.

#define EVAL_COM1_RX_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 233 of file stm32h743i_eval.h.

#define EVAL_COM1_RX_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 232 of file stm32h743i_eval.h.

#define EVAL_COM1_RX_GPIO_PORT   GPIOB

Definition at line 231 of file stm32h743i_eval.h.

#define EVAL_COM1_RX_PIN   GPIO_PIN_15

Definition at line 230 of file stm32h743i_eval.h.

#define EVAL_COM1_TX_AF   GPIO_AF4_USART1

Definition at line 228 of file stm32h743i_eval.h.

#define EVAL_COM1_TX_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 227 of file stm32h743i_eval.h.

#define EVAL_COM1_TX_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 226 of file stm32h743i_eval.h.

#define EVAL_COM1_TX_GPIO_PORT   GPIOB

Definition at line 225 of file stm32h743i_eval.h.

#define EVAL_COM1_TX_PIN   GPIO_PIN_14

Definition at line 224 of file stm32h743i_eval.h.

#define EVAL_COMx_CLK_DISABLE (   __INDEX__)    (((__INDEX__) == 0) ? EVAL_COM1_CLK_DISABLE() : 0)

Definition at line 239 of file stm32h743i_eval.h.

Referenced by BSP_COM_DeInit().

#define EVAL_COMx_CLK_ENABLE (   __INDEX__)    do { if((__INDEX__) == COM1) EVAL_COM1_CLK_ENABLE(); } while(0)

Definition at line 238 of file stm32h743i_eval.h.

Referenced by BSP_COM_Init().

#define EVAL_COMx_RX_GPIO_CLK_DISABLE (   __INDEX__)    (((__INDEX__) == 0) ? EVAL_COM1_RX_GPIO_CLK_DISABLE() : 0)

Definition at line 245 of file stm32h743i_eval.h.

#define EVAL_COMx_RX_GPIO_CLK_ENABLE (   __INDEX__)    do { if((__INDEX__) == COM1) EVAL_COM1_RX_GPIO_CLK_ENABLE(); } while(0)

Definition at line 244 of file stm32h743i_eval.h.

Referenced by BSP_COM_Init().

#define EVAL_COMx_TX_GPIO_CLK_DISABLE (   __INDEX__)    (((__INDEX__) == 0) ? EVAL_COM1_TX_GPIO_CLK_DISABLE() : 0)

Definition at line 242 of file stm32h743i_eval.h.

#define EVAL_COMx_TX_GPIO_CLK_ENABLE (   __INDEX__)    do { if((__INDEX__) == COM1) EVAL_COM1_TX_GPIO_CLK_ENABLE(); } while(0)

Definition at line 241 of file stm32h743i_eval.h.

Referenced by BSP_COM_Init().

#define EVAL_DMAx_CLK_ENABLE ( )    __HAL_RCC_DMA1_CLK_ENABLE()

Definition at line 329 of file stm32h743i_eval.h.

#define EVAL_I2Cx   I2C1

Definition at line 327 of file stm32h743i_eval.h.

Referenced by I2Cx_Init().

#define EVAL_I2Cx_CLK_ENABLE ( )    __HAL_RCC_I2C1_CLK_ENABLE()

Definition at line 328 of file stm32h743i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_ER_IRQn   I2C1_ER_IRQn

Definition at line 343 of file stm32h743i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_EV_IRQn   I2C1_EV_IRQn

Definition at line 342 of file stm32h743i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_FORCE_RESET ( )    __HAL_RCC_I2C1_FORCE_RESET()

Definition at line 332 of file stm32h743i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_RELEASE_RESET ( )    __HAL_RCC_I2C1_RELEASE_RESET()

Definition at line 333 of file stm32h743i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_PIN   GPIO_PIN_6

Definition at line 336 of file stm32h743i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_SDA_AF   GPIO_AF4_I2C1

Definition at line 338 of file stm32h743i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_SDA_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 330 of file stm32h743i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_SDA_GPIO_PORT   GPIOB

Definition at line 337 of file stm32h743i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SDA_PIN   GPIO_PIN_7

Definition at line 339 of file stm32h743i_eval.h.

Referenced by I2Cx_MspInit().

#define EXC7200_I2C_ADDRESS   ((uint16_t)0x08)

Definition at line 312 of file stm32h743i_eval.h.

Referenced by BSP_TS_Init(), and I2Cx_ReadMultiple().

#define IO_I2C_ADDRESS_2   ((uint16_t)0x86) /*mfx MFX_I2C_ADDR 1*/

Definition at line 309 of file stm32h743i_eval.h.

#define TS3510_I2C_ADDRESS   ((uint16_t)0x80)

Definition at line 311 of file stm32h743i_eval.h.

Referenced by BSP_TS_Init().

#define TS_I2C_ADDRESS   ((uint16_t)0x82) /*stmpe811 used on MB1046 board */

Definition at line 310 of file stm32h743i_eval.h.

Referenced by BSP_LCD_ClockConfig(), BSP_LCD_InitEx(), and BSP_TS_Init().

Generated on Wed Aug 23 2017 17:45:14 for STM32H743I_EVAL BSP User Manual by   doxygen 1.7.6.1