Defines | |
| #define | _FLASH_H 1 |
Functions | |
| int16_t | flwrite (const void *frombuf, uint16_t size, uint16_t toaddr) |
| int16_t | flread (uint16_t fromaddr, void *tobuf, uint16_t size) |
| uint16_t | flsize () |
| #define _FLASH_H 1 |
| int16_t flread | ( | uint16_t | fromaddr, | |
| void * | tobuf, | |||
| uint16_t | size | |||
| ) |
A system call to provide random read access of the on-chip flash as a non-volatile storage.
| [in] | fromaddr | address of the flash where data is read from |
| [out] | tobuf | address of a the buffer where content will be copied to |
| [in] | size | size of tobuf in bytes |
| uint16_t flsize | ( | ) |
A function call that returns the total size of the internal non-volatile storage in bytes that are available for application to use.
| int16_t flwrite | ( | const void * | frombuf, | |
| uint16_t | size, | |||
| uint16_t | toaddr | |||
| ) |
A system call to provide random write access to the on-chip flash as a non-volatile storage.
| [in] | frombuf | pointer to the buffer to be written to flash |
| [in] | size | size of the buffer in bytes |
| [in] | toaddr | start address on the flash where content will be copied to |
1.5.5