Contains the BSP driver for the DISCO_F413ZH board.

Dependents:   DISCO_F413ZH-LCD-demo DISCO_F413ZH-touch-screen-demo DISCO_F413ZH-SD-demo DISCO_F413ZH-PSRAM-demo ... more

Embed: (wiki syntax)

« Back to documentation index

STM32F413H DISCOVERY PSRAM Private Functions

STM32F413H DISCOVERY PSRAM Private Functions
[STM32F413H_DISCOVERY PSRAM]

Functions

uint8_t BSP_PSRAM_Init (void)
 Initializes the PSRAM device.
uint8_t BSP_PSRAM_DeInit (void)
 DeInitializes the PSRAM device.
uint8_t BSP_PSRAM_ReadData (uint32_t uwStartAddress, uint16_t *pData, uint32_t uwDataSize)
 Reads an amount of data from the PSRAM device in polling mode.
uint8_t BSP_PSRAM_ReadData_DMA (uint32_t uwStartAddress, uint16_t *pData, uint32_t uwDataSize)
 Reads an amount of data from the PSRAM device in DMA mode.
uint8_t BSP_PSRAM_WriteData (uint32_t uwStartAddress, uint16_t *pData, uint32_t uwDataSize)
 Writes an amount of data from the PSRAM device in polling mode.
uint8_t BSP_PSRAM_WriteData_DMA (uint32_t uwStartAddress, uint16_t *pData, uint32_t uwDataSize)
 Writes an amount of data from the PSRAM device in DMA mode.
__weak void BSP_PSRAM_MspInit (SRAM_HandleTypeDef *hsram, void *Params)
 Initializes PSRAM MSP.
__weak void BSP_PSRAM_MspDeInit (SRAM_HandleTypeDef *hsram, void *Params)
 DeInitializes SRAM MSP.

Function Documentation

uint8_t BSP_PSRAM_DeInit ( void   )

DeInitializes the PSRAM device.

Return values:
PSRAMstatus

Definition at line 148 of file stm32f413h_discovery_psram.c.

uint8_t BSP_PSRAM_Init ( void   )

Initializes the PSRAM device.

Return values:
PSRAMstatus

Definition at line 100 of file stm32f413h_discovery_psram.c.

__weak void BSP_PSRAM_MspDeInit ( SRAM_HandleTypeDef *  hsram,
void *  Params 
)

DeInitializes SRAM MSP.

Parameters:
hsram,:SRAM handle
Params: pointer on additional configuration parameters, can be NULL.
Return values:
None

Definition at line 335 of file stm32f413h_discovery_psram.c.

__weak void BSP_PSRAM_MspInit ( SRAM_HandleTypeDef *  hsram,
void *  Params 
)

Initializes PSRAM MSP.

Parameters:
hsram,:PSRAM handle
Params: pointer on additional configuration parameters, can be NULL.

Definition at line 251 of file stm32f413h_discovery_psram.c.

uint8_t BSP_PSRAM_ReadData ( uint32_t  uwStartAddress,
uint16_t *  pData,
uint32_t  uwDataSize 
)

Reads an amount of data from the PSRAM device in polling mode.

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

Definition at line 177 of file stm32f413h_discovery_psram.c.

uint8_t BSP_PSRAM_ReadData_DMA ( uint32_t  uwStartAddress,
uint16_t *  pData,
uint32_t  uwDataSize 
)

Reads an amount of data from the PSRAM device in DMA mode.

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

Definition at line 196 of file stm32f413h_discovery_psram.c.

uint8_t BSP_PSRAM_WriteData ( uint32_t  uwStartAddress,
uint16_t *  pData,
uint32_t  uwDataSize 
)

Writes an amount of data from the PSRAM device in polling mode.

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

Definition at line 215 of file stm32f413h_discovery_psram.c.

uint8_t BSP_PSRAM_WriteData_DMA ( uint32_t  uwStartAddress,
uint16_t *  pData,
uint32_t  uwDataSize 
)

Writes an amount of data from the PSRAM device in DMA mode.

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

Definition at line 234 of file stm32f413h_discovery_psram.c.