|
STM32L4xx_HAL_Driver
1.14.0
|
Data transfers functions. More...
Functions | |
| uint32_t | SDMMC_CmdBlockLength (SDMMC_TypeDef *SDMMCx, uint32_t BlockSize) |
| Send the Data Block Lenght command and check the response. More... | |
| uint32_t | SDMMC_CmdReadSingleBlock (SDMMC_TypeDef *SDMMCx, uint32_t ReadAdd) |
| Send the Read Single Block command and check the response. More... | |
| uint32_t | SDMMC_CmdReadMultiBlock (SDMMC_TypeDef *SDMMCx, uint32_t ReadAdd) |
| Send the Read Multi Block command and check the response. More... | |
| uint32_t | SDMMC_CmdWriteSingleBlock (SDMMC_TypeDef *SDMMCx, uint32_t WriteAdd) |
| Send the Write Single Block command and check the response. More... | |
| uint32_t | SDMMC_CmdWriteMultiBlock (SDMMC_TypeDef *SDMMCx, uint32_t WriteAdd) |
| Send the Write Multi Block command and check the response. More... | |
| uint32_t | SDMMC_CmdSDEraseStartAdd (SDMMC_TypeDef *SDMMCx, uint32_t StartAdd) |
| Send the Start Address Erase command for SD and check the response. More... | |
| uint32_t | SDMMC_CmdSDEraseEndAdd (SDMMC_TypeDef *SDMMCx, uint32_t EndAdd) |
| Send the End Address Erase command for SD and check the response. More... | |
| uint32_t | SDMMC_CmdEraseStartAdd (SDMMC_TypeDef *SDMMCx, uint32_t StartAdd) |
| Send the Start Address Erase command and check the response. More... | |
| uint32_t | SDMMC_CmdEraseEndAdd (SDMMC_TypeDef *SDMMCx, uint32_t EndAdd) |
| Send the End Address Erase command and check the response. More... | |
| uint32_t | SDMMC_CmdErase (SDMMC_TypeDef *SDMMCx) |
| Send the Erase command and check the response. More... | |
| uint32_t | SDMMC_CmdStopTransfer (SDMMC_TypeDef *SDMMCx) |
| Send the Stop Transfer command and check the response. More... | |
| uint32_t | SDMMC_CmdSelDesel (SDMMC_TypeDef *SDMMCx, uint64_t Addr) |
| Send the Select Deselect command and check the response. More... | |
| uint32_t | SDMMC_CmdGoIdleState (SDMMC_TypeDef *SDMMCx) |
| Send the Go Idle State command and check the response. More... | |
| uint32_t | SDMMC_CmdOperCond (SDMMC_TypeDef *SDMMCx) |
| Send the Operating Condition command and check the response. More... | |
| uint32_t | SDMMC_CmdAppCommand (SDMMC_TypeDef *SDMMCx, uint32_t Argument) |
| Send the Application command to verify that that the next command is an application specific com-mand rather than a standard command and check the response. More... | |
| uint32_t | SDMMC_CmdAppOperCommand (SDMMC_TypeDef *SDMMCx, uint32_t Argument) |
| Send the command asking the accessed card to send its operating condition register (OCR) More... | |
| uint32_t | SDMMC_CmdBusWidth (SDMMC_TypeDef *SDMMCx, uint32_t BusWidth) |
| Send the Bus Width command and check the response. More... | |
| uint32_t | SDMMC_CmdSendSCR (SDMMC_TypeDef *SDMMCx) |
| Send the Send SCR command and check the response. More... | |
| uint32_t | SDMMC_CmdSendCID (SDMMC_TypeDef *SDMMCx) |
| Send the Send CID command and check the response. More... | |
| uint32_t | SDMMC_CmdSendCSD (SDMMC_TypeDef *SDMMCx, uint32_t Argument) |
| Send the Send CSD command and check the response. More... | |
| uint32_t | SDMMC_CmdSetRelAdd (SDMMC_TypeDef *SDMMCx, uint16_t *pRCA) |
| Send the Send CSD command and check the response. More... | |
| uint32_t | SDMMC_CmdSendStatus (SDMMC_TypeDef *SDMMCx, uint32_t Argument) |
| Send the Status command and check the response. More... | |
| uint32_t | SDMMC_CmdStatusRegister (SDMMC_TypeDef *SDMMCx) |
| Send the Status register command and check the response. More... | |
| uint32_t | SDMMC_CmdOpCondition (SDMMC_TypeDef *SDMMCx, uint32_t Argument) |
| Sends host capacity support information and activates the card's initialization process. Send SDMMC_CMD_SEND_OP_COND command. More... | |
| uint32_t | SDMMC_CmdSwitch (SDMMC_TypeDef *SDMMCx, uint32_t Argument) |
| Checks switchable function and switch card function. SDMMC_CMD_HS_SWITCH comand. More... | |
| uint32_t | SDMMC_CmdVoltageSwitch (SDMMC_TypeDef *SDMMCx) |
| Send the command asking the accessed card to send its operating condition register (OCR) More... | |
| uint32_t | SDMMC_CmdSendEXTCSD (SDMMC_TypeDef *SDMMCx, uint32_t Argument) |
| Send the Send EXT_CSD command and check the response. More... | |
Data transfers functions.
===============================================================================
##### Commands management functions #####
===============================================================================
[..]
This subsection provides a set of functions allowing to manage the needed commands. | uint32_t SDMMC_CmdAppCommand | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | Argument | ||
| ) |
Send the Application command to verify that that the next command is an application specific com-mand rather than a standard command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| Argument | Command Argument |
| HAL | status |
Definition at line 906 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdAppOperCommand | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | Argument | ||
| ) |
Send the command asking the accessed card to send its operating condition register (OCR)
| SDMMCx | Pointer to SDMMC register base |
| Argument | Command Argument |
| HAL | status |
Definition at line 934 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdBlockLength | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | BlockSize | ||
| ) |
Send the Data Block Lenght command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| HAL | status |
Definition at line 553 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdBusWidth | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | BusWidth | ||
| ) |
Send the Bus Width command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| BusWidth | BusWidth |
| HAL | status |
Definition at line 962 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdErase | ( | SDMMC_TypeDef * | SDMMCx | ) |
Send the Erase command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| HAL | status |
Definition at line 769 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdEraseEndAdd | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | EndAdd | ||
| ) |
Send the End Address Erase command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| HAL | status |
Definition at line 745 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdEraseStartAdd | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | StartAdd | ||
| ) |
Send the Start Address Erase command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| HAL | status |
Definition at line 721 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdGoIdleState | ( | SDMMC_TypeDef * | SDMMCx | ) |
Send the Go Idle State command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| HAL | status |
Definition at line 852 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdOpCondition | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | Argument | ||
| ) |
Sends host capacity support information and activates the card's initialization process. Send SDMMC_CMD_SEND_OP_COND command.
| SDMMCx | Pointer to SDMMC register base Argument: Argument used for the command |
| HAL | status |
Definition at line 1132 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdOperCond | ( | SDMMC_TypeDef * | SDMMCx | ) |
Send the Operating Condition command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| HAL | status |
Definition at line 875 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdReadMultiBlock | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | ReadAdd | ||
| ) |
Send the Read Multi Block command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| HAL | status |
Definition at line 601 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdReadSingleBlock | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | ReadAdd | ||
| ) |
Send the Read Single Block command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| HAL | status |
Definition at line 577 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdSDEraseEndAdd | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | EndAdd | ||
| ) |
Send the End Address Erase command for SD and check the response.
| SDMMCx | Pointer to SDMMC register base |
| HAL | status |
Definition at line 697 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdSDEraseStartAdd | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | StartAdd | ||
| ) |
Send the Start Address Erase command for SD and check the response.
| SDMMCx | Pointer to SDMMC register base |
| HAL | status |
Definition at line 673 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdSelDesel | ( | SDMMC_TypeDef * | SDMMCx, |
| uint64_t | Addr | ||
| ) |
Send the Select Deselect command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| addr | Address of the card to be selected |
| HAL | status |
Definition at line 828 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdSendCID | ( | SDMMC_TypeDef * | SDMMCx | ) |
Send the Send CID command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| HAL | status |
Definition at line 1009 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdSendCSD | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | Argument | ||
| ) |
Send the Send CSD command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| Argument | Command Argument |
| HAL | status |
Definition at line 1034 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdSendEXTCSD | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | Argument | ||
| ) |
Send the Send EXT_CSD command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| Argument | Command Argument |
| HAL | status |
Definition at line 1207 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdSendSCR | ( | SDMMC_TypeDef * | SDMMCx | ) |
Send the Send SCR command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| HAL | status |
Definition at line 985 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdSendStatus | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | Argument | ||
| ) |
Send the Status command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| Argument | Command Argument |
| HAL | status |
Definition at line 1084 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdSetRelAdd | ( | SDMMC_TypeDef * | SDMMCx, |
| uint16_t * | pRCA | ||
| ) |
Send the Send CSD command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| pRCA | Card RCA |
| HAL | status |
Definition at line 1059 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdStatusRegister | ( | SDMMC_TypeDef * | SDMMCx | ) |
Send the Status register command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| HAL | status |
Definition at line 1107 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdStopTransfer | ( | SDMMC_TypeDef * | SDMMCx | ) |
Send the Stop Transfer command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| HAL | status |
Definition at line 793 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdSwitch | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | Argument | ||
| ) |
Checks switchable function and switch card function. SDMMC_CMD_HS_SWITCH comand.
| SDMMCx | Pointer to SDMMC register base Argument: Argument used for the command |
| HAL | status |
Definition at line 1156 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdVoltageSwitch | ( | SDMMC_TypeDef * | SDMMCx | ) |
Send the command asking the accessed card to send its operating condition register (OCR)
| None |
| HAL | status |
Definition at line 1183 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdWriteMultiBlock | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | WriteAdd | ||
| ) |
Send the Write Multi Block command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| HAL | status |
Definition at line 649 of file stm32l4xx_ll_sdmmc.c.
| uint32_t SDMMC_CmdWriteSingleBlock | ( | SDMMC_TypeDef * | SDMMCx, |
| uint32_t | WriteAdd | ||
| ) |
Send the Write Single Block command and check the response.
| SDMMCx | Pointer to SDMMC register base |
| HAL | status |
Definition at line 625 of file stm32l4xx_ll_sdmmc.c.