STM3210E_EVAL BSP User Manual
|
Functions | |
uint8_t | BSP_SRAM_Init (void) |
Initializes 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. | |
static void | SRAM_MspInit (void) |
Initializes SRAM MSP. |
Function Documentation
void BSP_SRAM_DMA_IRQHandler | ( | void | ) |
Handles SRAM DMA transfer interrupt request.
- Return values:
-
None
Definition at line 271 of file stm3210e_eval_sram.c.
References sramHandle.
uint8_t BSP_SRAM_Init | ( | void | ) |
Initializes the SRAM device.
- Return values:
-
SRAM status
Definition at line 150 of file stm3210e_eval_sram.c.
References SRAM_BURSTACCESS, SRAM_ERROR, SRAM_MEMORY_WIDTH, SRAM_MspInit(), SRAM_OK, SRAM_WRITEBURST, sramHandle, and Timing.
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
Definition at line 198 of file stm3210e_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
Definition at line 217 of file stm3210e_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
Definition at line 236 of file stm3210e_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
Definition at line 255 of file stm3210e_eval_sram.c.
References SRAM_ERROR, SRAM_OK, and sramHandle.
static void SRAM_MspInit | ( | void | ) | [static] |
Initializes SRAM MSP.
- Return values:
-
None
< SRAM Data lines configuration
< SRAM Address lines configuration
< NOE and NWE configuration
< NE3 configuration
< NBL0, NBL1 configuration
Definition at line 280 of file stm3210e_eval_sram.c.
References sramHandle.
Referenced by BSP_SRAM_Init().
Generated on Thu Dec 10 2015 17:39:43 for STM3210E_EVAL BSP User Manual by 1.7.6.1