#define ACCELERO_CS_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOE_CLK_DISABLE() |
Definition at line 230 of file stm32f4_discovery.h.
#define ACCELERO_CS_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOE_CLK_ENABLE() |
Definition at line 229 of file stm32f4_discovery.h.
Definition at line 228 of file stm32f4_discovery.h.
#define ACCELERO_CS_HIGH | ( | ) | HAL_GPIO_WritePin(ACCELERO_CS_GPIO_PORT, ACCELERO_CS_PIN, GPIO_PIN_SET) |
Definition at line 222 of file stm32f4_discovery.h.
#define ACCELERO_CS_LOW | ( | ) | HAL_GPIO_WritePin(ACCELERO_CS_GPIO_PORT, ACCELERO_CS_PIN, GPIO_PIN_RESET) |
Definition at line 221 of file stm32f4_discovery.h.
#define ACCELERO_CS_PIN GPIO_PIN_3 /* PE.03 */ |
ACCELEROMETER Interface pins.
Definition at line 227 of file stm32f4_discovery.h.
#define ACCELERO_INT1_EXTI_IRQn EXTI0_IRQn |
Definition at line 235 of file stm32f4_discovery.h.
#define ACCELERO_INT1_PIN GPIO_PIN_0 /* PE.00 */ |
Definition at line 234 of file stm32f4_discovery.h.
#define ACCELERO_INT2_EXTI_IRQn EXTI1_IRQn |
Definition at line 237 of file stm32f4_discovery.h.
#define ACCELERO_INT2_PIN GPIO_PIN_1 /* PE.01 */ |
Definition at line 236 of file stm32f4_discovery.h.
#define ACCELERO_INT_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOE_CLK_DISABLE() |
Definition at line 233 of file stm32f4_discovery.h.
#define ACCELERO_INT_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOE_CLK_ENABLE() |
Definition at line 232 of file stm32f4_discovery.h.
Definition at line 231 of file stm32f4_discovery.h.
#define BSP_I2C_SPEED 100000 |
Definition at line 185 of file stm32f4_discovery.h.
#define DISCOVERY_I2Cx I2C1 |
Definition at line 189 of file stm32f4_discovery.h.
#define DISCOVERY_I2Cx_CLK_ENABLE | ( | ) | __HAL_RCC_I2C1_CLK_ENABLE() |
Definition at line 190 of file stm32f4_discovery.h.
#define DISCOVERY_I2Cx_ER_IRQn I2C1_ER_IRQn |
Definition at line 202 of file stm32f4_discovery.h.
#define DISCOVERY_I2Cx_EV_IRQn I2C1_EV_IRQn |
Definition at line 201 of file stm32f4_discovery.h.
#define DISCOVERY_I2Cx_FORCE_RESET | ( | ) | __HAL_RCC_I2C1_FORCE_RESET() |
Definition at line 197 of file stm32f4_discovery.h.
#define DISCOVERY_I2Cx_RELEASE_RESET | ( | ) | __HAL_RCC_I2C1_RELEASE_RESET() |
Definition at line 198 of file stm32f4_discovery.h.
#define DISCOVERY_I2Cx_SCL_PIN GPIO_PIN_6 |
Definition at line 194 of file stm32f4_discovery.h.
#define DISCOVERY_I2Cx_SCL_SDA_AF GPIO_AF4_I2C1 |
Definition at line 192 of file stm32f4_discovery.h.
#define DISCOVERY_I2Cx_SCL_SDA_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOB_CLK_ENABLE() |
Definition at line 191 of file stm32f4_discovery.h.
#define DISCOVERY_I2Cx_SCL_SDA_GPIO_PORT GPIOB |
Definition at line 193 of file stm32f4_discovery.h.
#define DISCOVERY_I2Cx_SDA_PIN GPIO_PIN_9 |
Definition at line 195 of file stm32f4_discovery.h.
#define DISCOVERY_SPIx SPI1 |
Definition at line 164 of file stm32f4_discovery.h.
#define DISCOVERY_SPIx_AF GPIO_AF5_SPI1 |
Definition at line 167 of file stm32f4_discovery.h.
#define DISCOVERY_SPIx_CLK_ENABLE | ( | ) | __HAL_RCC_SPI1_CLK_ENABLE() |
Definition at line 165 of file stm32f4_discovery.h.
#define DISCOVERY_SPIx_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOA_CLK_DISABLE() |
Definition at line 169 of file stm32f4_discovery.h.
#define DISCOVERY_SPIx_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOA_CLK_ENABLE() |
Definition at line 168 of file stm32f4_discovery.h.
Definition at line 166 of file stm32f4_discovery.h.
#define DISCOVERY_SPIx_MISO_PIN GPIO_PIN_6 /* PA.06 */ |
Definition at line 171 of file stm32f4_discovery.h.
#define DISCOVERY_SPIx_MOSI_PIN GPIO_PIN_7 /* PA.07 */ |
Definition at line 172 of file stm32f4_discovery.h.
#define DISCOVERY_SPIx_SCK_PIN GPIO_PIN_5 /* PA.05 */ |
Definition at line 170 of file stm32f4_discovery.h.
#define DUMMY_BYTE ((uint8_t)0x00) |
Definition at line 218 of file stm32f4_discovery.h.
#define I2Cx_TIMEOUT_MAX 0x1000 /*<! The value of the maximal timeout for BUS waiting loops */ |
Definition at line 209 of file stm32f4_discovery.h.
#define MULTIPLEBYTE_CMD ((uint8_t)0x40) |
Definition at line 216 of file stm32f4_discovery.h.
#define READWRITE_CMD ((uint8_t)0x80) |
Definition at line 214 of file stm32f4_discovery.h.
#define SPIx_TIMEOUT_MAX 0x1000 /*<! The value of the maximal timeout for BUS waiting loops */ |
Definition at line 179 of file stm32f4_discovery.h.