STM32L4R9I_EVAL BSP User Manual: Exported Functions

STM32L4R9I_EVAL BSP

STM32L4R9I_EVAL BSP User Manual

Functions

uint8_t BSP_OSPI_RAM_Init (void)
 Initializes the OSPI interface.
uint8_t BSP_OSPI_RAM_DeInit (void)
 De-Initializes the OSPI interface.
uint8_t BSP_OSPI_RAM_Read (uint8_t *pData, uint32_t ReadAddr, uint32_t Size)
 Reads an amount of data from the HyperRAM memory.
uint8_t BSP_OSPI_RAM_Read_DMA (uint8_t *pData, uint32_t ReadAddr, uint32_t Size)
 Reads an amount of data from the HyperRAM memory in DMA mode.
uint8_t BSP_OSPI_RAM_Write (uint8_t *pData, uint32_t WriteAddr, uint32_t Size)
 Writes an amount of data to the HyperRAM memory.
uint8_t BSP_OSPI_RAM_Write_DMA (uint8_t *pData, uint32_t WriteAddr, uint32_t Size)
 Writes an amount of data to the HyperRAM memory in DMA mode.
uint8_t BSP_OSPI_RAM_EnableMemoryMappedMode (void)
 Configure the OSPI in memory-mapped mode.
uint8_t BSP_OSPI_RAM_EnterDeepPowerDown (void)
 This function enter the HyperRAM memory in deep power down mode.
uint8_t BSP_OSPI_RAM_LeaveDeepPowerDown (void)
 This function leave the HyperRAM memory from deep power down mode.
void BSP_OSPI_RAM_DMA_IRQHandler (void)
 Handles OctoSPI HyperRAM DMA transfer interrupt request.
void BSP_OSPI_RAM_IRQHandler (void)
 Handles OctoSPI HyperRAM interrupt request.

Function Documentation

uint8_t BSP_OSPI_RAM_DeInit ( void  )

De-Initializes the OSPI interface.

Return values:
HyperRAMmemory status

Definition at line 179 of file stm32l4r9i_eval_ospi_ram.c.

References OSPI_RAM_ERROR, OSPI_RAM_MspDeInit(), OSPI_RAM_OK, and OspiRamHandle.

void BSP_OSPI_RAM_DMA_IRQHandler ( void  )

Handles OctoSPI HyperRAM DMA transfer interrupt request.

Return values:
None

Definition at line 462 of file stm32l4r9i_eval_ospi_ram.c.

References OspiRamHandle.

Configure the OSPI in memory-mapped mode.

Return values:
HyperRAMmemory status

Definition at line 331 of file stm32l4r9i_eval_ospi_ram.c.

References OSPI_RAM_ERROR, OSPI_RAM_OK, and OspiRamHandle.

uint8_t BSP_OSPI_RAM_EnterDeepPowerDown ( void  )

This function enter the HyperRAM memory in deep power down mode.

Return values:
HyperRAMmemory status

Definition at line 363 of file stm32l4r9i_eval_ospi_ram.c.

References OSPI_RAM_ERROR, OSPI_RAM_OK, and OspiRamHandle.

uint8_t BSP_OSPI_RAM_Init ( void  )

Initializes the OSPI interface.

Return values:
HyperRAMmemory status

Definition at line 127 of file stm32l4r9i_eval_ospi_ram.c.

References OSPI_RAM_ERROR, OSPI_RAM_MspInit(), OSPI_RAM_OK, and OspiRamHandle.

void BSP_OSPI_RAM_IRQHandler ( void  )

Handles OctoSPI HyperRAM interrupt request.

Return values:
None

Definition at line 471 of file stm32l4r9i_eval_ospi_ram.c.

References OspiRamHandle.

uint8_t BSP_OSPI_RAM_LeaveDeepPowerDown ( void  )

This function leave the HyperRAM memory from deep power down mode.

Return values:
HyperRAMmemory status

Definition at line 428 of file stm32l4r9i_eval_ospi_ram.c.

References OSPI_RAM_ERROR, OSPI_RAM_OK, and OspiRamHandle.

uint8_t BSP_OSPI_RAM_Read ( uint8_t *  pData,
uint32_t  ReadAddr,
uint32_t  Size 
)

Reads an amount of data from the HyperRAM memory.

Parameters:
pData,:Pointer to data to be read
ReadAddr,:Read start address
Size,:Size of data to read
Return values:
HyperRAMmemory status

Definition at line 202 of file stm32l4r9i_eval_ospi_ram.c.

References OSPI_RAM_ERROR, OSPI_RAM_OK, and OspiRamHandle.

uint8_t BSP_OSPI_RAM_Read_DMA ( uint8_t *  pData,
uint32_t  ReadAddr,
uint32_t  Size 
)

Reads an amount of data from the HyperRAM memory in DMA mode.

Parameters:
pData,:Pointer to data to be read
ReadAddr,:Read start address
Size,:Size of data to read
Return values:
HyperRAMmemory status

Definition at line 235 of file stm32l4r9i_eval_ospi_ram.c.

References OSPI_RAM_ERROR, OSPI_RAM_OK, and OspiRamHandle.

uint8_t BSP_OSPI_RAM_Write ( uint8_t *  pData,
uint32_t  WriteAddr,
uint32_t  Size 
)

Writes an amount of data to the HyperRAM memory.

Parameters:
pData,:Pointer to data to be written
WriteAddr,:Write start address
Size,:Size of data to write
Return values:
HyperRAMmemory status

Definition at line 268 of file stm32l4r9i_eval_ospi_ram.c.

References OSPI_RAM_ERROR, OSPI_RAM_OK, and OspiRamHandle.

uint8_t BSP_OSPI_RAM_Write_DMA ( uint8_t *  pData,
uint32_t  WriteAddr,
uint32_t  Size 
)

Writes an amount of data to the HyperRAM memory in DMA mode.

Parameters:
pData,:Pointer to data to be written
WriteAddr,:Write start address
Size,:Size of data to write
Return values:
HyperRAMmemory status

Definition at line 301 of file stm32l4r9i_eval_ospi_ram.c.

References OSPI_RAM_ERROR, OSPI_RAM_OK, and OspiRamHandle.

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