Backup register access.  
More...
#include "ch.h"
#include "hal.h"
#include "vex.h"
 
      
        
          | void vexBkupInit  | 
          ( | 
          void  | 
          ) |  | 
           | 
        
      
 
Initialize access to backup registers. 
 
 
      
        
          | void vexBkupRegisterWrite  | 
          ( | 
          int16_t  | 
          index,  | 
        
        
           | 
           | 
          uint16_t  | 
          data  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Write backup register. 
- Parameters
 - 
  
    | [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. 
- Parameters
 - 
  
    | [in] | index | The index of the backup register( 0 to 41 )  | 
  
   
- Returns
 - The value of the indexed backup register 
 
 
 
      
        
          | void vexBkupDebug  | 
          ( | 
          vexStream *  | 
          chp,  | 
        
        
           | 
           | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char *  | 
          argv[]  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Dump all backup registers to console for debug. 
- Parameters
 - 
  
    | [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  |