STM32F072B-Discovery BSP User Manual
|
Defines | |
#define | READWRITE_CMD ((uint8_t)0x80) |
#define | MULTIPLEBYTE_CMD ((uint8_t)0x40) |
#define | DUMMY_BYTE ((uint8_t)0x00) |
#define | GYRO_CS_LOW() HAL_GPIO_WritePin(GYRO_CS_GPIO_PORT, GYRO_CS_PIN, GPIO_PIN_RESET) |
#define | GYRO_CS_HIGH() HAL_GPIO_WritePin(GYRO_CS_GPIO_PORT, GYRO_CS_PIN, GPIO_PIN_SET) |
#define | GYRO_CS_GPIO_PORT GPIOC /* GPIOC */ |
GYRO SPI Interface pins. | |
#define | GYRO_CS_GPIO_CLK_ENABLE() __HAL_RCC_GPIOC_CLK_ENABLE() |
#define | GYRO_CS_GPIO_CLK_DISABLE() __HAL_RCC_GPIOC_CLK_DISABLE() |
#define | GYRO_CS_PIN GPIO_PIN_0 /* PC.00 */ |
#define | GYRO_INT_GPIO_PORT GPIOC /* GPIOC */ |
#define | GYRO_INT_GPIO_CLK_ENABLE() __HAL_RCC_GPIOC_CLK_ENABLE() |
#define | GYRO_INT_GPIO_CLK_DISABLE() __HAL_RCC_GPIOC_CLK_DISABLE() |
#define | GYRO_INT1_PIN GPIO_PIN_1 /* PC.01 */ |
#define | GYRO_INT1_EXTI_IRQn EXTI0_1_IRQn |
#define | GYRO_INT2_PIN GPIO_PIN_2 /* PC.02 */ |
#define | GYRO_INT2_EXTI_IRQn EXTI2_3_IRQn |
#define | DISCOVERY_EEPROM_DMA DMA1 |
I2C EEPROM Interface pins. | |
#define | DISCOVERY_EEPROM_DMA_CHANNEL_TX DMA1_Channel4 |
#define | DISCOVERY_EEPROM_DMA_CHANNEL_RX DMA1_Channel5 |
#define | DISCOVERY_EEPROM_DMA_CLK_ENABLE() __HAL_RCC_DMA1_CLK_ENABLE() |
#define | DISCOVERY_EEPROM_DMA_CLK_DISABLE() __HAL_RCC_DMA1_CLK_DISABLE() |
#define | DISCOVERY_EEPROM_DMA_TX_IRQn DMA1_Channel4_5_6_7_IRQn |
#define | DISCOVERY_EEPROM_DMA_RX_IRQn DMA1_Channel4_5_6_7_IRQn |
#define | DISCOVERY_EEPROM_DMA_PREPRIO 0 |
#define | DISCOVERY_EEPROM_DMA_SUBPRIO 0 |
Define Documentation
#define DISCOVERY_EEPROM_DMA DMA1 |
I2C EEPROM Interface pins.
Definition at line 260 of file stm32f072b_discovery.h.
#define DISCOVERY_EEPROM_DMA_CHANNEL_RX DMA1_Channel5 |
Definition at line 262 of file stm32f072b_discovery.h.
Referenced by I2Cx_MspInit().
#define DISCOVERY_EEPROM_DMA_CHANNEL_TX DMA1_Channel4 |
Definition at line 261 of file stm32f072b_discovery.h.
Referenced by I2Cx_MspInit().
#define DISCOVERY_EEPROM_DMA_CLK_DISABLE | ( | ) | __HAL_RCC_DMA1_CLK_DISABLE() |
Definition at line 264 of file stm32f072b_discovery.h.
#define DISCOVERY_EEPROM_DMA_CLK_ENABLE | ( | ) | __HAL_RCC_DMA1_CLK_ENABLE() |
Definition at line 263 of file stm32f072b_discovery.h.
Referenced by I2Cx_MspInit().
#define DISCOVERY_EEPROM_DMA_PREPRIO 0 |
Definition at line 268 of file stm32f072b_discovery.h.
Referenced by I2Cx_MspInit().
#define DISCOVERY_EEPROM_DMA_RX_IRQn DMA1_Channel4_5_6_7_IRQn |
Definition at line 267 of file stm32f072b_discovery.h.
Referenced by I2Cx_MspInit().
#define DISCOVERY_EEPROM_DMA_SUBPRIO 0 |
Definition at line 269 of file stm32f072b_discovery.h.
Referenced by I2Cx_MspInit().
#define DISCOVERY_EEPROM_DMA_TX_IRQn DMA1_Channel4_5_6_7_IRQn |
Definition at line 266 of file stm32f072b_discovery.h.
Referenced by I2Cx_MspInit().
#define DUMMY_BYTE ((uint8_t)0x00) |
Definition at line 234 of file stm32f072b_discovery.h.
Referenced by GYRO_IO_Read().
#define GYRO_CS_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOC_CLK_DISABLE() |
Definition at line 245 of file stm32f072b_discovery.h.
#define GYRO_CS_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOC_CLK_ENABLE() |
Definition at line 244 of file stm32f072b_discovery.h.
Referenced by GYRO_IO_Init().
#define GYRO_CS_GPIO_PORT GPIOC /* GPIOC */ |
GYRO SPI Interface pins.
Definition at line 243 of file stm32f072b_discovery.h.
Referenced by GYRO_IO_Init().
#define GYRO_CS_HIGH | ( | ) | HAL_GPIO_WritePin(GYRO_CS_GPIO_PORT, GYRO_CS_PIN, GPIO_PIN_SET) |
Definition at line 238 of file stm32f072b_discovery.h.
Referenced by GYRO_IO_Init(), GYRO_IO_Read(), and GYRO_IO_Write().
#define GYRO_CS_LOW | ( | ) | HAL_GPIO_WritePin(GYRO_CS_GPIO_PORT, GYRO_CS_PIN, GPIO_PIN_RESET) |
Definition at line 237 of file stm32f072b_discovery.h.
Referenced by GYRO_IO_Read(), and GYRO_IO_Write().
#define GYRO_CS_PIN GPIO_PIN_0 /* PC.00 */ |
Definition at line 246 of file stm32f072b_discovery.h.
Referenced by GYRO_IO_Init().
#define GYRO_INT1_EXTI_IRQn EXTI0_1_IRQn |
Definition at line 252 of file stm32f072b_discovery.h.
#define GYRO_INT1_PIN GPIO_PIN_1 /* PC.01 */ |
Definition at line 251 of file stm32f072b_discovery.h.
Referenced by GYRO_IO_Init().
#define GYRO_INT2_EXTI_IRQn EXTI2_3_IRQn |
Definition at line 254 of file stm32f072b_discovery.h.
#define GYRO_INT2_PIN GPIO_PIN_2 /* PC.02 */ |
Definition at line 253 of file stm32f072b_discovery.h.
Referenced by GYRO_IO_Init().
#define GYRO_INT_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOC_CLK_DISABLE() |
Definition at line 250 of file stm32f072b_discovery.h.
#define GYRO_INT_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOC_CLK_ENABLE() |
Definition at line 249 of file stm32f072b_discovery.h.
Referenced by GYRO_IO_Init().
#define GYRO_INT_GPIO_PORT GPIOC /* GPIOC */ |
Definition at line 248 of file stm32f072b_discovery.h.
Referenced by GYRO_IO_Init().
#define MULTIPLEBYTE_CMD ((uint8_t)0x40) |
Definition at line 232 of file stm32f072b_discovery.h.
Referenced by GYRO_IO_Read(), and GYRO_IO_Write().
#define READWRITE_CMD ((uint8_t)0x80) |
Definition at line 230 of file stm32f072b_discovery.h.
Referenced by GYRO_IO_Read().
Generated on Wed Jul 5 2017 09:43:20 for STM32F072B-Discovery BSP User Manual by
![doxygen](doxygen.png)