STM324x9I_EVAL BSP User Manual: STM324x9I EVAL LOW LEVEL COM

STM32429I/STM32439I/STM32469I/STM32479I EVAL BSP Drivers

STM324x9I_EVAL BSP User Manual

Defines

#define COMn   1
#define EVAL_COM1   USART1
 Definition for COM port1, connected to USART1.
#define EVAL_COM1_CLK_ENABLE()   __USART1_CLK_ENABLE()
#define EVAL_COM1_CLK_DISABLE()   __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()   __GPIOA_CLK_ENABLE()
#define EVAL_COM1_TX_GPIO_CLK_DISABLE()   __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()   __GPIOA_CLK_ENABLE()
#define EVAL_COM1_RX_GPIO_CLK_DISABLE()   __GPIOA_CLK_DISABLE()
#define EVAL_COM1_RX_AF   GPIO_AF7_USART1
#define EVAL_COM1_IRQn   USART1_IRQn
#define EVAL_COMx_CLK_ENABLE(__INDEX__)
#define EVAL_COMx_CLK_DISABLE(__INDEX__)
#define EVAL_COMx_TX_GPIO_CLK_ENABLE(__INDEX__)
#define EVAL_COMx_TX_GPIO_CLK_DISABLE(__INDEX__)
#define EVAL_COMx_RX_GPIO_CLK_ENABLE(__INDEX__)
#define EVAL_COMx_RX_GPIO_CLK_DISABLE(__INDEX__)
#define JOY_SEL_PIN   IO_PIN_14
 Joystick Pins definition.
#define JOY_DOWN_PIN   IO_PIN_13
#define JOY_LEFT_PIN   IO_PIN_12
#define JOY_RIGHT_PIN   IO_PIN_11
#define JOY_UP_PIN   IO_PIN_10
#define JOY_NONE_PIN   JOY_ALL_PINS
#define JOY_ALL_PINS   (IO_PIN_10 | IO_PIN_11 | IO_PIN_12 | IO_PIN_13 | IO_PIN_14)
#define XSDN_PIN   IO_PIN_0
 Eval Pins definition.
#define MII_INT_PIN   IO_PIN_1
#define RSTI_PIN   IO_PIN_2
#define CAM_PLUG_PIN   IO_PIN_3
#define LCD_INT_PIN   IO_PIN_4
#define AUDIO_INT_PIN   IO_PIN_5
#define OTG_FS1_OVER_CURRENT_PIN   IO_PIN_6
#define OTG_FS1_POWER_SWITCH_PIN   IO_PIN_7
#define OTG_FS2_OVER_CURRENT_PIN   IO_PIN_8
#define OTG_FS2_POWER_SWITCH_PIN   IO_PIN_9
#define SD_DETECT_PIN   IO_PIN_15
#define IO_I2C_ADDRESS   0x84
#define TS_I2C_ADDRESS   0x82
#define TS3510_I2C_ADDRESS   0x80
#define EXC7200_I2C_ADDRESS   0x08
#define CAMERA_I2C_ADDRESS   0x60
#define AUDIO_I2C_ADDRESS   0x34
#define EEPROM_I2C_ADDRESS_A01   0xA0
#define EEPROM_I2C_ADDRESS_A02   0xA6
#define EVAL_I2Cx   I2C1
#define EVAL_I2Cx_CLK_ENABLE()   __I2C1_CLK_ENABLE()
#define EVAL_DMAx_CLK_ENABLE()   __DMA1_CLK_ENABLE()
#define EVAL_I2Cx_SCL_SDA_GPIO_CLK_ENABLE()   __GPIOB_CLK_ENABLE()
#define EVAL_I2Cx_FORCE_RESET()   __I2C1_FORCE_RESET()
#define EVAL_I2Cx_RELEASE_RESET()   __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_9
#define EVAL_I2Cx_EV_IRQn   I2C1_EV_IRQn
#define EVAL_I2Cx_ER_IRQn   I2C1_ER_IRQn

Define Documentation

#define AUDIO_INT_PIN   IO_PIN_5

Definition at line 269 of file stm324x9i_eval.h.

#define CAM_PLUG_PIN   IO_PIN_3

Definition at line 267 of file stm324x9i_eval.h.

Referenced by BSP_CAMERA_Init().

#define COMn   1

Definition at line 212 of file stm324x9i_eval.h.

#define EEPROM_I2C_ADDRESS_A01   0xA0

Definition at line 283 of file stm324x9i_eval.h.

Referenced by BSP_EEPROM_Init().

#define EEPROM_I2C_ADDRESS_A02   0xA6

Definition at line 284 of file stm324x9i_eval.h.

Referenced by BSP_EEPROM_Init().

#define EVAL_COM1   USART1

Definition for COM port1, connected to USART1.

Definition at line 217 of file stm324x9i_eval.h.

#define EVAL_COM1_CLK_DISABLE ( )    __USART1_CLK_DISABLE()

Definition at line 219 of file stm324x9i_eval.h.

#define EVAL_COM1_CLK_ENABLE ( )    __USART1_CLK_ENABLE()

Definition at line 218 of file stm324x9i_eval.h.

#define EVAL_COM1_IRQn   USART1_IRQn

Definition at line 233 of file stm324x9i_eval.h.

#define EVAL_COM1_RX_AF   GPIO_AF7_USART1

Definition at line 231 of file stm324x9i_eval.h.

#define EVAL_COM1_RX_GPIO_CLK_DISABLE ( )    __GPIOA_CLK_DISABLE()

Definition at line 230 of file stm324x9i_eval.h.

#define EVAL_COM1_RX_GPIO_CLK_ENABLE ( )    __GPIOA_CLK_ENABLE()

Definition at line 229 of file stm324x9i_eval.h.

#define EVAL_COM1_RX_GPIO_PORT   GPIOA

Definition at line 228 of file stm324x9i_eval.h.

#define EVAL_COM1_RX_PIN   GPIO_PIN_10

Definition at line 227 of file stm324x9i_eval.h.

#define EVAL_COM1_TX_AF   GPIO_AF7_USART1

Definition at line 225 of file stm324x9i_eval.h.

#define EVAL_COM1_TX_GPIO_CLK_DISABLE ( )    __GPIOA_CLK_DISABLE()

Definition at line 224 of file stm324x9i_eval.h.

#define EVAL_COM1_TX_GPIO_CLK_ENABLE ( )    __GPIOA_CLK_ENABLE()

Definition at line 223 of file stm324x9i_eval.h.

#define EVAL_COM1_TX_GPIO_PORT   GPIOA

Definition at line 222 of file stm324x9i_eval.h.

#define EVAL_COM1_TX_PIN   GPIO_PIN_9

Definition at line 221 of file stm324x9i_eval.h.

#define EVAL_COMx_CLK_DISABLE (   __INDEX__)
Value:
do{if((__INDEX__) == 0) EVAL_COM1_CLK_DISABLE(); \
                                                       }while(0)

Definition at line 237 of file stm324x9i_eval.h.

#define EVAL_COMx_CLK_ENABLE (   __INDEX__)
Value:
do{if((__INDEX__) == 0) EVAL_COM1_CLK_ENABLE(); \
                                                       }while(0)

Definition at line 235 of file stm324x9i_eval.h.

Referenced by BSP_COM_Init().

#define EVAL_COMx_RX_GPIO_CLK_DISABLE (   __INDEX__)
Value:
do{if((__INDEX__) == 0) EVAL_COM1_RX_GPIO_CLK_DISABLE(); \
                                                       }while(0)

Definition at line 247 of file stm324x9i_eval.h.

#define EVAL_COMx_RX_GPIO_CLK_ENABLE (   __INDEX__)
Value:
do{if((__INDEX__) == 0) EVAL_COM1_RX_GPIO_CLK_ENABLE(); \
                                                       }while(0)

Definition at line 245 of file stm324x9i_eval.h.

Referenced by BSP_COM_Init().

#define EVAL_COMx_TX_GPIO_CLK_DISABLE (   __INDEX__)
Value:
do{if((__INDEX__) == 0) EVAL_COM1_TX_GPIO_CLK_DISABLE(); \
                                                     }while(0)

Definition at line 242 of file stm324x9i_eval.h.

#define EVAL_COMx_TX_GPIO_CLK_ENABLE (   __INDEX__)
Value:
do{if((__INDEX__) == 0) EVAL_COM1_TX_GPIO_CLK_ENABLE(); \
                                                     }while(0)

Definition at line 240 of file stm324x9i_eval.h.

Referenced by BSP_COM_Init().

#define EVAL_DMAx_CLK_ENABLE ( )    __DMA1_CLK_ENABLE()

Definition at line 298 of file stm324x9i_eval.h.

#define EVAL_I2Cx   I2C1

Definition at line 296 of file stm324x9i_eval.h.

#define EVAL_I2Cx_CLK_ENABLE ( )    __I2C1_CLK_ENABLE()

Definition at line 297 of file stm324x9i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_ER_IRQn   I2C1_ER_IRQn

Definition at line 312 of file stm324x9i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_EV_IRQn   I2C1_EV_IRQn

Definition at line 311 of file stm324x9i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_FORCE_RESET ( )    __I2C1_FORCE_RESET()

Definition at line 301 of file stm324x9i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_RELEASE_RESET ( )    __I2C1_RELEASE_RESET()

Definition at line 302 of file stm324x9i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_PIN   GPIO_PIN_6

Definition at line 305 of file stm324x9i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_SDA_AF   GPIO_AF4_I2C1

Definition at line 307 of file stm324x9i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_SDA_GPIO_CLK_ENABLE ( )    __GPIOB_CLK_ENABLE()

Definition at line 299 of file stm324x9i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_SDA_GPIO_PORT   GPIOB

Definition at line 306 of file stm324x9i_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SDA_PIN   GPIO_PIN_9

Definition at line 308 of file stm324x9i_eval.h.

Referenced by I2Cx_MspInit().

#define EXC7200_I2C_ADDRESS   0x08

Definition at line 280 of file stm324x9i_eval.h.

Referenced by BSP_TS_Init(), and I2Cx_ReadMultiple().

Definition at line 259 of file stm324x9i_eval.h.

Referenced by BSP_JOY_GetState(), and BSP_JOY_Init().

#define JOY_DOWN_PIN   IO_PIN_13

Definition at line 254 of file stm324x9i_eval.h.

Referenced by BSP_JOY_GetState().

#define JOY_LEFT_PIN   IO_PIN_12

Definition at line 255 of file stm324x9i_eval.h.

Referenced by BSP_JOY_GetState().

#define JOY_NONE_PIN   JOY_ALL_PINS

Definition at line 258 of file stm324x9i_eval.h.

Referenced by BSP_JOY_GetState().

#define JOY_RIGHT_PIN   IO_PIN_11

Definition at line 256 of file stm324x9i_eval.h.

Referenced by BSP_JOY_GetState().

#define JOY_SEL_PIN   IO_PIN_14

Joystick Pins definition.

Definition at line 253 of file stm324x9i_eval.h.

Referenced by BSP_JOY_GetState().

#define JOY_UP_PIN   IO_PIN_10

Definition at line 257 of file stm324x9i_eval.h.

Referenced by BSP_JOY_GetState().

#define LCD_INT_PIN   IO_PIN_4

Definition at line 268 of file stm324x9i_eval.h.

#define MII_INT_PIN   IO_PIN_1

Definition at line 265 of file stm324x9i_eval.h.

Definition at line 270 of file stm324x9i_eval.h.

Definition at line 271 of file stm324x9i_eval.h.

Definition at line 272 of file stm324x9i_eval.h.

Definition at line 273 of file stm324x9i_eval.h.

#define RSTI_PIN   IO_PIN_2

Definition at line 266 of file stm324x9i_eval.h.

#define SD_DETECT_PIN   IO_PIN_15

Definition at line 274 of file stm324x9i_eval.h.

Referenced by BSP_SD_IsDetected(), and BSP_SD_ITConfig().

#define TS3510_I2C_ADDRESS   0x80

Definition at line 279 of file stm324x9i_eval.h.

Referenced by BSP_TS3510_IsDetected(), and BSP_TS_Init().

#define TS_I2C_ADDRESS   0x82

Definition at line 278 of file stm324x9i_eval.h.

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

#define XSDN_PIN   IO_PIN_0

Eval Pins definition.

Definition at line 264 of file stm324x9i_eval.h.

Referenced by BSP_CAMERA_Init(), and BSP_CAMERA_Stop().

Generated on Wed Jan 13 2016 15:52:54 for STM324x9I_EVAL BSP User Manual by   doxygen 1.7.6.1