STM3210C_EVAL BSP User Manual: STM3210C EVAL BUS

STM3210C_EVAL BSP

STM3210C_EVAL BSP User Manual

Defines

#define IOE_IT_PIN   GPIO_PIN_14
 IO Expander Interrupt line on EXTI.
#define IOE_IT_GPIO_PORT   GPIOB
#define IOE_IT_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define IOE_IT_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define IOE_IT_EXTI_IRQn   EXTI15_10_IRQn
#define IOE_IT_EXTI_IRQHANDLER   EXTI15_10_IRQHandler
#define IO1_I2C_ADDRESS   0x82
#define IO2_I2C_ADDRESS   0x88
#define TS_I2C_ADDRESS   0x82
#define L1S302DL_I2C_ADDRESS   0x38
#define READWRITE_CMD   ((uint8_t)0x80)
#define MULTIPLEBYTE_CMD   ((uint8_t)0x40)
#define EVAL_I2Cx_SCL_PIN   GPIO_PIN_6 /* PB.06*/
#define EVAL_I2Cx_SCL_GPIO_PORT   GPIOB
#define EVAL_I2Cx_SDA_PIN   GPIO_PIN_7 /* PB.07*/
#define EVAL_I2Cx_SDA_GPIO_PORT   GPIOB
#define EVAL_I2Cx   I2C1
#define EVAL_I2Cx_CLK_ENABLE()   __HAL_RCC_I2C1_CLK_ENABLE()
#define EVAL_I2Cx_SDA_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define EVAL_I2Cx_SCL_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_EV_IRQn   I2C1_EV_IRQn
#define EVAL_I2Cx_EV_IRQHandler   I2C1_EV_IRQHandler
#define EVAL_I2Cx_ER_IRQn   I2C1_ER_IRQn
#define EVAL_I2Cx_ER_IRQHandler   I2C1_ER_IRQHandler
#define EVAL_I2Cx_TIMEOUT_MAX   3000
#define EVAL_SPIx   SPI3
#define EVAL_SPIx_CLK_ENABLE()   __HAL_RCC_SPI3_CLK_ENABLE()
#define EVAL_SPIx_SCK_GPIO_PORT   GPIOC /* PC.10*/
#define EVAL_SPIx_SCK_PIN   GPIO_PIN_10
#define EVAL_SPIx_SCK_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOC_CLK_ENABLE()
#define EVAL_SPIx_SCK_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOC_CLK_DISABLE()
#define EVAL_SPIx_MISO_MOSI_GPIO_PORT   GPIOC
#define EVAL_SPIx_MISO_MOSI_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOC_CLK_ENABLE()
#define EVAL_SPIx_MISO_MOSI_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOC_CLK_DISABLE()
#define EVAL_SPIx_MISO_PIN   GPIO_PIN_11 /* PC.11*/
#define EVAL_SPIx_MOSI_PIN   GPIO_PIN_12 /* PC.12*/
#define EVAL_SPIx_TIMEOUT_MAX   1000

Define Documentation

#define EVAL_I2Cx   I2C1

Definition at line 340 of file stm3210c_eval.h.

Referenced by I2Cx_Init(), and I2Cx_MspInit().

#define EVAL_I2Cx_CLK_ENABLE ( )    __HAL_RCC_I2C1_CLK_ENABLE()

Definition at line 341 of file stm3210c_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_ER_IRQHandler   I2C1_ER_IRQHandler

Definition at line 352 of file stm3210c_eval.h.

#define EVAL_I2Cx_ER_IRQn   I2C1_ER_IRQn

Definition at line 351 of file stm3210c_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_EV_IRQHandler   I2C1_EV_IRQHandler

Definition at line 350 of file stm3210c_eval.h.

#define EVAL_I2Cx_EV_IRQn   I2C1_EV_IRQn

Definition at line 349 of file stm3210c_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_FORCE_RESET ( )    __HAL_RCC_I2C1_FORCE_RESET()

Definition at line 345 of file stm3210c_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_RELEASE_RESET ( )    __HAL_RCC_I2C1_RELEASE_RESET()

Definition at line 346 of file stm3210c_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 343 of file stm3210c_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_GPIO_PORT   GPIOB

Definition at line 335 of file stm3210c_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_PIN   GPIO_PIN_6 /* PB.06*/

Definition at line 334 of file stm3210c_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SDA_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 342 of file stm3210c_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SDA_GPIO_PORT   GPIOB

Definition at line 337 of file stm3210c_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SDA_PIN   GPIO_PIN_7 /* PB.07*/

Definition at line 336 of file stm3210c_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_TIMEOUT_MAX   3000

Definition at line 365 of file stm3210c_eval.h.

#define EVAL_SPIx   SPI3

Definition at line 368 of file stm3210c_eval.h.

Referenced by SPIx_Init().

#define EVAL_SPIx_CLK_ENABLE ( )    __HAL_RCC_SPI3_CLK_ENABLE()

Definition at line 369 of file stm3210c_eval.h.

Referenced by SPIx_MspInit().

#define EVAL_SPIx_MISO_MOSI_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOC_CLK_DISABLE()

Definition at line 378 of file stm3210c_eval.h.

#define EVAL_SPIx_MISO_MOSI_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 377 of file stm3210c_eval.h.

Referenced by SPIx_MspInit().

#define EVAL_SPIx_MISO_MOSI_GPIO_PORT   GPIOC

Definition at line 376 of file stm3210c_eval.h.

Referenced by SPIx_MspInit().

#define EVAL_SPIx_MISO_PIN   GPIO_PIN_11 /* PC.11*/

Definition at line 379 of file stm3210c_eval.h.

Referenced by SPIx_MspInit().

#define EVAL_SPIx_MOSI_PIN   GPIO_PIN_12 /* PC.12*/

Definition at line 380 of file stm3210c_eval.h.

Referenced by SPIx_MspInit().

#define EVAL_SPIx_SCK_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOC_CLK_DISABLE()

Definition at line 374 of file stm3210c_eval.h.

#define EVAL_SPIx_SCK_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 373 of file stm3210c_eval.h.

Referenced by SPIx_MspInit().

#define EVAL_SPIx_SCK_GPIO_PORT   GPIOC /* PC.10*/

Definition at line 371 of file stm3210c_eval.h.

Referenced by SPIx_MspInit().

#define EVAL_SPIx_SCK_PIN   GPIO_PIN_10

Definition at line 372 of file stm3210c_eval.h.

Referenced by SPIx_MspInit().

#define EVAL_SPIx_TIMEOUT_MAX   1000

Definition at line 386 of file stm3210c_eval.h.

#define IOE_IT_EXTI_IRQHANDLER   EXTI15_10_IRQHandler

Definition at line 310 of file stm3210c_eval.h.

#define IOE_IT_EXTI_IRQn   EXTI15_10_IRQn

Definition at line 309 of file stm3210c_eval.h.

Referenced by I2Cx_ITConfig().

#define IOE_IT_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 308 of file stm3210c_eval.h.

#define IOE_IT_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 307 of file stm3210c_eval.h.

Referenced by I2Cx_ITConfig().

#define IOE_IT_GPIO_PORT   GPIOB

Definition at line 306 of file stm3210c_eval.h.

Referenced by I2Cx_ITConfig().

#define IOE_IT_PIN   GPIO_PIN_14

IO Expander Interrupt line on EXTI.

Definition at line 305 of file stm3210c_eval.h.

Referenced by I2Cx_ITConfig().

#define L1S302DL_I2C_ADDRESS   0x38

Definition at line 321 of file stm3210c_eval.h.

Referenced by ACCELERO_IO_Read(), and ACCELERO_IO_Write().

#define MULTIPLEBYTE_CMD   ((uint8_t)0x40)

Definition at line 328 of file stm3210c_eval.h.

#define READWRITE_CMD   ((uint8_t)0x80)

Definition at line 326 of file stm3210c_eval.h.

#define TS_I2C_ADDRESS   0x82
Generated on Fri Apr 14 2017 13:00:47 for STM3210C_EVAL BSP User Manual by   doxygen 1.7.6.1