STM32F072B-Discovery BSP User Manual
|
Defines | |
#define | DISCOVERY_SPIx SPI2 |
#define | DISCOVERY_SPIx_CLOCK_ENABLE() __HAL_RCC_SPI2_CLK_ENABLE() |
#define | DISCOVERY_SPIx_GPIO_PORT GPIOB /* GPIOB */ |
#define | DISCOVERY_SPIx_AF GPIO_AF0_SPI2 |
#define | DISCOVERY_SPIx_GPIO_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE() |
#define | DISCOVERY_SPIx_GPIO_CLK_DISABLE() __HAL_RCC_GPIOB_CLK_DISABLE() |
#define | DISCOVERY_SPIx_SCK_PIN GPIO_PIN_13 /* PB.13 */ |
#define | DISCOVERY_SPIx_MISO_PIN GPIO_PIN_14 /* PB.14 */ |
#define | DISCOVERY_SPIx_MOSI_PIN GPIO_PIN_15 /* PB.15 */ |
#define | SPIx_TIMEOUT_MAX ((uint32_t)0x1000) |
#define | DISCOVERY_I2Cx I2C2 |
Definition for I2C Interface pins (I2C2 used) | |
#define | DISCOVERY_I2Cx_CLK_ENABLE() __HAL_RCC_I2C2_CLK_ENABLE() |
#define | DISCOVERY_I2Cx_CLK_DISABLE() __HAL_RCC_I2C2_CLK_DISABLE() |
#define | DISCOVERY_I2Cx_FORCE_RESET() __HAL_RCC_I2C2_FORCE_RESET() |
#define | DISCOVERY_I2Cx_RELEASE_RESET() __HAL_RCC_I2C2_RELEASE_RESET() |
#define | DISCOVERY_I2Cx_SCL_PIN GPIO_PIN_10 /* PB.10 */ |
#define | DISCOVERY_I2Cx_SDA_PIN GPIO_PIN_11 /* PB.11 */ |
#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_AF1_I2C2 |
#define | I2Cx_TIMEOUT_MAX ((uint32_t)0x10000) |
#define | DISCOVERY_I2Cx_TIMING 0x40B32537 |
#define | DISCOVERY_EEPROM_I2C_ADDRESS_A01 0xA0 |
Define Documentation
#define DISCOVERY_EEPROM_I2C_ADDRESS_A01 0xA0 |
Definition at line 217 of file stm32f072b_discovery.h.
Referenced by BSP_EEPROM_Init().
#define DISCOVERY_I2Cx I2C2 |
Definition for I2C Interface pins (I2C2 used)
Definition at line 193 of file stm32f072b_discovery.h.
Referenced by I2Cx_Init().
#define DISCOVERY_I2Cx_AF GPIO_AF1_I2C2 |
Definition at line 205 of file stm32f072b_discovery.h.
Referenced by I2Cx_MspInit().
#define DISCOVERY_I2Cx_CLK_DISABLE | ( | ) | __HAL_RCC_I2C2_CLK_DISABLE() |
Definition at line 195 of file stm32f072b_discovery.h.
#define DISCOVERY_I2Cx_CLK_ENABLE | ( | ) | __HAL_RCC_I2C2_CLK_ENABLE() |
Definition at line 194 of file stm32f072b_discovery.h.
Referenced by I2Cx_MspInit().
#define DISCOVERY_I2Cx_FORCE_RESET | ( | ) | __HAL_RCC_I2C2_FORCE_RESET() |
Definition at line 196 of file stm32f072b_discovery.h.
#define DISCOVERY_I2Cx_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOB_CLK_DISABLE() |
Definition at line 204 of file stm32f072b_discovery.h.
#define DISCOVERY_I2Cx_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOB_CLK_ENABLE() |
Definition at line 203 of file stm32f072b_discovery.h.
Referenced by I2Cx_MspInit().
#define DISCOVERY_I2Cx_GPIO_PORT GPIOB /* GPIOB */ |
Definition at line 202 of file stm32f072b_discovery.h.
Referenced by I2Cx_MspInit().
#define DISCOVERY_I2Cx_RELEASE_RESET | ( | ) | __HAL_RCC_I2C2_RELEASE_RESET() |
Definition at line 197 of file stm32f072b_discovery.h.
#define DISCOVERY_I2Cx_SCL_PIN GPIO_PIN_10 /* PB.10 */ |
Definition at line 199 of file stm32f072b_discovery.h.
Referenced by I2Cx_MspInit().
#define DISCOVERY_I2Cx_SDA_PIN GPIO_PIN_11 /* PB.11 */ |
Definition at line 200 of file stm32f072b_discovery.h.
Referenced by I2Cx_MspInit().
#define DISCOVERY_I2Cx_TIMING 0x40B32537 |
Definition at line 215 of file stm32f072b_discovery.h.
Referenced by I2Cx_Init().
#define DISCOVERY_SPIx SPI2 |
Definition at line 171 of file stm32f072b_discovery.h.
Referenced by SPIx_Init().
#define DISCOVERY_SPIx_AF GPIO_AF0_SPI2 |
Definition at line 174 of file stm32f072b_discovery.h.
Referenced by SPIx_MspInit().
#define DISCOVERY_SPIx_CLOCK_ENABLE | ( | ) | __HAL_RCC_SPI2_CLK_ENABLE() |
Definition at line 172 of file stm32f072b_discovery.h.
Referenced by SPIx_MspInit().
#define DISCOVERY_SPIx_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOB_CLK_DISABLE() |
Definition at line 176 of file stm32f072b_discovery.h.
#define DISCOVERY_SPIx_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOB_CLK_ENABLE() |
Definition at line 175 of file stm32f072b_discovery.h.
Referenced by SPIx_MspInit().
#define DISCOVERY_SPIx_GPIO_PORT GPIOB /* GPIOB */ |
Definition at line 173 of file stm32f072b_discovery.h.
Referenced by SPIx_MspInit().
#define DISCOVERY_SPIx_MISO_PIN GPIO_PIN_14 /* PB.14 */ |
Definition at line 178 of file stm32f072b_discovery.h.
Referenced by SPIx_MspInit().
#define DISCOVERY_SPIx_MOSI_PIN GPIO_PIN_15 /* PB.15 */ |
Definition at line 179 of file stm32f072b_discovery.h.
Referenced by SPIx_MspInit().
#define DISCOVERY_SPIx_SCK_PIN GPIO_PIN_13 /* PB.13 */ |
Definition at line 177 of file stm32f072b_discovery.h.
Referenced by SPIx_MspInit().
#define I2Cx_TIMEOUT_MAX ((uint32_t)0x10000) |
Definition at line 213 of file stm32f072b_discovery.h.
Referenced by EEPROM_IO_IsDeviceReady(), I2Cx_ReadData(), and I2Cx_WriteData().
#define SPIx_TIMEOUT_MAX ((uint32_t)0x1000) |
Definition at line 185 of file stm32f072b_discovery.h.
Generated on Wed Jul 5 2017 09:43:20 for STM32F072B-Discovery BSP User Manual by
![doxygen](doxygen.png)