LCC Fusion Project 1.0
LCC Automation
Loading...
Searching...
No Matches
I2cCardIdMgr::CardInfo Struct Reference

Container describing presence/programming state and raw record. More...

#include <I2cCardIdMgr.h>

Collaboration diagram for I2cCardIdMgr::CardInfo:

Public Attributes

bool present {false}
 
bool programmed {false}
 
uint8_t addressOffset {0}
 0..7 → EEPROM @ 0x50 + offset More...
 
CardRecord cardRecord {}
 Opaque binary data. More...
 

Detailed Description

Container describing presence/programming state and raw record.

Definition at line 163 of file I2cCardIdMgr.h.

Member Data Documentation

◆ addressOffset

I2cCardIdMgr::CardInfo::addressOffset {0}

0..7 → EEPROM @ 0x50 + offset

The 3-bit offset (A2:A0) mapping to 0x50+offset.

Definition at line 167 of file I2cCardIdMgr.h.

◆ cardRecord

I2cCardIdMgr::CardInfo::cardRecord {}

Opaque binary data.

The binary record payload read from/written to EEPROM.

Definition at line 168 of file I2cCardIdMgr.h.

◆ present

I2cCardIdMgr::CardInfo::present {false}

True if the EEPROM device ACKs on the bus.

Definition at line 165 of file I2cCardIdMgr.h.

◆ programmed

I2cCardIdMgr::CardInfo::programmed {false}

True if first byte (cardType) is neither 0x00 nor 0xFF.

Definition at line 166 of file I2cCardIdMgr.h.


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