STM32L4xx_HAL_Driver  1.14.0

Data transfers functions. More...

Functions

uint32_t SDMMC_ReadFIFO (SDMMC_TypeDef *SDMMCx)
 Read data (word) from Rx FIFO in blocking mode (polling) More...
 
HAL_StatusTypeDef SDMMC_WriteFIFO (SDMMC_TypeDef *SDMMCx, uint32_t *pWriteData)
 Write data (word) to Tx FIFO in blocking mode (polling) More...
 

Detailed Description

Data transfers functions.

 ===============================================================================
                      ##### I/O operation functions #####
 ===============================================================================
    [..]
    This subsection provides a set of functions allowing to manage the SDMMC data
    transfers.

Function Documentation

◆ SDMMC_ReadFIFO()

uint32_t SDMMC_ReadFIFO ( SDMMC_TypeDef *  SDMMCx)

Read data (word) from Rx FIFO in blocking mode (polling)

Parameters
SDMMCxPointer to SDMMC register base
Return values
HALstatus

Definition at line 277 of file stm32l4xx_ll_sdmmc.c.

278 {
279  /* Read data from Rx FIFO */
280  return (SDMMCx->FIFO);
281 }

◆ SDMMC_WriteFIFO()

HAL_StatusTypeDef SDMMC_WriteFIFO ( SDMMC_TypeDef *  SDMMCx,
uint32_t *  pWriteData 
)

Write data (word) to Tx FIFO in blocking mode (polling)

Parameters
SDMMCxPointer to SDMMC register base
pWriteDatapointer to data to write
Return values
HALstatus

Definition at line 289 of file stm32l4xx_ll_sdmmc.c.

290 {
291  /* Write data to FIFO */
292  SDMMCx->FIFO = *pWriteData;
293 
294  return HAL_OK;
295 }
return HAL_OK