Macros
Collaboration diagram for STM32F4 DISCOVERY LOW LEVEL BUS:

Macros

#define ACCELERO_CS_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOE_CLK_DISABLE()
 
#define ACCELERO_CS_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOE_CLK_ENABLE()
 
#define ACCELERO_CS_GPIO_PORT   GPIOE /* GPIOE */
 
#define ACCELERO_CS_HIGH()   HAL_GPIO_WritePin(ACCELERO_CS_GPIO_PORT, ACCELERO_CS_PIN, GPIO_PIN_SET)
 
#define ACCELERO_CS_LOW()   HAL_GPIO_WritePin(ACCELERO_CS_GPIO_PORT, ACCELERO_CS_PIN, GPIO_PIN_RESET)
 
#define ACCELERO_CS_PIN   GPIO_PIN_3 /* PE.03 */
 ACCELEROMETER Interface pins. More...
 
#define ACCELERO_INT1_EXTI_IRQn   EXTI0_IRQn
 
#define ACCELERO_INT1_PIN   GPIO_PIN_0 /* PE.00 */
 
#define ACCELERO_INT2_EXTI_IRQn   EXTI1_IRQn
 
#define ACCELERO_INT2_PIN   GPIO_PIN_1 /* PE.01 */
 
#define ACCELERO_INT_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOE_CLK_DISABLE()
 
#define ACCELERO_INT_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOE_CLK_ENABLE()
 
#define ACCELERO_INT_GPIO_PORT   GPIOE /* GPIOE */
 
#define BSP_I2C_SPEED   100000
 
#define DISCOVERY_I2Cx   I2C1
 
#define DISCOVERY_I2Cx_CLK_ENABLE()   __HAL_RCC_I2C1_CLK_ENABLE()
 
#define DISCOVERY_I2Cx_ER_IRQn   I2C1_ER_IRQn
 
#define DISCOVERY_I2Cx_EV_IRQn   I2C1_EV_IRQn
 
#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
 
#define DISCOVERY_I2Cx_SCL_SDA_AF   GPIO_AF4_I2C1
 
#define DISCOVERY_I2Cx_SCL_SDA_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
 
#define DISCOVERY_I2Cx_SCL_SDA_GPIO_PORT   GPIOB
 
#define DISCOVERY_I2Cx_SDA_PIN   GPIO_PIN_9
 
#define DISCOVERY_SPIx   SPI1
 
#define DISCOVERY_SPIx_AF   GPIO_AF5_SPI1
 
#define DISCOVERY_SPIx_CLK_ENABLE()   __HAL_RCC_SPI1_CLK_ENABLE()
 
#define DISCOVERY_SPIx_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOA_CLK_DISABLE()
 
#define DISCOVERY_SPIx_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
 
#define DISCOVERY_SPIx_GPIO_PORT   GPIOA /* GPIOA */
 
#define DISCOVERY_SPIx_MISO_PIN   GPIO_PIN_6 /* PA.06 */
 
#define DISCOVERY_SPIx_MOSI_PIN   GPIO_PIN_7 /* PA.07 */
 
#define DISCOVERY_SPIx_SCK_PIN   GPIO_PIN_5 /* PA.05 */
 
#define DUMMY_BYTE   ((uint8_t)0x00)
 
#define I2Cx_TIMEOUT_MAX   0x1000 /*<! The value of the maximal timeout for BUS waiting loops */
 
#define MULTIPLEBYTE_CMD   ((uint8_t)0x40)
 
#define READWRITE_CMD   ((uint8_t)0x80)
 
#define SPIx_TIMEOUT_MAX   0x1000 /*<! The value of the maximal timeout for BUS waiting loops */
 

Detailed Description

Macro Definition Documentation

◆ ACCELERO_CS_GPIO_CLK_DISABLE

#define ACCELERO_CS_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOE_CLK_DISABLE()

Definition at line 230 of file stm32f4_discovery.h.

◆ ACCELERO_CS_GPIO_CLK_ENABLE

#define ACCELERO_CS_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 229 of file stm32f4_discovery.h.

◆ ACCELERO_CS_GPIO_PORT

#define ACCELERO_CS_GPIO_PORT   GPIOE /* GPIOE */

Definition at line 228 of file stm32f4_discovery.h.

◆ ACCELERO_CS_HIGH

Definition at line 222 of file stm32f4_discovery.h.

◆ ACCELERO_CS_LOW

Definition at line 221 of file stm32f4_discovery.h.

◆ ACCELERO_CS_PIN

#define ACCELERO_CS_PIN   GPIO_PIN_3 /* PE.03 */

ACCELEROMETER Interface pins.

Definition at line 227 of file stm32f4_discovery.h.

◆ ACCELERO_INT1_EXTI_IRQn

#define ACCELERO_INT1_EXTI_IRQn   EXTI0_IRQn

Definition at line 235 of file stm32f4_discovery.h.

◆ ACCELERO_INT1_PIN

#define ACCELERO_INT1_PIN   GPIO_PIN_0 /* PE.00 */

Definition at line 234 of file stm32f4_discovery.h.

◆ ACCELERO_INT2_EXTI_IRQn

#define ACCELERO_INT2_EXTI_IRQn   EXTI1_IRQn

Definition at line 237 of file stm32f4_discovery.h.

◆ ACCELERO_INT2_PIN

#define ACCELERO_INT2_PIN   GPIO_PIN_1 /* PE.01 */

Definition at line 236 of file stm32f4_discovery.h.

◆ ACCELERO_INT_GPIO_CLK_DISABLE

#define ACCELERO_INT_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOE_CLK_DISABLE()

Definition at line 233 of file stm32f4_discovery.h.

◆ ACCELERO_INT_GPIO_CLK_ENABLE

#define ACCELERO_INT_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 232 of file stm32f4_discovery.h.

◆ ACCELERO_INT_GPIO_PORT

#define ACCELERO_INT_GPIO_PORT   GPIOE /* GPIOE */

Definition at line 231 of file stm32f4_discovery.h.

◆ BSP_I2C_SPEED

#define BSP_I2C_SPEED   100000

Definition at line 185 of file stm32f4_discovery.h.

◆ DISCOVERY_I2Cx

#define DISCOVERY_I2Cx   I2C1

Definition at line 189 of file stm32f4_discovery.h.

◆ DISCOVERY_I2Cx_CLK_ENABLE

#define DISCOVERY_I2Cx_CLK_ENABLE ( )    __HAL_RCC_I2C1_CLK_ENABLE()

Definition at line 190 of file stm32f4_discovery.h.

◆ DISCOVERY_I2Cx_ER_IRQn

#define DISCOVERY_I2Cx_ER_IRQn   I2C1_ER_IRQn

Definition at line 202 of file stm32f4_discovery.h.

◆ DISCOVERY_I2Cx_EV_IRQn

#define DISCOVERY_I2Cx_EV_IRQn   I2C1_EV_IRQn

Definition at line 201 of file stm32f4_discovery.h.

◆ DISCOVERY_I2Cx_FORCE_RESET

#define DISCOVERY_I2Cx_FORCE_RESET ( )    __HAL_RCC_I2C1_FORCE_RESET()

Definition at line 197 of file stm32f4_discovery.h.

◆ DISCOVERY_I2Cx_RELEASE_RESET

#define DISCOVERY_I2Cx_RELEASE_RESET ( )    __HAL_RCC_I2C1_RELEASE_RESET()

Definition at line 198 of file stm32f4_discovery.h.

◆ DISCOVERY_I2Cx_SCL_PIN

#define DISCOVERY_I2Cx_SCL_PIN   GPIO_PIN_6

Definition at line 194 of file stm32f4_discovery.h.

◆ DISCOVERY_I2Cx_SCL_SDA_AF

#define DISCOVERY_I2Cx_SCL_SDA_AF   GPIO_AF4_I2C1

Definition at line 192 of file stm32f4_discovery.h.

◆ DISCOVERY_I2Cx_SCL_SDA_GPIO_CLK_ENABLE

#define DISCOVERY_I2Cx_SCL_SDA_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 191 of file stm32f4_discovery.h.

◆ DISCOVERY_I2Cx_SCL_SDA_GPIO_PORT

#define DISCOVERY_I2Cx_SCL_SDA_GPIO_PORT   GPIOB

Definition at line 193 of file stm32f4_discovery.h.

◆ DISCOVERY_I2Cx_SDA_PIN

#define DISCOVERY_I2Cx_SDA_PIN   GPIO_PIN_9

Definition at line 195 of file stm32f4_discovery.h.

◆ DISCOVERY_SPIx

#define DISCOVERY_SPIx   SPI1

Definition at line 164 of file stm32f4_discovery.h.

◆ DISCOVERY_SPIx_AF

#define DISCOVERY_SPIx_AF   GPIO_AF5_SPI1

Definition at line 167 of file stm32f4_discovery.h.

◆ DISCOVERY_SPIx_CLK_ENABLE

#define DISCOVERY_SPIx_CLK_ENABLE ( )    __HAL_RCC_SPI1_CLK_ENABLE()

Definition at line 165 of file stm32f4_discovery.h.

◆ DISCOVERY_SPIx_GPIO_CLK_DISABLE

#define DISCOVERY_SPIx_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 169 of file stm32f4_discovery.h.

◆ DISCOVERY_SPIx_GPIO_CLK_ENABLE

#define DISCOVERY_SPIx_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 168 of file stm32f4_discovery.h.

◆ DISCOVERY_SPIx_GPIO_PORT

#define DISCOVERY_SPIx_GPIO_PORT   GPIOA /* GPIOA */

Definition at line 166 of file stm32f4_discovery.h.

◆ DISCOVERY_SPIx_MISO_PIN

#define DISCOVERY_SPIx_MISO_PIN   GPIO_PIN_6 /* PA.06 */

Definition at line 171 of file stm32f4_discovery.h.

◆ DISCOVERY_SPIx_MOSI_PIN

#define DISCOVERY_SPIx_MOSI_PIN   GPIO_PIN_7 /* PA.07 */

Definition at line 172 of file stm32f4_discovery.h.

◆ DISCOVERY_SPIx_SCK_PIN

#define DISCOVERY_SPIx_SCK_PIN   GPIO_PIN_5 /* PA.05 */

Definition at line 170 of file stm32f4_discovery.h.

◆ DUMMY_BYTE

#define DUMMY_BYTE   ((uint8_t)0x00)

Definition at line 218 of file stm32f4_discovery.h.

◆ I2Cx_TIMEOUT_MAX

#define I2Cx_TIMEOUT_MAX   0x1000 /*<! The value of the maximal timeout for BUS waiting loops */

Definition at line 209 of file stm32f4_discovery.h.

◆ MULTIPLEBYTE_CMD

#define MULTIPLEBYTE_CMD   ((uint8_t)0x40)

Definition at line 216 of file stm32f4_discovery.h.

◆ READWRITE_CMD

#define READWRITE_CMD   ((uint8_t)0x80)

Definition at line 214 of file stm32f4_discovery.h.

◆ SPIx_TIMEOUT_MAX

#define SPIx_TIMEOUT_MAX   0x1000 /*<! The value of the maximal timeout for BUS waiting loops */

Definition at line 179 of file stm32f4_discovery.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:05