STM32H735xx HAL User Manual
Defines
OSPI State
OSPI Exported Constants

Defines

#define HAL_OSPI_STATE_RESET   ((uint32_t)0x00000000U)
#define HAL_OSPI_STATE_HYPERBUS_INIT   ((uint32_t)0x00000001U)
#define HAL_OSPI_STATE_READY   ((uint32_t)0x00000002U)
#define HAL_OSPI_STATE_CMD_CFG   ((uint32_t)0x00000004U)
#define HAL_OSPI_STATE_READ_CMD_CFG   ((uint32_t)0x00000014U)
#define HAL_OSPI_STATE_WRITE_CMD_CFG   ((uint32_t)0x00000024U)
#define HAL_OSPI_STATE_BUSY_CMD   ((uint32_t)0x00000008U)
#define HAL_OSPI_STATE_BUSY_TX   ((uint32_t)0x00000018U)
#define HAL_OSPI_STATE_BUSY_RX   ((uint32_t)0x00000028U)
#define HAL_OSPI_STATE_BUSY_AUTO_POLLING   ((uint32_t)0x00000048U)
#define HAL_OSPI_STATE_BUSY_MEM_MAPPED   ((uint32_t)0x00000088U)
#define HAL_OSPI_STATE_ABORT   ((uint32_t)0x00000100U)
#define HAL_OSPI_STATE_ERROR   ((uint32_t)0x00000200U)

Define Documentation

#define HAL_OSPI_STATE_ABORT   ((uint32_t)0x00000100U)

Abort on-going

Definition at line 315 of file stm32h7xx_hal_ospi.h.

Referenced by HAL_OSPI_Abort_IT(), and HAL_OSPI_IRQHandler().

#define HAL_OSPI_STATE_BUSY_AUTO_POLLING   ((uint32_t)0x00000048U)

Auto-polling on-going

Definition at line 313 of file stm32h7xx_hal_ospi.h.

Referenced by HAL_OSPI_AutoPolling_IT().

#define HAL_OSPI_STATE_BUSY_CMD   ((uint32_t)0x00000008U)

Command without data on-going

Definition at line 310 of file stm32h7xx_hal_ospi.h.

Referenced by HAL_OSPI_Command_IT(), and HAL_OSPI_IRQHandler().

#define HAL_OSPI_STATE_BUSY_MEM_MAPPED   ((uint32_t)0x00000088U)

Memory-mapped on-going

Definition at line 314 of file stm32h7xx_hal_ospi.h.

Referenced by HAL_OSPI_MemoryMapped().

#define HAL_OSPI_STATE_BUSY_RX   ((uint32_t)0x00000028U)

Indirect Rx on-going

Definition at line 312 of file stm32h7xx_hal_ospi.h.

Referenced by HAL_OSPI_IRQHandler(), HAL_OSPI_Receive_DMA(), and HAL_OSPI_Receive_IT().

#define HAL_OSPI_STATE_BUSY_TX   ((uint32_t)0x00000018U)

Indirect Tx on-going

Definition at line 311 of file stm32h7xx_hal_ospi.h.

Referenced by HAL_OSPI_IRQHandler(), HAL_OSPI_Transmit_DMA(), and HAL_OSPI_Transmit_IT().

#define HAL_OSPI_STATE_CMD_CFG   ((uint32_t)0x00000004U)
#define HAL_OSPI_STATE_ERROR   ((uint32_t)0x00000200U)

Blocking error, driver should be re-initialized

Definition at line 316 of file stm32h7xx_hal_ospi.h.

#define HAL_OSPI_STATE_HYPERBUS_INIT   ((uint32_t)0x00000001U)

Initialization done in hyperbus mode but timing configuration not done

Definition at line 305 of file stm32h7xx_hal_ospi.h.

Referenced by HAL_OSPI_HyperbusCfg(), and HAL_OSPI_Init().

#define HAL_OSPI_STATE_READ_CMD_CFG   ((uint32_t)0x00000014U)

Read command configuration done, not the write command configuration

Definition at line 308 of file stm32h7xx_hal_ospi.h.

Referenced by HAL_OSPI_Command().

#define HAL_OSPI_STATE_READY   ((uint32_t)0x00000002U)
#define HAL_OSPI_STATE_RESET   ((uint32_t)0x00000000U)
#define HAL_OSPI_STATE_WRITE_CMD_CFG   ((uint32_t)0x00000024U)

Write command configuration done, not the read command configuration

Definition at line 309 of file stm32h7xx_hal_ospi.h.

Referenced by HAL_OSPI_Command().