STM32L4R9I_EVAL BSP User Manual: Exported Functions

STM32L4R9I_EVAL BSP

STM32L4R9I_EVAL BSP User Manual
Exported Functions

Modules

 STM32L476G_EVAL_SRAM_Private_Functions

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.

Function Documentation

void BSP_SRAM_DMA_IRQHandler ( void  )

Handles SRAM DMA transfer interrupt request.

Return values:
None

Definition at line 254 of file stm32l4r9i_eval_sram.c.

References sramHandle.

uint8_t BSP_SRAM_Init ( void  )

Initializes the SRAM device.

Return values:
SRAMstatus

Definition at line 133 of file stm32l4r9i_eval_sram.c.

References SRAM_ADDR_SETUP_TIME, SRAM_DATA_HOLD_TIME, SRAM_DATA_SETUP_TIME, SRAM_ERROR, SRAM_MspInit(), SRAM_OK, SRAM_TURN_AROUND_TIME, 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:
SRAMstatus

Definition at line 181 of file stm32l4r9i_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:
SRAMstatus

Definition at line 200 of file stm32l4r9i_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:
SRAMstatus

Definition at line 219 of file stm32l4r9i_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:
SRAMstatus

Definition at line 238 of file stm32l4r9i_eval_sram.c.

References SRAM_ERROR, SRAM_OK, and sramHandle.

Generated on Thu Oct 12 2017 10:54:00 for STM32L4R9I_EVAL BSP User Manual by   doxygen 1.7.6.1