|
STM32F4xx_HAL_Driver
1.8.3
|
QSPI Transmit/Receive functions. More...
Collaboration diagram for Input and Output operation functions:Functions | |
| void | HAL_QSPI_IRQHandler (QSPI_HandleTypeDef *hqspi) |
| Handle QSPI interrupt request. More... | |
| HAL_StatusTypeDef | HAL_QSPI_Command (QSPI_HandleTypeDef *hqspi, QSPI_CommandTypeDef *cmd, uint32_t Timeout) |
| Set the command configuration. More... | |
| HAL_StatusTypeDef | HAL_QSPI_Transmit (QSPI_HandleTypeDef *hqspi, uint8_t *pData, uint32_t Timeout) |
| Transmit an amount of data in blocking mode. More... | |
| HAL_StatusTypeDef | HAL_QSPI_Receive (QSPI_HandleTypeDef *hqspi, uint8_t *pData, uint32_t Timeout) |
| Receive an amount of data in blocking mode. More... | |
| HAL_StatusTypeDef | HAL_QSPI_Command_IT (QSPI_HandleTypeDef *hqspi, QSPI_CommandTypeDef *cmd) |
| Set the command configuration in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_QSPI_Transmit_IT (QSPI_HandleTypeDef *hqspi, uint8_t *pData) |
| Send an amount of data in non-blocking mode with interrupt. More... | |
| HAL_StatusTypeDef | HAL_QSPI_Receive_IT (QSPI_HandleTypeDef *hqspi, uint8_t *pData) |
| Receive an amount of data in non-blocking mode with interrupt. More... | |
| HAL_StatusTypeDef | HAL_QSPI_Transmit_DMA (QSPI_HandleTypeDef *hqspi, uint8_t *pData) |
| Send an amount of data in non-blocking mode with DMA. More... | |
| HAL_StatusTypeDef | HAL_QSPI_Receive_DMA (QSPI_HandleTypeDef *hqspi, uint8_t *pData) |
| Receive an amount of data in non-blocking mode with DMA. More... | |
| HAL_StatusTypeDef | HAL_QSPI_AutoPolling (QSPI_HandleTypeDef *hqspi, QSPI_CommandTypeDef *cmd, QSPI_AutoPollingTypeDef *cfg, uint32_t Timeout) |
| Configure the QSPI Automatic Polling Mode in blocking mode. More... | |
| HAL_StatusTypeDef | HAL_QSPI_AutoPolling_IT (QSPI_HandleTypeDef *hqspi, QSPI_CommandTypeDef *cmd, QSPI_AutoPollingTypeDef *cfg) |
| Configure the QSPI Automatic Polling Mode in non-blocking mode. More... | |
| HAL_StatusTypeDef | HAL_QSPI_MemoryMapped (QSPI_HandleTypeDef *hqspi, QSPI_CommandTypeDef *cmd, QSPI_MemoryMappedTypeDef *cfg) |
| Configure the Memory Mapped mode. More... | |
| void | HAL_QSPI_ErrorCallback (QSPI_HandleTypeDef *hqspi) |
| Transfer Error callback. More... | |
| void | HAL_QSPI_AbortCpltCallback (QSPI_HandleTypeDef *hqspi) |
| Abort completed callback. More... | |
| void | HAL_QSPI_FifoThresholdCallback (QSPI_HandleTypeDef *hqspi) |
| FIFO Threshold callback. More... | |
| void | HAL_QSPI_CmdCpltCallback (QSPI_HandleTypeDef *hqspi) |
| Command completed callback. More... | |
| void | HAL_QSPI_RxCpltCallback (QSPI_HandleTypeDef *hqspi) |
| Rx Transfer completed callback. More... | |
| void | HAL_QSPI_TxCpltCallback (QSPI_HandleTypeDef *hqspi) |
| Tx Transfer completed callback. More... | |
| void | HAL_QSPI_RxHalfCpltCallback (QSPI_HandleTypeDef *hqspi) |
| Rx Half Transfer completed callback. More... | |
| void | HAL_QSPI_TxHalfCpltCallback (QSPI_HandleTypeDef *hqspi) |
| Tx Half Transfer completed callback. More... | |
| void | HAL_QSPI_StatusMatchCallback (QSPI_HandleTypeDef *hqspi) |
| Status Match callback. More... | |
| void | HAL_QSPI_TimeOutCallback (QSPI_HandleTypeDef *hqspi) |
| Timeout callback. More... | |
| HAL_StatusTypeDef | HAL_QSPI_RegisterCallback (QSPI_HandleTypeDef *hqspi, HAL_QSPI_CallbackIDTypeDef CallbackId, pQSPI_CallbackTypeDef pCallback) |
| Register a User QSPI Callback To be used to override the weak predefined callback. More... | |
| HAL_StatusTypeDef | HAL_QSPI_UnRegisterCallback (QSPI_HandleTypeDef *hqspi, HAL_QSPI_CallbackIDTypeDef CallbackId) |
| Unregister a User QSPI Callback QSPI Callback is redirected to the weak predefined callback. More... | |
QSPI Transmit/Receive functions.
===============================================================================
##### IO operation functions #####
===============================================================================
[..]
This subsection provides a set of functions allowing to :
(+) Handle the interrupts.
(+) Handle the command sequence.
(+) Transmit data in blocking, interrupt or DMA mode.
(+) Receive data in blocking, interrupt or DMA mode.
(+) Manage the auto-polling functional mode.
(+) Manage the memory-mapped functional mode. | __weak void HAL_QSPI_AbortCpltCallback | ( | QSPI_HandleTypeDef * | hqspi | ) |
Abort completed callback.
| hqspi | QSPI handle |
| None |
Definition at line 1946 of file stm32f4xx_hal_qspi.c.
| HAL_StatusTypeDef HAL_QSPI_AutoPolling | ( | QSPI_HandleTypeDef * | hqspi, |
| QSPI_CommandTypeDef * | cmd, | ||
| QSPI_AutoPollingTypeDef * | cfg, | ||
| uint32_t | Timeout | ||
| ) |
Configure the QSPI Automatic Polling Mode in blocking mode.
| hqspi | QSPI handle |
| cmd | structure that contains the command configuration information. |
| cfg | structure that contains the polling configuration information. |
| Timeout | Timeout duration |
| HAL | status |
Definition at line 1642 of file stm32f4xx_hal_qspi.c.
| HAL_StatusTypeDef HAL_QSPI_AutoPolling_IT | ( | QSPI_HandleTypeDef * | hqspi, |
| QSPI_CommandTypeDef * | cmd, | ||
| QSPI_AutoPollingTypeDef * | cfg | ||
| ) |
Configure the QSPI Automatic Polling Mode in non-blocking mode.
| hqspi | QSPI handle |
| cmd | structure that contains the command configuration information. |
| cfg | structure that contains the polling configuration information. |
| HAL | status |
Definition at line 1742 of file stm32f4xx_hal_qspi.c.
| __weak void HAL_QSPI_CmdCpltCallback | ( | QSPI_HandleTypeDef * | hqspi | ) |
Command completed callback.
| hqspi | QSPI handle |
| None |
Definition at line 1961 of file stm32f4xx_hal_qspi.c.
| HAL_StatusTypeDef HAL_QSPI_Command | ( | QSPI_HandleTypeDef * | hqspi, |
| QSPI_CommandTypeDef * | cmd, | ||
| uint32_t | Timeout | ||
| ) |
Set the command configuration.
| hqspi | QSPI handle |
| cmd | : structure that contains the command configuration information |
| Timeout | Timeout duration |
| HAL | status |
Definition at line 781 of file stm32f4xx_hal_qspi.c.
| HAL_StatusTypeDef HAL_QSPI_Command_IT | ( | QSPI_HandleTypeDef * | hqspi, |
| QSPI_CommandTypeDef * | cmd | ||
| ) |
Set the command configuration in interrupt mode.
| hqspi | QSPI handle |
| cmd | structure that contains the command configuration information |
| HAL | status |
Definition at line 870 of file stm32f4xx_hal_qspi.c.
| __weak void HAL_QSPI_ErrorCallback | ( | QSPI_HandleTypeDef * | hqspi | ) |
Transfer Error callback.
| hqspi | QSPI handle |
| None |
Definition at line 1931 of file stm32f4xx_hal_qspi.c.
| __weak void HAL_QSPI_FifoThresholdCallback | ( | QSPI_HandleTypeDef * | hqspi | ) |
FIFO Threshold callback.
| hqspi | QSPI handle |
| None |
Definition at line 2036 of file stm32f4xx_hal_qspi.c.
| void HAL_QSPI_IRQHandler | ( | QSPI_HandleTypeDef * | hqspi | ) |
Handle QSPI interrupt request.
| hqspi | QSPI handle |
| None |
Definition at line 488 of file stm32f4xx_hal_qspi.c.
| HAL_StatusTypeDef HAL_QSPI_MemoryMapped | ( | QSPI_HandleTypeDef * | hqspi, |
| QSPI_CommandTypeDef * | cmd, | ||
| QSPI_MemoryMappedTypeDef * | cfg | ||
| ) |
Configure the Memory Mapped mode.
| hqspi | QSPI handle |
| cmd | structure that contains the command configuration information. |
| cfg | structure that contains the memory mapped configuration information. |
| HAL | status |
Definition at line 1845 of file stm32f4xx_hal_qspi.c.
| HAL_StatusTypeDef HAL_QSPI_Receive | ( | QSPI_HandleTypeDef * | hqspi, |
| uint8_t * | pData, | ||
| uint32_t | Timeout | ||
| ) |
Receive an amount of data in blocking mode.
| hqspi | QSPI handle |
| pData | pointer to data buffer |
| Timeout | Timeout duration |
| HAL | status |
Definition at line 1054 of file stm32f4xx_hal_qspi.c.
| HAL_StatusTypeDef HAL_QSPI_Receive_DMA | ( | QSPI_HandleTypeDef * | hqspi, |
| uint8_t * | pData | ||
| ) |
Receive an amount of data in non-blocking mode with DMA.
| hqspi | QSPI handle |
| pData | pointer to data buffer. |
| HAL | status |
Definition at line 1436 of file stm32f4xx_hal_qspi.c.
| HAL_StatusTypeDef HAL_QSPI_Receive_IT | ( | QSPI_HandleTypeDef * | hqspi, |
| uint8_t * | pData | ||
| ) |
Receive an amount of data in non-blocking mode with interrupt.
| hqspi | QSPI handle |
| pData | pointer to data buffer |
| HAL | status |
Definition at line 1201 of file stm32f4xx_hal_qspi.c.
| HAL_StatusTypeDef HAL_QSPI_RegisterCallback | ( | QSPI_HandleTypeDef * | hqspi, |
| HAL_QSPI_CallbackIDTypeDef | CallbackId, | ||
| pQSPI_CallbackTypeDef | pCallback | ||
| ) |
Register a User QSPI Callback To be used to override the weak predefined callback.
| hqspi | QSPI handle |
| CallbackId | ID of the callback to be registered This parameter can be one of the following values:
|
| pCallback | pointer to the Callback function |
| status |
Definition at line 2097 of file stm32f4xx_hal_qspi.c.
| __weak void HAL_QSPI_RxCpltCallback | ( | QSPI_HandleTypeDef * | hqspi | ) |
Rx Transfer completed callback.
| hqspi | QSPI handle |
| None |
Definition at line 1976 of file stm32f4xx_hal_qspi.c.
| __weak void HAL_QSPI_RxHalfCpltCallback | ( | QSPI_HandleTypeDef * | hqspi | ) |
Rx Half Transfer completed callback.
| hqspi | QSPI handle |
| None |
Definition at line 2006 of file stm32f4xx_hal_qspi.c.
| __weak void HAL_QSPI_StatusMatchCallback | ( | QSPI_HandleTypeDef * | hqspi | ) |
Status Match callback.
| hqspi | QSPI handle |
| None |
Definition at line 2051 of file stm32f4xx_hal_qspi.c.
| __weak void HAL_QSPI_TimeOutCallback | ( | QSPI_HandleTypeDef * | hqspi | ) |
Timeout callback.
| hqspi | QSPI handle |
| None |
Definition at line 2066 of file stm32f4xx_hal_qspi.c.
| HAL_StatusTypeDef HAL_QSPI_Transmit | ( | QSPI_HandleTypeDef * | hqspi, |
| uint8_t * | pData, | ||
| uint32_t | Timeout | ||
| ) |
Transmit an amount of data in blocking mode.
| hqspi | QSPI handle |
| pData | pointer to data buffer |
| Timeout | Timeout duration |
| HAL | status |
Definition at line 969 of file stm32f4xx_hal_qspi.c.
| HAL_StatusTypeDef HAL_QSPI_Transmit_DMA | ( | QSPI_HandleTypeDef * | hqspi, |
| uint8_t * | pData | ||
| ) |
Send an amount of data in non-blocking mode with DMA.
| hqspi | QSPI handle |
| pData | pointer to data buffer |
| HAL | status |
Definition at line 1269 of file stm32f4xx_hal_qspi.c.
| HAL_StatusTypeDef HAL_QSPI_Transmit_IT | ( | QSPI_HandleTypeDef * | hqspi, |
| uint8_t * | pData | ||
| ) |
Send an amount of data in non-blocking mode with interrupt.
| hqspi | QSPI handle |
| pData | pointer to data buffer |
| HAL | status |
Definition at line 1141 of file stm32f4xx_hal_qspi.c.
| __weak void HAL_QSPI_TxCpltCallback | ( | QSPI_HandleTypeDef * | hqspi | ) |
Tx Transfer completed callback.
| hqspi | QSPI handle |
| None |
Definition at line 1991 of file stm32f4xx_hal_qspi.c.
| __weak void HAL_QSPI_TxHalfCpltCallback | ( | QSPI_HandleTypeDef * | hqspi | ) |
Tx Half Transfer completed callback.
| hqspi | QSPI handle |
| None |
Definition at line 2021 of file stm32f4xx_hal_qspi.c.
| HAL_StatusTypeDef HAL_QSPI_UnRegisterCallback | ( | QSPI_HandleTypeDef * | hqspi, |
| HAL_QSPI_CallbackIDTypeDef | CallbackId | ||
| ) |
Unregister a User QSPI Callback QSPI Callback is redirected to the weak predefined callback.
| hqspi | QSPI handle |
| CallbackId | ID of the callback to be unregistered This parameter can be one of the following values:
|
| status |
Definition at line 2210 of file stm32f4xx_hal_qspi.c.