A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://technical.swissmicros.com/dmcp/doc/DMCP-ifc-html/group__qspi.html below:

DMCP interface: QSPI

QSPI User functions. More...

int  qspi_user_write (uint8_t *data, int size, int offset, int erase)   Writes data to the user QSPI data area.
  uint8_t *  qspi_user_addr ()   Returns pointer to the user QSPI data area.
  int  qspi_user_size ()   Returns size (in bytes) of the user QSPI data area.
 

QSPI User functions.

DMCP Allocates a single QSPI flash page for use in the user program. It allows to store persistent data (like a configuration values) in a memory mapped area which isn't overwritten by firmware updates.

Use System flash if you need to store more data.

◆ qspi_user_addr() uint8_t * qspi_user_addr ( )

Returns pointer to the user QSPI data area.

Returns
Data pointer
◆ qspi_user_size()

Returns size (in bytes) of the user QSPI data area.

Returns
Data area size
◆ qspi_user_write() int qspi_user_write ( uint8_t * data, int size, int offset, int erase )

Writes data to the user QSPI data area.

Note that nothing is written and write fails if the data write request goes beyond the user area.

Parameters
data Data pointer size Data size to be written (bytes) offset Write at this position of the user QSPI data area erase (0/1) 1 = Erase the user QSPI data area before write
Returns
0 = Success

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4