STM3210E_EVAL BSP User Manual: STM3210E_EVAL_BUS

STM3210E EVAL BSP Drivers

STM3210E_EVAL BSP User Manual
STM3210E_EVAL_BUS

Defines

#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   SPI1
#define EVAL_SPIx_CLK_ENABLE()   __HAL_RCC_SPI1_CLK_ENABLE()
#define EVAL_SPIx_SCK_GPIO_PORT   GPIOA /* PA.05*/
#define EVAL_SPIx_SCK_PIN   GPIO_PIN_5
#define EVAL_SPIx_SCK_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
#define EVAL_SPIx_SCK_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOA_CLK_DISABLE()
#define EVAL_SPIx_MISO_MOSI_GPIO_PORT   GPIOA
#define EVAL_SPIx_MISO_MOSI_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
#define EVAL_SPIx_MISO_MOSI_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOA_CLK_DISABLE()
#define EVAL_SPIx_MISO_PIN   GPIO_PIN_6 /* PA.06*/
#define EVAL_SPIx_MOSI_PIN   GPIO_PIN_7 /* PA.07*/
#define EVAL_SPIx_TIMEOUT_MAX   1000

Define Documentation

#define EVAL_I2Cx   I2C1

Definition at line 386 of file stm3210e_eval.h.

Referenced by I2Cx_Init(), and I2Cx_MspInit().

#define EVAL_I2Cx_CLK_ENABLE ( )    __HAL_RCC_I2C1_CLK_ENABLE()

Definition at line 387 of file stm3210e_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_ER_IRQHandler   I2C1_ER_IRQHandler

Definition at line 398 of file stm3210e_eval.h.

#define EVAL_I2Cx_ER_IRQn   I2C1_ER_IRQn

Definition at line 397 of file stm3210e_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_EV_IRQHandler   I2C1_EV_IRQHandler

Definition at line 396 of file stm3210e_eval.h.

#define EVAL_I2Cx_EV_IRQn   I2C1_EV_IRQn

Definition at line 395 of file stm3210e_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_FORCE_RESET ( )    __HAL_RCC_I2C1_FORCE_RESET()

Definition at line 391 of file stm3210e_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_RELEASE_RESET ( )    __HAL_RCC_I2C1_RELEASE_RESET()

Definition at line 392 of file stm3210e_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 389 of file stm3210e_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_GPIO_PORT   GPIOB

Definition at line 381 of file stm3210e_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SCL_PIN   GPIO_PIN_6 /* PB.06*/

Definition at line 380 of file stm3210e_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SDA_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 388 of file stm3210e_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SDA_GPIO_PORT   GPIOB

Definition at line 383 of file stm3210e_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_SDA_PIN   GPIO_PIN_7 /* PB.07*/

Definition at line 382 of file stm3210e_eval.h.

Referenced by I2Cx_MspInit().

#define EVAL_I2Cx_TIMEOUT_MAX   3000

Definition at line 414 of file stm3210e_eval.h.

#define EVAL_SPIx   SPI1

Definition at line 417 of file stm3210e_eval.h.

Referenced by SPIx_Init().

#define EVAL_SPIx_CLK_ENABLE ( )    __HAL_RCC_SPI1_CLK_ENABLE()

Definition at line 418 of file stm3210e_eval.h.

Referenced by SPIx_MspInit().

#define EVAL_SPIx_MISO_MOSI_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 427 of file stm3210e_eval.h.

#define EVAL_SPIx_MISO_MOSI_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 426 of file stm3210e_eval.h.

Referenced by SPIx_MspInit().

#define EVAL_SPIx_MISO_MOSI_GPIO_PORT   GPIOA

Definition at line 425 of file stm3210e_eval.h.

Referenced by SPIx_MspInit().

#define EVAL_SPIx_MISO_PIN   GPIO_PIN_6 /* PA.06*/

Definition at line 428 of file stm3210e_eval.h.

Referenced by SPIx_MspInit().

#define EVAL_SPIx_MOSI_PIN   GPIO_PIN_7 /* PA.07*/

Definition at line 429 of file stm3210e_eval.h.

Referenced by SPIx_MspInit().

#define EVAL_SPIx_SCK_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 423 of file stm3210e_eval.h.

#define EVAL_SPIx_SCK_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 422 of file stm3210e_eval.h.

Referenced by SPIx_MspInit().

#define EVAL_SPIx_SCK_GPIO_PORT   GPIOA /* PA.05*/

Definition at line 420 of file stm3210e_eval.h.

Referenced by SPIx_MspInit().

#define EVAL_SPIx_SCK_PIN   GPIO_PIN_5

Definition at line 421 of file stm3210e_eval.h.

Referenced by SPIx_MspInit().

#define EVAL_SPIx_TIMEOUT_MAX   1000

Definition at line 435 of file stm3210e_eval.h.

Generated on Thu Dec 10 2015 17:39:43 for STM3210E_EVAL BSP User Manual by   doxygen 1.7.6.1