Skip to content
Start free evaluation

PdcommGemAlarmValue

Struct

One alarm tuple from a received report or list, filled by pdcomm_gem_result_alarm_at().

typedef struct PdcommGemAlarmValue { ... } PdcommGemAlarmValue

Declared in: #include <pdcomm_gem_alarms.h>

The value contains only what the wire tuple L[ALCD, ALID, ALTX] carries: the local reporting-enabled flag and the CEID mappings are not available.

Members

active

Field

1 when the ALCD alarm-set bit (0x80) is set, otherwise 0.

uint8_t active

Declared in: #include <pdcomm_gem_alarms.h>

category

Field

Alarm category from the low six bits of ALCD (ALCD & 0x3F).

uint8_t category

Declared in: #include <pdcomm_gem_alarms.h>

id

Field

Alarm ID (ALID).

uint32_t id

Declared in: #include <pdcomm_gem_alarms.h>

struct_size

Field

Structure size; set to sizeof(PdcommGemAlarmValue) or larger, receives the size written.

size_t struct_size

Declared in: #include <pdcomm_gem_alarms.h>