Everything

CHAPTER 11 SYSTEM CONFIGURATION MANAGEMENT FUNCTIONS


This chapter describes the system configuration management functions performed by the RI600V4.
11.1 Outline
The RI600V4's system configuration management function provides the function to reference the version information.
11.2 Reference Version Information
The version information can be referenced by issuing the following service call from the processing program.
- ref_ver, iref_ver
These service calls store the version information into the area specified by parameter pk_rver.
The following describes an example for coding these service calls.
 #include    "kernel.h"              /*Standard header file definition*/
 #include    "kernel_id.h"           /*Header file generated by cfg600*/
 
 void task (VP_INT exinf)
 {
     T_RVER  pk_rver;                /*Declares data structure*/
     UH      maker;                  /*Declares variable*/
     UH      prid;                   /*Declares variable*/
 
     /* ......... */
 
     ref_ver (&pk_rver);             /*Reference version information/
 
     maker = pk_rver.maker;          /*Acquirer system time (lower 32 bits)*/
     prid = pk_rver.prid;            /*Acquirer system time (higher 16 bits)*/
 
     /* ......... */
 }

Note For details about the version information packet T_RVER, refer to "[Version information packet: T_RVER]".