STM32469I_EVAL BSP User Manual
|
Functions | |
uint8_t | BSP_SRAM_Init (void) |
Initializes the SRAM device. | |
uint8_t | BSP_SRAM_DeInit (void) |
DeInitializes the SRAM device. | |
uint8_t | BSP_SRAM_ReadData (uint32_t uwStartAddress, uint16_t *pData, uint32_t uwDataSize) |
Reads an amount of data from the SRAM device in polling mode. | |
uint8_t | BSP_SRAM_ReadData_DMA (uint32_t uwStartAddress, uint16_t *pData, uint32_t uwDataSize) |
Reads an amount of data from the SRAM device in DMA mode. | |
uint8_t | BSP_SRAM_WriteData (uint32_t uwStartAddress, uint16_t *pData, uint32_t uwDataSize) |
Writes an amount of data from the SRAM device in polling mode. | |
uint8_t | BSP_SRAM_WriteData_DMA (uint32_t uwStartAddress, uint16_t *pData, uint32_t uwDataSize) |
Writes an amount of data from the SRAM device in DMA mode. | |
void | BSP_SRAM_DMA_IRQHandler (void) |
Handles SRAM DMA transfer interrupt request. | |
__weak void | BSP_SRAM_MspInit (SRAM_HandleTypeDef *hsram, void *Params) |
Initializes SRAM MSP. | |
__weak void | BSP_SRAM_MspDeInit (SRAM_HandleTypeDef *hsram, void *Params) |
DeInitializes SRAM MSP. |
Function Documentation
uint8_t BSP_SRAM_DeInit | ( | void | ) |
DeInitializes the SRAM device.
- Return values:
-
SRAM status : SRAM_OK or SRAM_ERROR.
Definition at line 188 of file stm32469i_eval_sram.c.
References BSP_SRAM_MspDeInit(), SRAM_ERROR, SRAM_OK, and sramHandle.
void BSP_SRAM_DMA_IRQHandler | ( | void | ) |
Handles SRAM DMA transfer interrupt request.
Definition at line 285 of file stm32469i_eval_sram.c.
References sramHandle.
uint8_t BSP_SRAM_Init | ( | void | ) |
Initializes the SRAM device.
- Return values:
-
SRAM status
Definition at line 142 of file stm32469i_eval_sram.c.
References BSP_SRAM_MspInit(), CONTINUOUSCLOCK_FEATURE, SRAM_BURSTACCESS, SRAM_ERROR, SRAM_MEMORY_WIDTH, SRAM_OK, SRAM_WRITEBURST, sramHandle, and Timing.
void BSP_SRAM_MspDeInit | ( | SRAM_HandleTypeDef * | hsram, |
void * | Params | ||
) |
DeInitializes SRAM MSP.
- Note:
- This function can be surcharged by application code.
- Parameters:
-
hsram : pointer on SRAM handle Params,: pointer on additional configuration parameters, can be NULL.
Definition at line 381 of file stm32469i_eval_sram.c.
References SRAM_DMAx_IRQn, and SRAM_DMAx_STREAM.
Referenced by BSP_SRAM_DeInit().
void BSP_SRAM_MspInit | ( | SRAM_HandleTypeDef * | hsram, |
void * | Params | ||
) |
Initializes SRAM MSP.
- Note:
- This function can be surcharged by application code.
- Parameters:
-
hsram : pointer on SRAM handle Params : pointer on additional configuration parameters, can be NULL.
Definition at line 296 of file stm32469i_eval_sram.c.
References __SRAM_DMAx_CLK_ENABLE, SRAM_DMAx_CHANNEL, SRAM_DMAx_IRQn, and SRAM_DMAx_STREAM.
Referenced by BSP_SRAM_Init().
uint8_t BSP_SRAM_ReadData | ( | uint32_t | uwStartAddress, |
uint16_t * | pData, | ||
uint32_t | uwDataSize | ||
) |
Reads an amount of data from the SRAM 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:
-
SRAM status : SRAM_OK or SRAM_ERROR.
Definition at line 213 of file stm32469i_eval_sram.c.
References SRAM_ERROR, SRAM_OK, and sramHandle.
uint8_t BSP_SRAM_ReadData_DMA | ( | uint32_t | uwStartAddress, |
uint16_t * | pData, | ||
uint32_t | uwDataSize | ||
) |
Reads an amount of data from the SRAM 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:
-
SRAM status : SRAM_OK or SRAM_ERROR.
Definition at line 232 of file stm32469i_eval_sram.c.
References SRAM_ERROR, SRAM_OK, and sramHandle.
uint8_t BSP_SRAM_WriteData | ( | uint32_t | uwStartAddress, |
uint16_t * | pData, | ||
uint32_t | uwDataSize | ||
) |
Writes an amount of data from the SRAM 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:
-
SRAM status : SRAM_OK or SRAM_ERROR.
Definition at line 251 of file stm32469i_eval_sram.c.
References SRAM_ERROR, SRAM_OK, and sramHandle.
uint8_t BSP_SRAM_WriteData_DMA | ( | uint32_t | uwStartAddress, |
uint16_t * | pData, | ||
uint32_t | uwDataSize | ||
) |
Writes an amount of data from the SRAM 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:
-
SRAM status : SRAM_OK or SRAM_ERROR.
Definition at line 270 of file stm32469i_eval_sram.c.
References SRAM_ERROR, SRAM_OK, and sramHandle.
Generated on Tue Jan 12 2016 17:51:26 for STM32469I_EVAL BSP User Manual by
