ADD_SHORT_DESCRIPTION. More...
#include <vac_monitor_typedef.h>
Data Fields | ||
union { | ||
struct { | ||
bool ac_drop: 1 | ||
Bit #0: flag indicating that an ac drop may have occurred. More... | ||
bool dc_mode: 1 | ||
Bit #1: 1 when Vin = DC, 0 when Vin = AC. More... | ||
bool ac_ok: 1 | ||
Bit #2: flag indicating the status of the line voltage More... | ||
bool zero_cross: 1 | ||
Bit #3: flag indicating that we are in the zero cross region. More... | ||
bool polarity_pos: 1 | ||
Bit #4: flag = 1 when polarity is positive, 0 when negative. More... | ||
bool end_of_cycle: 1 | ||
Bit #5: flag indicating that the end of cycle has just occured More... | ||
bool slope_pos: 1 | ||
Bit #6: flag = 1 when ac line slope is positive, 0 when negative More... | ||
unsigned : 1 | ||
Bit #7: unused. More... | ||
unsigned : 1 | ||
Bit #8: unused. More... | ||
unsigned : 1 | ||
Bit #9: unused. More... | ||
unsigned : 1 | ||
Bit #10: unused. More... | ||
unsigned : 1 | ||
Bit #11: unused. More... | ||
unsigned : 1 | ||
Bit #12: unused. More... | ||
unsigned : 1 | ||
Bit #13: unused. More... | ||
unsigned : 1 | ||
Bit #14: unused. More... | ||
unsigned : 1 | ||
Bit #15: unused. More... | ||
} bits | ||
volatile uint16_t value | ||
}; | ||
ADD_DETAILED_DESCRIPTION
Definition at line 51 of file vac_monitor_typedef.h.
union { ... } |
unsigned __pad0__ |
Definition at line 63 of file vac_monitor_typedef.h.
unsigned __pad1__ |
Definition at line 64 of file vac_monitor_typedef.h.
unsigned __pad2__ |
Definition at line 65 of file vac_monitor_typedef.h.
unsigned __pad3__ |
Definition at line 66 of file vac_monitor_typedef.h.
unsigned __pad4__ |
Definition at line 67 of file vac_monitor_typedef.h.
unsigned __pad5__ |
Definition at line 68 of file vac_monitor_typedef.h.
unsigned __pad6__ |
Definition at line 69 of file vac_monitor_typedef.h.
unsigned __pad7__ |
Definition at line 70 of file vac_monitor_typedef.h.
unsigned __pad8__ |
Definition at line 71 of file vac_monitor_typedef.h.
bool ac_drop |
Definition at line 55 of file vac_monitor_typedef.h.
bool ac_ok |
Definition at line 57 of file vac_monitor_typedef.h.
struct { ... } bits |
bool dc_mode |
Definition at line 56 of file vac_monitor_typedef.h.
bool end_of_cycle |
Definition at line 60 of file vac_monitor_typedef.h.
bool polarity_pos |
Definition at line 59 of file vac_monitor_typedef.h.
bool slope_pos |
Definition at line 61 of file vac_monitor_typedef.h.
volatile uint16_t value |
Definition at line 74 of file vac_monitor_typedef.h.
bool zero_cross |
Definition at line 58 of file vac_monitor_typedef.h.