STM32769I_EVAL BSP User Manual: LOW LEVEL COM

STM32769I EVAL BSP Drivers

STM32769I_EVAL BSP User Manual

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_9
#define EVAL_COM1_TX_GPIO_PORT   GPIOA
#define EVAL_COM1_TX_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
#define EVAL_COM1_TX_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOA_CLK_DISABLE()
#define EVAL_COM1_TX_AF   GPIO_AF7_USART1
#define EVAL_COM1_RX_PIN   GPIO_PIN_10
#define EVAL_COM1_RX_GPIO_PORT   GPIOA
#define EVAL_COM1_RX_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
#define EVAL_COM1_RX_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOA_CLK_DISABLE()
#define EVAL_COM1_RX_AF   GPIO_AF7_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   ADC3
 Definition for Potentiometer, connected to ADC3.
#define ADCx_CLK_ENABLE()   __HAL_RCC_ADC3_CLK_ENABLE()
#define ADCx_CHANNEL_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOF_CLK_ENABLE()
#define ADCx_FORCE_RESET()   __HAL_RCC_ADC_FORCE_RESET()
#define ADCx_RELEASE_RESET()   __HAL_RCC_ADC_RELEASE_RESET()
#define ADCx_CHANNEL_PIN   GPIO_PIN_10
#define ADCx_CHANNEL_GPIO_PORT   GPIOF
#define ADCx_CHANNEL   ADC_CHANNEL_8
#define SAMPLINGTIME   ADC_SAMPLETIME_3CYCLES
#define ADCx_POLL_TIMEOUT   10
#define IO_I2C_ADDRESS   ((uint16_t)0x84) /*mfx MFX_I2C_ADDR 0*/
 Joystick Pins definition.
#define IO_I2C_ADDRESS_2   ((uint16_t)0x86) /*mfx MFX_I2C_ADDR 1*/
#define TS_I2C_ADDRESS   ((uint16_t)0x54)
 TouchScreen FT6206 Slave I2C address 1.
#define TS_I2C_ADDRESS_A02   ((uint16_t)0x70)
 TouchScreen FT6336G Slave I2C address 2.
#define CAMERA_I2C_ADDRESS   ((uint16_t)0x5A)
#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_8
#define EVAL_I2Cx_SCL_SDA_GPIO_PORT   GPIOB
#define EVAL_I2Cx_SCL_SDA_AF   GPIO_AF4_I2C1
#define EVAL_I2Cx_SDA_PIN   GPIO_PIN_9
#define EVAL_I2Cx_EV_IRQn   I2C1_EV_IRQn
#define EVAL_I2Cx_ER_IRQn   I2C1_ER_IRQn

Define Documentation

#define ADCx   ADC3

Definition for Potentiometer, connected to ADC3.

Definition at line 259 of file stm32f769i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_CHANNEL   ADC_CHANNEL_8

Definition at line 271 of file stm32f769i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_CHANNEL_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOF_CLK_ENABLE()

Definition at line 261 of file stm32f769i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_CHANNEL_GPIO_PORT   GPIOF

Definition at line 268 of file stm32f769i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_CHANNEL_PIN   GPIO_PIN_10

Definition at line 267 of file stm32f769i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_CLK_ENABLE ( )    __HAL_RCC_ADC3_CLK_ENABLE()

Definition at line 260 of file stm32f769i_eval.h.

Referenced by BSP_POTENTIOMETER_Init().

#define ADCx_FORCE_RESET ( )    __HAL_RCC_ADC_FORCE_RESET()

Definition at line 263 of file stm32f769i_eval.h.

#define ADCx_POLL_TIMEOUT   10

Definition at line 273 of file stm32f769i_eval.h.

Referenced by BSP_POTENTIOMETER_GetLevel().

#define ADCx_RELEASE_RESET ( )    __HAL_RCC_ADC_RELEASE_RESET()

Definition at line 264 of file stm32f769i_eval.h.

#define CAMERA_I2C_ADDRESS   ((uint16_t)0x5A)

Definition at line 326 of file stm32f769i_eval.h.

Referenced by BSP_CAMERA_Init().

#define COMn   ((uint8_t)1)

Definition at line 224 of file stm32f769i_eval.h.

#define EEPROM_I2C_ADDRESS_A01   ((uint16_t)0xA0)

Definition at line 328 of file stm32f769i_eval.h.

Referenced by BSP_EEPROM_Init().

#define EEPROM_I2C_ADDRESS_A02   ((uint16_t)0xA6)

Definition at line 329 of file stm32f769i_eval.h.

Referenced by BSP_EEPROM_Init().

#define EVAL_COM1   USART1

Definition for COM port1, connected to USART1.

Definition at line 229 of file stm32f769i_eval.h.

#define EVAL_COM1_CLK_DISABLE ( )    __HAL_RCC_USART1_CLK_DISABLE()

Definition at line 231 of file stm32f769i_eval.h.

#define EVAL_COM1_CLK_ENABLE ( )    __HAL_RCC_USART1_CLK_ENABLE()

Definition at line 230 of file stm32f769i_eval.h.

#define EVAL_COM1_IRQn   USART1_IRQn

Definition at line 245 of file stm32f769i_eval.h.

#define EVAL_COM1_RX_AF   GPIO_AF7_USART1

Definition at line 243 of file stm32f769i_eval.h.

#define EVAL_COM1_RX_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 242 of file stm32f769i_eval.h.

#define EVAL_COM1_RX_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 241 of file stm32f769i_eval.h.

#define EVAL_COM1_RX_GPIO_PORT   GPIOA

Definition at line 240 of file stm32f769i_eval.h.

#define EVAL_COM1_RX_PIN   GPIO_PIN_10

Definition at line 239 of file stm32f769i_eval.h.

#define EVAL_COM1_TX_AF   GPIO_AF7_USART1

Definition at line 237 of file stm32f769i_eval.h.

#define EVAL_COM1_TX_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 236 of file stm32f769i_eval.h.

#define EVAL_COM1_TX_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 235 of file stm32f769i_eval.h.

#define EVAL_COM1_TX_GPIO_PORT   GPIOA

Definition at line 234 of file stm32f769i_eval.h.

#define EVAL_COM1_TX_PIN   GPIO_PIN_9

Definition at line 233 of file stm32f769i_eval.h.

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

Definition at line 248 of file stm32f769i_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 247 of file stm32f769i_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 254 of file stm32f769i_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 253 of file stm32f769i_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 251 of file stm32f769i_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 250 of file stm32f769i_eval.h.

Referenced by BSP_COM_Init().

#define EVAL_DMAx_CLK_ENABLE ( )    __HAL_RCC_DMA1_CLK_ENABLE()

Definition at line 343 of file stm32f769i_eval.h.

#define EVAL_I2Cx   I2C1

Definition at line 341 of file stm32f769i_eval.h.

Referenced by I2Cx_Init().

#define EVAL_I2Cx_CLK_ENABLE ( )    __HAL_RCC_I2C1_CLK_ENABLE()

Definition at line 342 of file stm32f769i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_ER_IRQn   I2C1_ER_IRQn

Definition at line 357 of file stm32f769i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_EV_IRQn   I2C1_EV_IRQn

Definition at line 356 of file stm32f769i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_FORCE_RESET ( )    __HAL_RCC_I2C1_FORCE_RESET()

Definition at line 346 of file stm32f769i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_RELEASE_RESET ( )    __HAL_RCC_I2C1_RELEASE_RESET()

Definition at line 347 of file stm32f769i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_PIN   GPIO_PIN_8

Definition at line 350 of file stm32f769i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_SDA_AF   GPIO_AF4_I2C1

Definition at line 352 of file stm32f769i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_SDA_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 344 of file stm32f769i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_SDA_GPIO_PORT   GPIOB

Definition at line 351 of file stm32f769i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SDA_PIN   GPIO_PIN_9

Definition at line 353 of file stm32f769i_eval.h.

Referenced by I2Cx_MspInit().

#define IO_I2C_ADDRESS   ((uint16_t)0x84) /*mfx MFX_I2C_ADDR 0*/

Joystick Pins definition.

Eval Pins definition connected to MFX

Definition at line 315 of file stm32f769i_eval.h.

Referenced by BSP_IO_ConfigIrqOutPin(), BSP_IO_ConfigPin(), BSP_IO_Init(), BSP_IO_ITClear(), BSP_IO_ITClearPin(), BSP_IO_ITGetStatus(), BSP_IO_ReadPin(), BSP_IO_TogglePin(), and BSP_IO_WritePin().

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

Definition at line 316 of file stm32f769i_eval.h.

#define SAMPLINGTIME   ADC_SAMPLETIME_3CYCLES

Definition at line 272 of file stm32f769i_eval.h.

#define TS_I2C_ADDRESS   ((uint16_t)0x54)

TouchScreen FT6206 Slave I2C address 1.

Definition at line 320 of file stm32f769i_eval.h.

Referenced by BSP_TS_Init().

#define TS_I2C_ADDRESS_A02   ((uint16_t)0x70)

TouchScreen FT6336G Slave I2C address 2.

Definition at line 325 of file stm32f769i_eval.h.

Referenced by BSP_TS_Init().

Generated on Fri Dec 30 2016 20:55:36 for STM32769I_EVAL BSP User Manual by   doxygen 1.7.6.1