#define AUDIO_I2C_ADDRESS 0x94 |
AUDIO I2C Interface pins.
Definition at line 236 of file stm32f411e_discovery.h.
#define AUDIO_RESET_GPIO GPIOD |
Definition at line 245 of file stm32f411e_discovery.h.
#define AUDIO_RESET_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOD_CLK_ENABLE() |
Definition at line 243 of file stm32f411e_discovery.h.
#define AUDIO_RESET_PIN GPIO_PIN_4 |
Definition at line 244 of file stm32f411e_discovery.h.
#define CODEC_AUDIO_POWER_OFF | ( | ) | HAL_GPIO_WritePin(AUDIO_RESET_GPIO, AUDIO_RESET_PIN, GPIO_PIN_RESET) |
Definition at line 239 of file stm32f411e_discovery.h.
#define CODEC_AUDIO_POWER_ON | ( | ) | HAL_GPIO_WritePin(AUDIO_RESET_GPIO, AUDIO_RESET_PIN, GPIO_PIN_SET) |
Definition at line 240 of file stm32f411e_discovery.h.
#define DISCOVERY_I2Cx I2C1 |
Definition at line 166 of file stm32f411e_discovery.h.
#define DISCOVERY_I2Cx_AF GPIO_AF4_I2C1 |
Definition at line 173 of file stm32f411e_discovery.h.
#define DISCOVERY_I2Cx_CLOCK_ENABLE | ( | ) | __HAL_RCC_I2C1_CLK_ENABLE() |
Definition at line 167 of file stm32f411e_discovery.h.
#define DISCOVERY_I2Cx_ER_IRQn I2C1_ER_IRQn |
Definition at line 180 of file stm32f411e_discovery.h.
#define DISCOVERY_I2Cx_EV_IRQn I2C1_EV_IRQn |
Definition at line 179 of file stm32f411e_discovery.h.
#define DISCOVERY_I2Cx_FORCE_RESET | ( | ) | __HAL_RCC_I2C1_FORCE_RESET() |
Definition at line 175 of file stm32f411e_discovery.h.
#define DISCOVERY_I2Cx_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOB_CLK_DISABLE() |
Definition at line 172 of file stm32f411e_discovery.h.
#define DISCOVERY_I2Cx_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOB_CLK_ENABLE() |
Definition at line 171 of file stm32f411e_discovery.h.
Definition at line 168 of file stm32f411e_discovery.h.
#define DISCOVERY_I2Cx_RELEASE_RESET | ( | ) | __HAL_RCC_I2C1_RELEASE_RESET() |
Definition at line 176 of file stm32f411e_discovery.h.
#define DISCOVERY_I2Cx_SCL_PIN GPIO_PIN_6 /* PB.06 */ |
Definition at line 169 of file stm32f411e_discovery.h.
#define DISCOVERY_I2Cx_SDA_PIN GPIO_PIN_9 /* PB.09 */ |
Definition at line 170 of file stm32f411e_discovery.h.
#define DISCOVERY_SPIx SPI1 |
Definition at line 187 of file stm32f411e_discovery.h.
#define DISCOVERY_SPIx_AF GPIO_AF5_SPI1 |
Definition at line 190 of file stm32f411e_discovery.h.
#define DISCOVERY_SPIx_CLOCK_ENABLE | ( | ) | __HAL_RCC_SPI1_CLK_ENABLE() |
Definition at line 188 of file stm32f411e_discovery.h.
#define DISCOVERY_SPIx_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOA_CLK_DISABLE() |
Definition at line 192 of file stm32f411e_discovery.h.
#define DISCOVERY_SPIx_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOA_CLK_ENABLE() |
Definition at line 191 of file stm32f411e_discovery.h.
Definition at line 189 of file stm32f411e_discovery.h.
#define DISCOVERY_SPIx_MISO_PIN GPIO_PIN_6 /* PA.06 */ |
Definition at line 194 of file stm32f411e_discovery.h.
#define DISCOVERY_SPIx_MOSI_PIN GPIO_PIN_7 /* PA.07 */ |
Definition at line 195 of file stm32f411e_discovery.h.
#define DISCOVERY_SPIx_SCK_PIN GPIO_PIN_5 /* PA.05 */ |
Definition at line 193 of file stm32f411e_discovery.h.
#define DUMMY_BYTE ((uint8_t)0x00) |
Definition at line 209 of file stm32f411e_discovery.h.
#define GYRO_CS_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOE_CLK_DISABLE() |
Definition at line 220 of file stm32f411e_discovery.h.
#define GYRO_CS_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOE_CLK_ENABLE() |
Definition at line 219 of file stm32f411e_discovery.h.
GYRO SPI Interface pins.
Definition at line 218 of file stm32f411e_discovery.h.
#define GYRO_CS_HIGH | ( | ) | HAL_GPIO_WritePin(GYRO_CS_GPIO_PORT, GYRO_CS_PIN, GPIO_PIN_SET) |
Definition at line 213 of file stm32f411e_discovery.h.
#define GYRO_CS_LOW | ( | ) | HAL_GPIO_WritePin(GYRO_CS_GPIO_PORT, GYRO_CS_PIN, GPIO_PIN_RESET) |
Definition at line 212 of file stm32f411e_discovery.h.
#define GYRO_CS_PIN GPIO_PIN_3 /* PE.03 */ |
Definition at line 221 of file stm32f411e_discovery.h.
#define GYRO_INT1_EXTI_IRQn EXTI0_IRQn |
Definition at line 227 of file stm32f411e_discovery.h.
#define GYRO_INT1_PIN GPIO_PIN_0 /* PE.00 */ |
Definition at line 226 of file stm32f411e_discovery.h.
#define GYRO_INT2_EXTI_IRQn EXTI1_IRQn |
Definition at line 229 of file stm32f411e_discovery.h.
#define GYRO_INT2_PIN GPIO_PIN_1 /* PE.01 */ |
Definition at line 228 of file stm32f411e_discovery.h.
#define GYRO_INT_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOE_CLK_DISABLE() |
Definition at line 225 of file stm32f411e_discovery.h.
#define GYRO_INT_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOE_CLK_ENABLE() |
Definition at line 224 of file stm32f411e_discovery.h.
Definition at line 223 of file stm32f411e_discovery.h.
#define I2Cx_MAX_COMMUNICATION_FREQ ((uint32_t) 100000) |
Definition at line 184 of file stm32f411e_discovery.h.
#define I2Cx_TIMEOUT_MAX 0xA000 /*<! The value of the maximal timeout for I2C waiting loops */ |
Definition at line 183 of file stm32f411e_discovery.h.
#define MULTIPLEBYTE_CMD ((uint8_t)0x40) |
Definition at line 207 of file stm32f411e_discovery.h.
#define READWRITE_CMD ((uint8_t)0x80) |
Definition at line 205 of file stm32f411e_discovery.h.
#define SPIx_TIMEOUT_MAX ((uint32_t)0x1000) |
Definition at line 201 of file stm32f411e_discovery.h.