M1x22_measure_start_stop_t, M1x22_measure_start_stop – Maxim Integrated 73M1822/73M1922 Control Module User Manual

Page 80

Advertising
background image

73M1822/73M1922 Control Module User Guide

UG_1x22_053

80

Rev. 1.0

7.14.3 M1X22_MEASURE_START_STOP_t

Description

This structure is used by the M1X22_MEASURE_START and M1X22_MEASURE_STOP IOCTLs to start and
stop the current or voltage measurement.

Prototype

typedef struct
{
M1X22_MEASURE_ENTITY entity;
unsigned int sample_time;
unsigned int average_sample_count;
}
M1X22_MEASURE_START_t;

Parameters

Data Type

Name

Description

M1X22_MEASURE_ENTITY

entity

Measuring entity – current or voltage.

unsigned int

sample_time

Interval between two samplings in
milliseconds (not applicable for the
M1X22_MEASURE_STOP

IOCTL).

unsigned int

average_sample_count

Sample count for average calculation (not
applicable for the M1X22_MEASURE_STOP
IOCTL.


Advertising