2 m1x22_event_id, M1x22_event_id, E m1x22_event_id – Maxim Integrated 73M1822/73M1922 Modem API User Manual
Page 26

73M1822/73M1922 Modem API User Guide
UG_1x22_055
26
Rev. 1.0
4.2 M1X22_EVENT_ID
Description
List of event identification supported by the API subsystem.
Prototype
/*
**************************************************************************
** Event ID
*************************************************************************/
typedef enum {
M1X22_EVENT_NOPOH = M1X22_NOPOH_DETECT,
M1X22_EVENT_APOH = M1X22_APOH_DETECT,
M1X22_EVENT_POLARITY_REV = M1X22_POLARITY_CHG,
M1X22_EVENT_BATT_DROP = M1X22_BATTERY_DROPPED,
M1X22_EVENT_BATT_FEED = M1X22_BATTERY_FEEDED,
M1X22_EVENT_RING_END = M1X22_RING_DETECT_END,
M1X22_EVENT_RING_START = M1X22_RING_DETECT,
M1X22_EVENT_SYNC_LOST = M1X22_SYNC_LOSS_DETECT,
M1X22_EVENT_ON_HOOK = M1X22_ON_HOOK_DETECT,
M1X22_EVENT_OVER_VOLTAGE = M1X22_OV_DETECT,
M1X22_EVENT_OVER_CURRENT = M1X22_OI_DETECT,
M1X22_EVENT_LINE_STATE = M1X22_LINE_STATE,
M1X22_EVENT_UNDER_VOLTAGE = M1X22_UV_DETECT,
M1X22_EVENT_QUALIFIED_RING= M1X22_QUALIFIED_RING,
M1X22_EVENT_DIAL_COMPLETE = M1X22_DIAL_COMPLETE,
M1X22_EVENT_DIAL_ABORTED = M1X22_DIAL_ABORTED,
M1X22_EVENT_GPIO_INTERRUPT= M1X22_GPIO_INTERRUPT
}
M1X22_EVENT_ID;
Parameters
Name
Value
Description
M1X22_EVENT_GPIO_INTERRUPT 0x00800000
GPIO interrupt.
M1X22_EVENT_NOPOH 0x00400000
No other phone off-hook.
M1X22_EVENT_APOH 0x00200000
Another phone off-hook.
M1X22_EVENT_POLARITY_REV
0x00100000
Line polarity changed.
M1X22_EVENT_BATT_DROP 0x00080000
Battery – line is not feeded.
M1X22_EVENT_BATT_FEED 0x00040000
Battery – line is feeded.
M1X22_EVENT_RING_END 0x00020000
Line stopped ringing.
M1X22_EVENT_RING_START 0x00010000
Line starts ringing.
M1X22_EVENT_SYNC_LOST 0x00008000
Device lost synchronization.
M1X22_EVENT_ON_HOOK 0x00002000
Line goes on-hook.
M1X22_EVENT_OVER_VOLTAGE 0x00001000
Over voltage condition detected.
M1X22_EVENT_OVER_CURRENT 0x00000800
Over current condition detected.
M1X22_EVENT_UNDER_VOLTAGE
0x00000200
Under voltage condition detected.
M1X22_EVENT_LINE_STATE
0x00000100
Line state event – current/voltage.
M1X22_EVENT_QUALIFIED_RING 0x00000080
Qualified ring cadence detected.
M1X22_EVENT_DIAL_COMPLETE
0x00000040
Pulse Dial complete.
M1X22_EVENT_DIAL_ABORTED
0x00000020
Pulse Dial aborted.
M1X22_EVENT_SYNC_RECOVERED 0x00000010
Barrier sync recovered.