M1966_iet_t, Ee m1966_iet_t – Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual
Page 91

UG_1x66B_015
73M1866B/73M1966B Reference Driver User Guide
Rev. 2.7
91
7.14.5 M1966_IET_t
Description
This Interval and Event Table structure (IET) is internally used by the driver to store threshold parameters
for monitoring line current and voltage. Each measuring entity (current and voltage) has its own separate
IET table of up to 10 entries, or rows with the following attributes: the IET row number, lower and upper
bound thresholds, and an event identifier that will be sent in M1966_LINE_STATE event to the application
when this IET entry is entered.
The IET table is managed by the application layer via a group of line measurement IOCTLs.
Management of IET table entry consists of runtime update of IET table, and the start and stop
measurement processing which access these IET tables.
Prototype
typedef struct
{
unsigned int row;
unsigned int inverval_min;
unsigned int interval_max;
unsigned int event;
}
M1966_IET_t;
Parameters
Data Type
Name
Description
unsigned int
row
IET table index (0 to 9).
unsigned int
interval_min
Lower bound range (in milliamps for current, or millivolts for
voltage).
unsigned int
interval_max
Upper bound range (in milliamps for current, or millivolts for
voltage).
unsigned int
event
Event identifier sent to application layer.