12 interval event table management apis, 1 m1x66_getcurrentiet, 2 m1x66_updatecurrentiet – Maxim Integrated 73M1866B/73M1966B FXOAPI User Manual
Page 33: Interval event table management apis, M1x66_getcurrentiet, M1x66_updatecurrentiet

UG_1x66B_046
73M1866B/73M1966B FXOAPI User Guide
Rev. 2.1
33
2.12 Interval Event Table Management APIs
2.12.1 M1x66_GetCurrentIET
Description
Read the line current IET table entry.
Prototype
int M1x66_GetCurrentIET (
M1x66_HANDLE channel,
unsigned int ietIndex,
M1966_IET_t *pIET );
Parameters
Data Type
Name
Description
channel
Channel handle obtained from FXO open channel.
unsigned int
ietIndex
IET entry index – row number (0 – 9).
M1966_IET_t
*pIET
Pointer to an output structure M1966_IET_t.
Return Values
Data Type
Description
M1x66_RET
M1x66_SUCCESS – Successfully read the IET entry.
M1x66_FAILED - Failure.
2.12.2 M1x66_UpdateCurrentIET
Description
Perform the line current IET table update.
Prototype
int M1x66_UpdateCurrentIET (
M1x66_HANDLE channel,
unsigned int ietIndex,
M1966_IET_t *pIET );
Parameters
Data Type
Name
Description
channel
Channel handle obtained from FXO open channel.
unsigned int
ietIndex
IET entry index – row number (0 – 9).
M1966_IET_t
*pIET
Pointer to an input structure M1966_IET_t.
Return Values
Data Type
Description
M1x66_RET
M1x66_SUCCESS – Successfully update the IET entry.
M1x66_FAILED – Failure.