STM32F3-Discovery BSP User Manual: STM32F3-DISCOVERY COM

STM32F3-Discovery BSP Drivers

STM32F3-Discovery BSP User Manual
STM32F3-DISCOVERY COM

Defines

#define DISCOVERY_SPIx   SPI1
 Definition for SPI Interface pins (SPI1 used)
#define DISCOVERY_SPIx_CLK_ENABLE()   __HAL_RCC_SPI1_CLK_ENABLE()
#define DISCOVERY_SPIx_GPIO_PORT   GPIOA /* GPIOA */
#define DISCOVERY_SPIx_AF   GPIO_AF5_SPI1
#define DISCOVERY_SPIx_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
#define DISCOVERY_SPIx_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOA_CLK_DISABLE()
#define DISCOVERY_SPIx_SCK_PIN   GPIO_PIN_5 /* PA.05 */
#define DISCOVERY_SPIx_MISO_PIN   GPIO_PIN_6 /* PA.06 */
#define DISCOVERY_SPIx_MOSI_PIN   GPIO_PIN_7 /* PA.07 */
#define SPIx_TIMEOUT_MAX   ((uint32_t)0x1000)
#define DISCOVERY_I2Cx   I2C1
 Definition for I2C Interface pins (I2C1 used)
#define DISCOVERY_I2Cx_CLK_ENABLE()   __HAL_RCC_I2C1_CLK_ENABLE()
#define DISCOVERY_I2Cx_CLK_DISABLE()   __HAL_RCC_I2C1_CLK_DISABLE()
#define DISCOVERY_I2Cx_FORCE_RESET()   __HAL_RCC_I2C1_FORCE_RESET()
#define DISCOVERY_I2Cx_RELEASE_RESET()   __HAL_RCC_I2C1_RELEASE_RESET()
#define DISCOVERY_I2Cx_SCL_PIN   GPIO_PIN_6 /* PB.06 */
#define DISCOVERY_I2Cx_SDA_PIN   GPIO_PIN_7 /* PB.07 */
#define DISCOVERY_I2Cx_GPIO_PORT   GPIOB /* GPIOB */
#define DISCOVERY_I2Cx_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define DISCOVERY_I2Cx_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define DISCOVERY_I2Cx_AF   GPIO_AF4_I2C1
#define I2Cx_TIMEOUT_MAX   0x10000

Define Documentation

#define DISCOVERY_I2Cx   I2C1

Definition for I2C Interface pins (I2C1 used)

Definition at line 253 of file stm32f3_discovery.h.

Referenced by I2Cx_Init().

#define DISCOVERY_I2Cx_AF   GPIO_AF4_I2C1

Definition at line 265 of file stm32f3_discovery.h.

Referenced by I2Cx_MspInit().

#define DISCOVERY_I2Cx_CLK_DISABLE ( )    __HAL_RCC_I2C1_CLK_DISABLE()

Definition at line 255 of file stm32f3_discovery.h.

#define DISCOVERY_I2Cx_CLK_ENABLE ( )    __HAL_RCC_I2C1_CLK_ENABLE()

Definition at line 254 of file stm32f3_discovery.h.

Referenced by I2Cx_MspInit().

#define DISCOVERY_I2Cx_FORCE_RESET ( )    __HAL_RCC_I2C1_FORCE_RESET()

Definition at line 256 of file stm32f3_discovery.h.

#define DISCOVERY_I2Cx_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 264 of file stm32f3_discovery.h.

#define DISCOVERY_I2Cx_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 263 of file stm32f3_discovery.h.

Referenced by I2Cx_MspInit().

#define DISCOVERY_I2Cx_GPIO_PORT   GPIOB /* GPIOB */

Definition at line 262 of file stm32f3_discovery.h.

Referenced by I2Cx_MspInit().

#define DISCOVERY_I2Cx_RELEASE_RESET ( )    __HAL_RCC_I2C1_RELEASE_RESET()

Definition at line 257 of file stm32f3_discovery.h.

#define DISCOVERY_I2Cx_SCL_PIN   GPIO_PIN_6 /* PB.06 */

Definition at line 259 of file stm32f3_discovery.h.

Referenced by I2Cx_MspInit().

#define DISCOVERY_I2Cx_SDA_PIN   GPIO_PIN_7 /* PB.07 */

Definition at line 260 of file stm32f3_discovery.h.

Referenced by I2Cx_MspInit().

#define DISCOVERY_SPIx   SPI1

Definition for SPI Interface pins (SPI1 used)

Definition at line 233 of file stm32f3_discovery.h.

Referenced by SPIx_Init().

#define DISCOVERY_SPIx_AF   GPIO_AF5_SPI1

Definition at line 236 of file stm32f3_discovery.h.

Referenced by SPIx_MspInit().

#define DISCOVERY_SPIx_CLK_ENABLE ( )    __HAL_RCC_SPI1_CLK_ENABLE()

Definition at line 234 of file stm32f3_discovery.h.

Referenced by SPIx_MspInit().

#define DISCOVERY_SPIx_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 238 of file stm32f3_discovery.h.

#define DISCOVERY_SPIx_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 237 of file stm32f3_discovery.h.

Referenced by SPIx_MspInit().

#define DISCOVERY_SPIx_GPIO_PORT   GPIOA /* GPIOA */

Definition at line 235 of file stm32f3_discovery.h.

Referenced by SPIx_MspInit().

#define DISCOVERY_SPIx_MISO_PIN   GPIO_PIN_6 /* PA.06 */

Definition at line 240 of file stm32f3_discovery.h.

Referenced by SPIx_MspInit().

#define DISCOVERY_SPIx_MOSI_PIN   GPIO_PIN_7 /* PA.07 */

Definition at line 241 of file stm32f3_discovery.h.

Referenced by SPIx_MspInit().

#define DISCOVERY_SPIx_SCK_PIN   GPIO_PIN_5 /* PA.05 */

Definition at line 239 of file stm32f3_discovery.h.

Referenced by SPIx_MspInit().

#define I2Cx_TIMEOUT_MAX   0x10000

Definition at line 272 of file stm32f3_discovery.h.

#define SPIx_TIMEOUT_MAX   ((uint32_t)0x1000)

Definition at line 247 of file stm32f3_discovery.h.

Generated on Wed May 31 2017 10:47:41 for STM32F3-Discovery BSP User Manual by   doxygen 1.7.6.1