M1x22_measure_update_t – Maxim Integrated 73M1822/73M1922 Control Module User Manual

Page 81

Advertising
background image

UG_1x22_053

73M1822/73M1922 Control Module User Guide

Rev. 1.0

81

7.14.4 M1X22_MEASURE_UPDATE_t

Description

This structure is used by the M1X22_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;
M1X22_MEASURE_ENTITY entity;
M1X22_MEASURE_ACTION action;
unsigned int inverval_min;
unsigned int interval_max;
unsigned int event;
}
M1X22_MEASURE_UPDATE_t;

Parameters

Data Type

Name

Description

unsigned int

row

IET table index (0 to 9).

M1X22_MEASURE_ENTITY entity

Measuring entity – current or voltage.

M1X22_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.


Advertising