STM32746G-Discovery board drivers V1.0.0

Dependents:   F746_SD_GraphicEqualizer_ren0620

Fork of BSP_DISCO_F746NG by ST

Embed: (wiki syntax)

« Back to documentation index

STM32746G_DISCOVERY QSPI Exported Functions

STM32746G_DISCOVERY QSPI Exported Functions
[STM32746G-Discovery QSPI]

Functions

uint8_t BSP_QSPI_Init (void)
 Initializes the QSPI interface.
uint8_t BSP_QSPI_DeInit (void)
 De-Initializes the QSPI interface.
uint8_t BSP_QSPI_Read (uint8_t *pData, uint32_t ReadAddr, uint32_t Size)
 Reads an amount of data from the QSPI memory.
uint8_t BSP_QSPI_Write (uint8_t *pData, uint32_t WriteAddr, uint32_t Size)
 Writes an amount of data to the QSPI memory.
uint8_t BSP_QSPI_Erase_Block (uint32_t BlockAddress)
 Erases the specified block of the QSPI memory.
uint8_t BSP_QSPI_Erase_Chip (void)
 Erases the entire QSPI memory.
uint8_t BSP_QSPI_GetStatus (void)
 Reads current status of the QSPI memory.
uint8_t BSP_QSPI_GetInfo (QSPI_Info *pInfo)
 Return the configuration of the QSPI memory.
uint8_t BSP_QSPI_MemoryMappedMode (void)
 Configure the QSPI in memory-mapped mode.

Function Documentation

uint8_t BSP_QSPI_DeInit ( void   )

De-Initializes the QSPI interface.

Return values:
QSPImemory status

Definition at line 165 of file stm32746g_discovery_qspi.c.

uint8_t BSP_QSPI_Erase_Block ( uint32_t  BlockAddress )

Erases the specified block of the QSPI memory.

Parameters:
BlockAddress,:Block address to erase
Return values:
QSPImemory status

Definition at line 308 of file stm32746g_discovery_qspi.c.

uint8_t BSP_QSPI_Erase_Chip ( void   )

Erases the entire QSPI memory.

Return values:
QSPImemory status

Definition at line 350 of file stm32746g_discovery_qspi.c.

uint8_t BSP_QSPI_GetInfo ( QSPI_Info *  pInfo )

Return the configuration of the QSPI memory.

Parameters:
pInfo,:pointer on the configuration structure
Return values:
QSPImemory status

Definition at line 443 of file stm32746g_discovery_qspi.c.

uint8_t BSP_QSPI_GetStatus ( void   )

Reads current status of the QSPI memory.

Return values:
QSPImemory status

Definition at line 390 of file stm32746g_discovery_qspi.c.

uint8_t BSP_QSPI_Init ( void   )

Initializes the QSPI interface.

Return values:
QSPImemory status

Definition at line 118 of file stm32746g_discovery_qspi.c.

uint8_t BSP_QSPI_MemoryMappedMode ( void   )

Configure the QSPI in memory-mapped mode.

Return values:
QSPImemory status

Definition at line 459 of file stm32746g_discovery_qspi.c.

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

Reads an amount of data from the QSPI memory.

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

Definition at line 188 of file stm32746g_discovery_qspi.c.

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

Writes an amount of data to the QSPI memory.

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

Definition at line 228 of file stm32746g_discovery_qspi.c.