SERIAL INTERFACE DEVELOPERS GUIDE
struct _SERVO_MODE
{
UWord16 mode; /* Mode of Servo: Open, Closed, Factor */
UWord16 factor; /* PWM Factor for user specified setting */
};
typedef struct _SERVO_MODE SERVO_MODE, *PTR_SERVO_MODE;
/* Servo Mode Enumeration */
enum
{
SERVO_OPEN = 0,
SERVO_CLOSE,
SERVO_FACTOR
};
Note: This command is to be used for test purposes. Once configured the servo will be controlled by
the embedded application during normal operation
5.3.22 CMD_CAL_FLAG_REFERENCE
Description: Sets the calibration flag reference to the supplied state. If hot or cold reference is
selected then the factors stored in the serial data flash (active NUC mode table) are used. If factor
mode is selected then the value supplied with the command packet will be used to set the reference
temperature.
Command Code: Enumeration for CMD_CAL_FLAG_REFERENCE
Argument Size: Size of CAL_FLAG_STATE.
Argument: See below.
/* Commanded Calibration Flag Setting Structure */
struct _CAL_FLAG_STATE
{
UWord16 state; /* State of Flag: Ambient, Cold, Hot, Factor */
UWord16 factor; /* Factor for user specified setting */
};
typedef struct _CAL_FLAG_STATE CAL_FLAG_STATE, *PTR_CAL_FLAG_STATE;
/* Calibration Reference Flag Enumeration */
enum
{
CAL_FLAG_AMBIENT = 0,
CAL_FLAG_HOT,
CAL_FLAG_COLD,
CAL_FLAG_FACTOR
};
Note: This command is to be used for test purposes. Once configured the calibration flag will be
controlled by the embedded application during normal operation.
5.3.23 CMD_ONE_PT_REFRESH
Description: Initiates a 1-point refresh calibration.
Command Code: Enumeration for CMD_ONE_PT_REFRESH
Argument Size: UWord16
Argument: 0 – external reference, 1 – internal reference
Note: Since the 1 point refresh calibration using external flag requires placement of cold sources it is
necessary to implement this command in ‘sub-protocol’ form. See paragraph X7.1X for details.
13