Showing changes from revision #0 to #1:
Added | Removed | Changed
int HAL_NVMemoryRead(unsigned int addr, void *buffer, unsigned int n)
Entry | |
---|---|
addr | Address inside NVRAM to start reading from |
buffer | Buffer to transfer data into |
n | Number of bytes to read |
Exit | |
---|---|
- | Returns the number of bytes successfully read. |
Reads n bytes of memory from address addr onwards into the buffer supplied.
Returns the number of bytes successfully read. Under all normal
circumstances the return value will be n – if it is not, a hardware failure
is implied. Behaviour is undefined if the address range specified is outside
the NVMemory, or inside bytes 0-15, if declared unavailable.