STM32F4xx_HAL_Driver
1.8.3
|
Data transfers functions. More...
Functions | |
uint32_t | SDMMC_CmdBlockLength (SDIO_TypeDef *SDIOx, uint32_t BlockSize) |
Send the Data Block Length command and check the response. More... | |
uint32_t | SDMMC_CmdReadSingleBlock (SDIO_TypeDef *SDIOx, uint32_t ReadAdd) |
Send the Read Single Block command and check the response. More... | |
uint32_t | SDMMC_CmdReadMultiBlock (SDIO_TypeDef *SDIOx, uint32_t ReadAdd) |
Send the Read Multi Block command and check the response. More... | |
uint32_t | SDMMC_CmdWriteSingleBlock (SDIO_TypeDef *SDIOx, uint32_t WriteAdd) |
Send the Write Single Block command and check the response. More... | |
uint32_t | SDMMC_CmdWriteMultiBlock (SDIO_TypeDef *SDIOx, uint32_t WriteAdd) |
Send the Write Multi Block command and check the response. More... | |
uint32_t | SDMMC_CmdEraseStartAdd (SDIO_TypeDef *SDIOx, uint32_t StartAdd) |
Send the Start Address Erase command and check the response. More... | |
uint32_t | SDMMC_CmdSDEraseStartAdd (SDIO_TypeDef *SDIOx, uint32_t StartAdd) |
Send the Start Address Erase command for SD and check the response. More... | |
uint32_t | SDMMC_CmdEraseEndAdd (SDIO_TypeDef *SDIOx, uint32_t EndAdd) |
Send the End Address Erase command and check the response. More... | |
uint32_t | SDMMC_CmdSDEraseEndAdd (SDIO_TypeDef *SDIOx, uint32_t EndAdd) |
Send the End Address Erase command for SD and check the response. More... | |
uint32_t | SDMMC_CmdErase (SDIO_TypeDef *SDIOx) |
Send the Erase command and check the response. More... | |
uint32_t | SDMMC_CmdStopTransfer (SDIO_TypeDef *SDIOx) |
Send the Stop Transfer command and check the response. More... | |
uint32_t | SDMMC_CmdSelDesel (SDIO_TypeDef *SDIOx, uint64_t Addr) |
Send the Select Deselect command and check the response. More... | |
uint32_t | SDMMC_CmdGoIdleState (SDIO_TypeDef *SDIOx) |
Send the Go Idle State command and check the response. More... | |
uint32_t | SDMMC_CmdOperCond (SDIO_TypeDef *SDIOx) |
Send the Operating Condition command and check the response. More... | |
uint32_t | SDMMC_CmdAppCommand (SDIO_TypeDef *SDIOx, 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 (SDIO_TypeDef *SDIOx, uint32_t Argument) |
Send the command asking the accessed card to send its operating condition register (OCR) More... | |
uint32_t | SDMMC_CmdBusWidth (SDIO_TypeDef *SDIOx, uint32_t BusWidth) |
Send the Bus Width command and check the response. More... | |
uint32_t | SDMMC_CmdSendSCR (SDIO_TypeDef *SDIOx) |
Send the Send SCR command and check the response. More... | |
uint32_t | SDMMC_CmdSendCID (SDIO_TypeDef *SDIOx) |
Send the Send CID command and check the response. More... | |
uint32_t | SDMMC_CmdSendCSD (SDIO_TypeDef *SDIOx, uint32_t Argument) |
Send the Send CSD command and check the response. More... | |
uint32_t | SDMMC_CmdSetRelAdd (SDIO_TypeDef *SDIOx, uint16_t *pRCA) |
Send the Send CSD command and check the response. More... | |
uint32_t | SDMMC_CmdSetRelAddMmc (SDIO_TypeDef *SDIOx, uint16_t RCA) |
Send the Set Relative Address command to MMC card (not SD card). More... | |
uint32_t | SDMMC_CmdSendStatus (SDIO_TypeDef *SDIOx, uint32_t Argument) |
Send the Status command and check the response. More... | |
uint32_t | SDMMC_CmdStatusRegister (SDIO_TypeDef *SDIOx) |
Send the Status register command and check the response. More... | |
uint32_t | SDMMC_CmdOpCondition (SDIO_TypeDef *SDIOx, 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 (SDIO_TypeDef *SDIOx, uint32_t Argument) |
Checks switchable function and switch card function. SDMMC_CMD_HS_SWITCH command. More... | |
uint32_t | SDMMC_CmdSendEXTCSD (SDIO_TypeDef *SDIOx, 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 | ( | SDIO_TypeDef * | SDIOx, |
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.
SDIOx | Pointer to SDIO register base |
Argument | Command Argument |
HAL | status |
Definition at line 852 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdAppOperCommand | ( | SDIO_TypeDef * | SDIOx, |
uint32_t | Argument | ||
) |
Send the command asking the accessed card to send its operating condition register (OCR)
SDIOx | Pointer to SDIO register base |
Argument | Command Argument |
HAL | status |
Definition at line 880 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdBlockLength | ( | SDIO_TypeDef * | SDIOx, |
uint32_t | BlockSize | ||
) |
Send the Data Block Length command and check the response.
SDIOx | Pointer to SDIO register base |
HAL | status |
Definition at line 509 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdBusWidth | ( | SDIO_TypeDef * | SDIOx, |
uint32_t | BusWidth | ||
) |
Send the Bus Width command and check the response.
SDIOx | Pointer to SDIO register base |
BusWidth | BusWidth |
HAL | status |
Definition at line 904 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdErase | ( | SDIO_TypeDef * | SDIOx | ) |
Send the Erase command and check the response.
SDIOx | Pointer to SDIO register base |
HAL | status |
Definition at line 725 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdEraseEndAdd | ( | SDIO_TypeDef * | SDIOx, |
uint32_t | EndAdd | ||
) |
Send the End Address Erase command and check the response.
SDIOx | Pointer to SDIO register base |
HAL | status |
Definition at line 701 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdEraseStartAdd | ( | SDIO_TypeDef * | SDIOx, |
uint32_t | StartAdd | ||
) |
Send the Start Address Erase command and check the response.
SDIOx | Pointer to SDIO register base |
HAL | status |
Definition at line 677 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdGoIdleState | ( | SDIO_TypeDef * | SDIOx | ) |
Send the Go Idle State command and check the response.
SDIOx | Pointer to SDIO register base |
HAL | status |
Definition at line 798 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdOpCondition | ( | SDIO_TypeDef * | SDIOx, |
uint32_t | Argument | ||
) |
Sends host capacity support information and activates the card's initialization process. Send SDMMC_CMD_SEND_OP_COND command.
SDIOx | Pointer to SDIO register base @parame Argument: Argument used for the command |
HAL | status |
Definition at line 1099 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdOperCond | ( | SDIO_TypeDef * | SDIOx | ) |
Send the Operating Condition command and check the response.
SDIOx | Pointer to SDIO register base |
HAL | status |
Definition at line 821 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdReadMultiBlock | ( | SDIO_TypeDef * | SDIOx, |
uint32_t | ReadAdd | ||
) |
Send the Read Multi Block command and check the response.
SDIOx | Pointer to SDIO register base |
HAL | status |
Definition at line 557 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdReadSingleBlock | ( | SDIO_TypeDef * | SDIOx, |
uint32_t | ReadAdd | ||
) |
Send the Read Single Block command and check the response.
SDIOx | Pointer to SDIO register base |
HAL | status |
Definition at line 533 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdSDEraseEndAdd | ( | SDIO_TypeDef * | SDIOx, |
uint32_t | EndAdd | ||
) |
Send the End Address Erase command for SD and check the response.
SDIOx | Pointer to SDIO register base |
HAL | status |
Definition at line 653 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdSDEraseStartAdd | ( | SDIO_TypeDef * | SDIOx, |
uint32_t | StartAdd | ||
) |
Send the Start Address Erase command for SD and check the response.
SDIOx | Pointer to SDIO register base |
HAL | status |
Definition at line 629 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdSelDesel | ( | SDIO_TypeDef * | SDIOx, |
uint64_t | Addr | ||
) |
Send the Select Deselect command and check the response.
SDIOx | Pointer to SDIO register base |
addr | Address of the card to be selected |
HAL | status |
Definition at line 774 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdSendCID | ( | SDIO_TypeDef * | SDIOx | ) |
Send the Send CID command and check the response.
SDIOx | Pointer to SDIO register base |
HAL | status |
Definition at line 951 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdSendCSD | ( | SDIO_TypeDef * | SDIOx, |
uint32_t | Argument | ||
) |
Send the Send CSD command and check the response.
SDIOx | Pointer to SDIO register base |
Argument | Command Argument |
HAL | status |
Definition at line 976 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdSendEXTCSD | ( | SDIO_TypeDef * | SDIOx, |
uint32_t | Argument | ||
) |
Send the Send EXT_CSD command and check the response.
SDIOx | Pointer to SDMMC register base |
Argument | Command Argument |
HAL | status |
Definition at line 1149 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdSendSCR | ( | SDIO_TypeDef * | SDIOx | ) |
Send the Send SCR command and check the response.
SDIOx | Pointer to SDIO register base |
HAL | status |
Definition at line 927 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdSendStatus | ( | SDIO_TypeDef * | SDIOx, |
uint32_t | Argument | ||
) |
Send the Status command and check the response.
SDIOx | Pointer to SDIO register base |
Argument | Command Argument |
HAL | status |
Definition at line 1051 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdSetRelAdd | ( | SDIO_TypeDef * | SDIOx, |
uint16_t * | pRCA | ||
) |
Send the Send CSD command and check the response.
SDIOx | Pointer to SDIO register base |
pRCA | Card RCA |
HAL | status |
Definition at line 1001 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdSetRelAddMmc | ( | SDIO_TypeDef * | SDIOx, |
uint16_t | RCA | ||
) |
Send the Set Relative Address command to MMC card (not SD card).
SDIOx | Pointer to SDIO register base |
RCA | Card RCA |
HAL | status |
Definition at line 1026 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdStatusRegister | ( | SDIO_TypeDef * | SDIOx | ) |
Send the Status register command and check the response.
SDIOx | Pointer to SDIO register base |
HAL | status |
Definition at line 1074 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdStopTransfer | ( | SDIO_TypeDef * | SDIOx | ) |
Send the Stop Transfer command and check the response.
SDIOx | Pointer to SDIO register base |
HAL | status |
Definition at line 749 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdSwitch | ( | SDIO_TypeDef * | SDIOx, |
uint32_t | Argument | ||
) |
Checks switchable function and switch card function. SDMMC_CMD_HS_SWITCH command.
SDIOx | Pointer to SDIO register base @parame Argument: Argument used for the command |
HAL | status |
Definition at line 1123 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdWriteMultiBlock | ( | SDIO_TypeDef * | SDIOx, |
uint32_t | WriteAdd | ||
) |
Send the Write Multi Block command and check the response.
SDIOx | Pointer to SDIO register base |
HAL | status |
Definition at line 605 of file stm32f4xx_ll_sdmmc.c.
uint32_t SDMMC_CmdWriteSingleBlock | ( | SDIO_TypeDef * | SDIOx, |
uint32_t | WriteAdd | ||
) |
Send the Write Single Block command and check the response.
SDIOx | Pointer to SDIO register base |
HAL | status |
Definition at line 581 of file stm32f4xx_ll_sdmmc.c.