Showing changes from revision #1 to #2:
Added | Removed | Changed
int HAL_NVMemoryWrite(unsigned int addr, void *buffer, unsigned int n)
Entry | |
---|---|
addr | Address inside NVRAM to start writing to |
buffer | Buffer to transfer data from |
n | Number of bytes to write |
Exit | |
---|---|
- | Returns the number of bytes successfully written. |
Write This is an internal call for OS use only and should not be used by user software.n bytes of memory into address addr onwards from the buffer supplied.
Returns the number of bytes successfully written. 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. Writes inside the protected region should be ignored.
Write n bytes of memory into address addr onwards from the buffer supplied. Returns the number of bytes successfully written. 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. Writes inside the protected region should be ignored.