Reset_Stimer - JDS Uniphase SKB SERIES User Manual

Fiberoptic switch module
Hide thumbs Also See for SKB SERIES:
Table of Contents

Advertisement

Response packet
OPCODE
Length
0x0B
0x07

RESET_STIMER

Description
Reset the system timer to 0
Parameters
NA
Parameter
NA
Description
Command packet
OPCODE
Length
0x0C
0x00
U16 Msec, U8 Sec, U8 Min, U16 Hour, U8 Year
Msec (unsigned 16-bit)--The current millisecond timer index (0 to
999).
Sec (unsigned eight-bit)--The current second timer index (0 to 59).
Min (unsigned eight-bit)--The current minute timer index (0 to 59).
Hour (unsigned 16-bit)--The current hour timer index (0 to 8759).
Year (unsigned eight-bit)--The current year timer index (0 to 255).
The system timer is returned as seven bytes as described
previously. These bytes can be extracted into a "C" structure, for
example, as follows:
struct TIMER
{
U16_t Msec;
U8_t Sec ;
U8_t Min ;
U16_t Hour;
U8_t Year;
};
Parameters
/* define system timer struct */
/* milliseconds */
/* seconds */
/* minutes */
/* hours */
/* years (approx. 8760 hours) */
Parameters
Operating and Maintenance Instructions – 39

Advertisement

Table of Contents
loading

Table of Contents