STM32F723E-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 188 of file stm32f723e_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 135 of file stm32f723e_discovery_psram.c.
References BSP_PSRAM_MspInit(), CONTINUOUSCLOCK_FEATURE, PSRAM_BURSTACCESS, PSRAM_ERROR, PSRAM_MEMORY_WIDTH, PSRAM_OK, PSRAM_WRITEBURST, and psramHandle.
__weak void BSP_PSRAM_MspDeInit | ( | SRAM_HandleTypeDef * | hsram, |
void * | Params | ||
) |
DeInitializes SRAM MSP.
- Parameters:
-
hsram,: SRAM handle Params
- Return values:
-
None
Definition at line 373 of file stm32f723e_discovery_psram.c.
References PSRAM_DMAx_IRQn, and PSRAM_DMAx_STREAM.
Referenced by BSP_PSRAM_DeInit().
__weak void BSP_PSRAM_MspInit | ( | SRAM_HandleTypeDef * | hsram, |
void * | Params | ||
) |
Initializes PSRAM MSP.
- Parameters:
-
hsram,: PSRAM handle Params
- Return values:
-
None
Definition at line 292 of file stm32f723e_discovery_psram.c.
References __PSRAM_DMAx_CLK_ENABLE, PSRAM_DMAx_CHANNEL, 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 217 of file stm32f723e_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 236 of file stm32f723e_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 255 of file stm32f723e_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 274 of file stm32f723e_discovery_psram.c.
References PSRAM_ERROR, PSRAM_OK, and psramHandle.
Generated on Tue May 30 2017 13:59:12 for STM32F723E-Discovery BSP User Manual by 1.7.6.1