![]() |
Backup register access macros and prototypes. More...
Go to the source code of this file.
Functions | |
| void | vexBkupInit (void) |
| Initialize access to backup registers. More... | |
| void | vexBkupRegisterWrite (int16_t index, uint16_t data) |
| Write backup register. More... | |
| uint16_t | vexBkupRegisterRead (int16_t index) |
| Read backup register at index and return data. More... | |
| void | vexBkupDebug (vexStream *chp, int argc, char *argv[]) |
| Dump all backup registers to console for debug. More... | |
Backup register access macros and prototypes.
| void vexBkupInit | ( | void | ) |
Initialize access to backup registers.
| void vexBkupRegisterWrite | ( | int16_t | index, |
| uint16_t | data | ||
| ) |
Write backup register.
| [in] | index | The index of the backup register( 0 to 41 ) |
| [in] | data | The data to write to the backup register |
| uint16_t vexBkupRegisterRead | ( | int16_t | index) |
Read backup register at index and return data.
| [in] | index | The index of the backup register( 0 to 41 ) |
| void vexBkupDebug | ( | vexStream * | chp, |
| int | argc, | ||
| char * | argv[] | ||
| ) |
Dump all backup registers to console for debug.
| [in] | chp | A pointer to a vexStream object |
| [in] | argc | The number of command line arguments |
| [in] | argv | An array of pointers to the command line args |