STM32F413H-Discovery BSP User Manual
|
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:
-
PSRAM status
Definition at line 150 of file stm32f413h_discovery_psram.c.
References BSP_PSRAM_MspDeInit(), PSRAM_ERROR, PSRAM_OK, and psramHandle.
uint8_t BSP_PSRAM_Init | ( | void | ) |
Initializes the PSRAM device.
- Return values:
-
PSRAM status
Definition at line 102 of file stm32f413h_discovery_psram.c.
References BSP_PSRAM_MspInit(), CONTINUOUSCLOCK_FEATURE, PSRAM_BURSTACCESS, PSRAM_ERROR, PSRAM_MEMORY_WIDTH, PSRAM_OK, PSRAM_WRITEBURST, psramHandle, and Timing.
__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 337 of file stm32f413h_discovery_psram.c.
References PSRAM_DMAx_IRQn.
Referenced by BSP_PSRAM_DeInit().
__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 253 of file stm32f413h_discovery_psram.c.
References PSRAM_DMAx_CHANNEL, PSRAM_DMAx_CLK_ENABLE, PSRAM_DMAx_IRQn, and PSRAM_DMAx_STREAM.
Referenced by BSP_PSRAM_Init().
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:
-
PSRAM status
Definition at line 179 of file stm32f413h_discovery_psram.c.
References PSRAM_ERROR, PSRAM_OK, and psramHandle.
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:
-
PSRAM status
Definition at line 198 of file stm32f413h_discovery_psram.c.
References PSRAM_ERROR, PSRAM_OK, and psramHandle.
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:
-
PSRAM status
Definition at line 217 of file stm32f413h_discovery_psram.c.
References PSRAM_ERROR, PSRAM_OK, and psramHandle.
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:
-
PSRAM status
Definition at line 236 of file stm32f413h_discovery_psram.c.
References PSRAM_ERROR, PSRAM_OK, and psramHandle.
Generated on Thu Jan 26 2017 16:30:37 for STM32F413H-Discovery BSP User Manual by 1.7.6.1