STM32F429I-Discovery BSP User Manual: STM32F429I DISCOVERY SDRAM Exported Functions

STM32F429I Discovery BSP Drivers

STM32F429I-Discovery BSP User Manual
STM32F429I DISCOVERY SDRAM Exported Functions

Functions

void BSP_SDRAM_Init (void)
 Initializes the SDRAM device.
void BSP_SDRAM_Initialization_sequence (uint32_t RefreshCount)
 Programs the SDRAM device.
void BSP_SDRAM_ReadData (uint32_t uwStartAddress, uint32_t *pData, uint32_t uwDataSize)
 Reads an mount of data from the SDRAM memory in polling mode.
void BSP_SDRAM_ReadData_DMA (uint32_t uwStartAddress, uint32_t *pData, uint32_t uwDataSize)
 Reads an mount of data from the SDRAM memory in DMA mode.
void BSP_SDRAM_WriteData (uint32_t uwStartAddress, uint32_t *pData, uint32_t uwDataSize)
 Writes an mount of data to the SDRAM memory in polling mode.
void BSP_SDRAM_WriteData_DMA (uint32_t uwStartAddress, uint32_t *pData, uint32_t uwDataSize)
 Writes an mount of data to the SDRAM memory in DMA mode.
HAL_StatusTypeDef BSP_SDRAM_Sendcmd (FMC_SDRAM_CommandTypeDef *SdramCmd)
 Sends command to the SDRAM bank.
void BSP_SDRAM_DMA_IRQHandler (void)
 Handles SDRAM DMA transfer interrupt request.

Function Documentation

void BSP_SDRAM_DMA_IRQHandler ( void  )

Handles SDRAM DMA transfer interrupt request.

Definition at line 265 of file stm32f429i_discovery_sdram.c.

References SdramHandle.

void BSP_SDRAM_Initialization_sequence ( uint32_t  RefreshCount)
void BSP_SDRAM_ReadData ( uint32_t  uwStartAddress,
uint32_t *  pData,
uint32_t  uwDataSize 
)

Reads an mount of data from the SDRAM memory in polling mode.

Parameters:
uwStartAddress: Read start address
pData: Pointer to data to be read
uwDataSize,:Size of read data from the memory

Definition at line 210 of file stm32f429i_discovery_sdram.c.

References SdramHandle.

void BSP_SDRAM_ReadData_DMA ( uint32_t  uwStartAddress,
uint32_t *  pData,
uint32_t  uwDataSize 
)

Reads an mount of data from the SDRAM memory in DMA mode.

Parameters:
uwStartAddress: Read start address
pData: Pointer to data to be read
uwDataSize,:Size of read data from the memory

Definition at line 221 of file stm32f429i_discovery_sdram.c.

References SdramHandle.

HAL_StatusTypeDef BSP_SDRAM_Sendcmd ( FMC_SDRAM_CommandTypeDef *  SdramCmd)

Sends command to the SDRAM bank.

Parameters:
SdramCmd,:Pointer to SDRAM command structure
Return values:
HALstatus

Definition at line 257 of file stm32f429i_discovery_sdram.c.

References SDRAM_TIMEOUT, and SdramHandle.

void BSP_SDRAM_WriteData ( uint32_t  uwStartAddress,
uint32_t *  pData,
uint32_t  uwDataSize 
)

Writes an mount of data to the SDRAM memory in polling mode.

Parameters:
uwStartAddress: Write start address
pData: Pointer to data to be written
uwDataSize,:Size of written data from the memory

Definition at line 232 of file stm32f429i_discovery_sdram.c.

References SdramHandle.

void BSP_SDRAM_WriteData_DMA ( uint32_t  uwStartAddress,
uint32_t *  pData,
uint32_t  uwDataSize 
)

Writes an mount of data to the SDRAM memory in DMA mode.

Parameters:
uwStartAddress: Write start address
pData: Pointer to data to be written
uwDataSize,:Size of written data from the memory

Definition at line 247 of file stm32f429i_discovery_sdram.c.

References SdramHandle.

Generated on Wed Jan 13 2016 13:22:14 for STM32F429I-Discovery BSP User Manual by   doxygen 1.7.6.1