beautypg.com

M1966_loopback_t, Line measurement related data types and structures, M1966_measure_entity – Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual

Page 88

background image

73M1866B/73M1966B Reference Driver User Guide

UG_1x66B_015

88

Rev. 2.7

7.13.3 M1966_LOOPBACK_t

Description

This is the structure used for managing the loopback with the M1966_LOOPBACK IOCTL.

Prototype

typedef struct m1966_loopback_struct
{
M1966_LOOPBACK_COMMAND command;
M1966_LOOPBACK_MODE mode;
}
M1966_LOOPBACK_t;

Parameters

Name

Value

Description

M1966_LOOPBACK_COMMAND

Command

Loopback command.

M1966_LOOPBACK_MODE

type

Loopback mode.

7.14 Line Measurement Related Data Types and Structures

7.14.1 M1966_MEASURE_ENTITY

Description

This is the enumerated list of line measuring entities that can be monitored by the driver.

Prototype

typedef enum
{
M1966_MEASURE_ENTITY_CURRENT = 0,
M1966_MEASURE_ENTITY_VOLTAGE = 1,
}
M1966_MEASURE_ENTITY;

Parameters

Name

Value

Description

M1966_MEASURE_ENTITY_CURRENT

0

Line current measuring entity.

M1966_MEASURE_ENTITY_VOLTAGE

1

Line voltage measuring entity.