SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
Loading...
Searching...
No Matches
StatusSnapshot Struct Reference

Public Attributes

bool valid = false
 
bool vbusPresent = false
 
bool batteryPresent = false
 
bool charging = false
 
bool chargeDone = false
 
bool chargerFault = false
 
uint32_t chargerFaultCode = 0
 
bool tcpcAttached = false
 
bool tcpcVbusValid = false
 
uint16_t tcpcVbusMv = 0
 
PmicBc12Base::PortType bc12Type = PmicBc12Base::PortType::Unknown
 
uint8_t bc12Raw = 0
 
bool bc12Detecting = false
 

Detailed Description

Definition at line 56 of file axp517_interrupt.ino.

Member Data Documentation

◆ batteryPresent

bool StatusSnapshot::batteryPresent = false

Definition at line 59 of file axp517_interrupt.ino.

Referenced by printSnapshot(), printSnapshotChanges(), and readStatusSnapshot().

◆ bc12Detecting

bool StatusSnapshot::bc12Detecting = false

Definition at line 69 of file axp517_interrupt.ino.

Referenced by printSnapshot(), printSnapshotChanges(), and readStatusSnapshot().

◆ bc12Raw

uint8_t StatusSnapshot::bc12Raw = 0

Definition at line 68 of file axp517_interrupt.ino.

Referenced by printSnapshot(), printSnapshotChanges(), and readStatusSnapshot().

◆ bc12Type

◆ chargeDone

bool StatusSnapshot::chargeDone = false

Definition at line 61 of file axp517_interrupt.ino.

Referenced by chargeName(), and readStatusSnapshot().

◆ chargerFault

bool StatusSnapshot::chargerFault = false

Definition at line 62 of file axp517_interrupt.ino.

Referenced by printSnapshot(), printSnapshotChanges(), and readStatusSnapshot().

◆ chargerFaultCode

uint32_t StatusSnapshot::chargerFaultCode = 0

Definition at line 63 of file axp517_interrupt.ino.

Referenced by printSnapshot(), printSnapshotChanges(), and readStatusSnapshot().

◆ charging

bool StatusSnapshot::charging = false

Definition at line 60 of file axp517_interrupt.ino.

Referenced by chargeName(), and readStatusSnapshot().

◆ tcpcAttached

bool StatusSnapshot::tcpcAttached = false

Definition at line 64 of file axp517_interrupt.ino.

Referenced by printSnapshot(), printSnapshotChanges(), and readStatusSnapshot().

◆ tcpcVbusMv

uint16_t StatusSnapshot::tcpcVbusMv = 0

Definition at line 66 of file axp517_interrupt.ino.

Referenced by printSnapshot(), printSnapshotChanges(), and readStatusSnapshot().

◆ tcpcVbusValid

bool StatusSnapshot::tcpcVbusValid = false

Definition at line 65 of file axp517_interrupt.ino.

Referenced by printSnapshot(), printSnapshotChanges(), and readStatusSnapshot().

◆ valid

bool StatusSnapshot::valid = false

Definition at line 57 of file axp517_interrupt.ino.

Referenced by printSnapshotChanges(), and readStatusSnapshot().

◆ vbusPresent

bool StatusSnapshot::vbusPresent = false

Definition at line 58 of file axp517_interrupt.ino.

Referenced by printSnapshot(), printSnapshotChanges(), and readStatusSnapshot().


The documentation for this struct was generated from the following file: