Specifications
108 Data Path Routing (DPR) HighWire MTP-2 - 1.2, September 4, 2002
DPR_ENABLE_CLKERR_CALLBACK. Enables the specified clock error watchdogs
in the T8102.
The putmsg control buffer is a structure of type dpr_cker_t. The cker_evt
element is a CLKERREVENT structure that specifies the error watchdogs to
enable. The getmsg control buffer returned is also a dpr_cker_t structure with
the error code in the cker_df.df_err element (zero on success).
When a specified clock error occurs this command causes the board to send
unsolicited clock error event messages on this file descriptor. Any getmsg call
may return a clock error event instead of the response to a command's
putmsg.
The elements in the CLKERROREVENT structure are listed below. Only the
clkWdogMask and err3Data elements are set when issuing the command but
all may be filled in on an error message. An unsolicited CLKERROREVENT
message will have cker_fun set to DPR_CLKERR_DATA instead of the
DPR_ENABLE_CLKERR_CALLBACK returned as the response to this
command..
DPR_DISABLE_CLKERR_CALLBACK. Disables all clock error watchdogs in the
T8102 and stop the board from sending unsolicited clock error messages to
the application.
The putmsg control buffer is a structure of type dpr_func_t, which contains
only the command. The getmsg control buffer returned is also a dpr_func_t
structure with the error code in the df_err element, which is zero on success.
UINT32 clkWdogMask CKW mask for what errors to enable: i.e.,
CKW_NETREF.
UINT32 errSource error source: CLKERR1, CLKERR2, CLKERR3 or
SYSERR.
UINT32 err1Data error reason for CLKERR1.
UINT32 err2Data error reason for CLKERR2.
UINT32 err3Data error reason for CLKERR3; set bit 0 to enable
NETREF2 error reporting.
UINT32 sysErrData error reason for sysErr.