M1966_measure_update_t – Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual
Page 90

73M1866B/73M1966B Reference Driver User Guide
UG_1x66B_015
90
Rev. 2.7
7.14.4 M1966_MEASURE_UPDATE_t
Description
This structure is used by the M1966_MEASURE_UPDATE IOCTL to send the IET table entry parameters
for update, or to read its content. The action parameter in the structure indicates the desired operation.
The GET operation performs the read function while the SET operation performs write or modify function.
Prototype
typedef struct
{
unsigned int row;
M1966_MEASURE_ENTITY entity;
M1966_MEASURE_ACTION action;
unsigned int inverval_min;
unsigned int interval_max;
unsigned int event;
}
M1966_MEASURE_UPDATE_t;
Parameters
Data Type
Name
Description
unsigned int
row
IET table index (0 to 9).
M1966_MEASURE_ENTITY entity
Measuring entity – current or voltage.
M1966_MEASURE_ACTION action
Requested action – GET, SET or CLEAR.
unsigned int
interval_min Lower bound range (in milliamps for current, or millivolts
in voltage).
unsigned int
interval_max Upper bound range (in milliamps for current, or millivolts
in voltage).
unsigned int
event
Event identifier sent to application layer.