EVENT

group npmx_event

All possible events to be registered.

Defines

NPMX_EVENT_GROUP_ALL_EVENTS_MASK

Macro to define all possible bits in event group.

Enums

enum npmx_event_group_t

Possible events groups.

Values:

enumerator NPMX_EVENT_GROUP_ADC

ADC events.

enumerator NPMX_EVENT_GROUP_BAT_CHAR_TEMP

Battery Charger temperature events.

enumerator NPMX_EVENT_GROUP_BAT_CHAR_STATUS

Battery Charger status events.

enumerator NPMX_EVENT_GROUP_BAT_CHAR_BAT

Battery Charger battery events.

enumerator NPMX_EVENT_GROUP_SHIPHOLD

ShipHold pin events.

enumerator NPMX_EVENT_GROUP_VBUSIN_VOLTAGE

VBUSIN voltage detection events.

enumerator NPMX_EVENT_GROUP_VBUSIN_THERMAL

VBUSIN Thermal and USB C events.

enumerator NPMX_EVENT_GROUP_GPIO

GPIO events.

enumerator NPMX_EVENT_GROUP_COUNT

Events groups count.

enumerator NPMX_EVENT_GROUP_INVALID

Invalid events group.

enum npmx_event_group_adc_mask_t

ADC Events fields.

Values:

enumerator NPMX_EVENT_GROUP_ADC_BAT_READY_MASK

VBAT measurement finished.

enumerator NPMX_EVENT_GROUP_ADC_NTC_READY_MASK

Battery NTC measurement finished.

enumerator NPMX_EVENT_GROUP_ADC_DIE_TEMP_READY_MASK

Internal die temperature measurement finished.

enumerator NPMX_EVENT_GROUP_ADC_VSYS_READY_MASK

VSYS voltage measurement measurement finished.

enumerator NPMX_EVENT_GROUP_ADC_VSET1_READY_MASK

BUCK VSET1 pin measurement finished.

enumerator NPMX_EVENT_GROUP_ADC_VSET2_READY_MASK

BUCK VSET2 pin measurement finished.

enumerator NPMX_EVENT_GROUP_ADC_IBAT_READY_MASK

IBAT measurement finished.

enumerator NPMX_EVENT_GROUP_ADC_VBUS_READY_MASK

VBUS (7 Volt range) measurement finished.

enum npmx_event_group_temp_mask_t

Battery Charger Temperature events fields.

Values:

enumerator NPMX_EVENT_GROUP_TEMP_COLD_MASK

Event when Cold Battery detected from NTC measurement.

enumerator NPMX_EVENT_GROUP_TEMP_COOL_MASK

Event when Cool Battery detected from NTC measurement.

enumerator NPMX_EVENT_GROUP_TEMP_WARM_MASK

Event when Warm Battery detected from NTC measurement.

enumerator NPMX_EVENT_GROUP_TEMP_HOT_MASK

Event when Hot Battery detected from NTC measurement.

enumerator NPMX_EVENT_GROUP_TEMP_DIE_HIGH_MASK

Event when die high temperature detected from die temperature measurement.

enumerator NPMX_EVENT_GROUP_TEMP_DIE_RESUME_MASK

Event when die resume temperature detected from die temperature measurement.

enum npmx_event_group_charger_mask_t

Battery Charger Status events fields.

Values:

enumerator NPMX_EVENT_GROUP_CHARGER_SUPPLEMENT_MASK

Event Supplement Mode activated.

enumerator NPMX_EVENT_GROUP_CHARGER_TRICKLE_MASK

Event Trickle Charge started.

enumerator NPMX_EVENT_GROUP_CHARGER_CC_MASK

Event Constant Current charging started.

enumerator NPMX_EVENT_GROUP_CHARGER_CV_MASK

Event Constant Voltage charging started.

enumerator NPMX_EVENT_GROUP_CHARGER_COMPLETED_MASK

Event Charging completed (Battery Full).

enumerator NPMX_EVENT_GROUP_CHARGER_ERROR_MASK

Event Charging error.

enum npmx_event_group_battery_mask_t

Battery Charger Battery events fields.

Values:

enumerator NPMX_EVENT_GROUP_BATTERY_DETECTED_MASK

Event Battery Detected.

enumerator NPMX_EVENT_GROUP_BATTERY_REMOVED_MASK

Event Battery Lost.

enumerator NPMX_EVENT_GROUP_BATTERY_RECHARGE_MASK

Event Battery re-charge needed.

enum npmx_event_group_shiphold_mask_t

ShipHold pin events fields.

Values:

enumerator NPMX_EVENT_GROUP_SHIPHOLD_PRESSED_MASK

Event when Ship-Hold button is pressed.

enumerator NPMX_EVENT_GROUP_SHIPHOLD_RELEASED_MASK

Event when Ship-Hold button is released.

enumerator NPMX_EVENT_GROUP_SHIPHOLD_HELD_EXIT_MASK

Event when Ship-Hold button held to exit.

enumerator NPMX_EVENT_GROUP_SHIPHOLD_WATCHDOG_MASK

Event when Watchdog Timeout warning detected.

enum npmx_event_group_vbusin_mask_t

VBUSIN Voltage Detection events fields.

Values:

enumerator NPMX_EVENT_GROUP_VBUSIN_DETECTED_MASK

Event VBUS input detected.

enumerator NPMX_EVENT_GROUP_VBUSIN_REMOVED_MASK

Event VBUS input removed.

enumerator NPMX_EVENT_GROUP_VBUSIN_OVERVOLT_DETECTED_MASK

Event VBUS Over Voltage detected.

enumerator NPMX_EVENT_GROUP_VBUSIN_OVRVOLT_REMOVED_MASK

Event VBUS Over Voltage removed.

enumerator NPMX_EVENT_GROUP_VBUSIN_UNDERVOLT_DETECTED_MASK

Event VBUS Under Voltage detected.

enumerator NPMX_EVENT_GROUP_VBUSIN_UNDERVOLT_REMOVED_MASK

Event VBUS Under Voltage removed.

enum npmx_event_group_thermal_usb_mask_t

VBUSIN Thermal and USB events fields.

Values:

enumerator NPMX_EVENT_GROUP_THERMAL_WARN_DETECTED_MASK

Event Thermal Warning detected.

enumerator NPMX_EVENT_GROUP_THERMAL_WARN_REMOVED_MASK

Event Thermal Warning removed.

enumerator NPMX_EVENT_GROUP_THERMAL_SHUTDOWN_DETECTED_MASK

Event Thermal Shutdown detected.

enumerator NPMX_EVENT_GROUP_THERMAL_SHUTDOWN_REMOVED_MASK

Event Thermal Shutdown removed.

enumerator NPMX_EVENT_GROUP_USB_CC1_MASK

Event when Voltage on CC1 changes.

enumerator NPMX_EVENT_GROUP_USB_CC2_MASK

Event when Voltage on CC2 changes.

enum npmx_event_group_gpio_mask_t

GPIO events fields.

Values:

enumerator NPMX_EVENT_GROUP_GPIO0_DETECTED_MASK

Event when GPIO input 0 edge is detected.

enumerator NPMX_EVENT_GROUP_GPIO1_DETECTED_MASK

Event when GPIO input 1 edge is detected.

enumerator NPMX_EVENT_GROUP_GPIO2_DETECTED_MASK

Event when GPIO input 2 edge is detected.

enumerator NPMX_EVENT_GROUP_GPIO3_DETECTED_MASK

Event when GPIO input 3 edge is detected.

enumerator NPMX_EVENT_GROUP_GPIO4_DETECTED_MASK

Event when GPIO input 4 edge is detected.