RelianceCore
1.4.0
Reliance Thermal Printer API
|
Status response from Reliance printer. More...
Public Types |
Public Member Functions | |
RelianceStatus ()=default | |
! Constructor More... | |
~RelianceStatus ()=default | |
! Destructor More... | |
bool | hasSensorFlag (SensorStatus flag) |
Helper function to check if specified flag is set. More... | |
bool | hasErrorFlag (ErrorStatus flag) |
Helper function to check if specified flag is set. More... | |
bool | hasSensorFlag (SensorStatus flag) const |
Const function method to check if specified flag is set. More... | |
bool | hasErrorFlag (ErrorStatus flag) const |
Const function method to check if specified flag is set. More... | |
bool | isPaperLow () |
Helper function returns true if status report indicates paper low. More... | |
bool | isPaperOut () |
Helper function returns true if status report indicates paper is out. More... | |
Static Public Member Functions | |
static float | adc2Voltage (uint16_t adc) |
Returns the voltage given a raw ADC reading. This assumes a 12-bit ADC. More... | |
Data Fields | |
uint8_t | headVoltage [6] |
Print head voltage. More... | |
uint8_t | headTempC |
Temperature of head, degrees C. More... | |
SensorStatus | sensorStatus |
Sensor status flags. More... | |
ErrorStatus | errorStatus |
Error status flags. More... | |
TicketState | ticketState |
Ticket status flag. More... | |
uint16_t | presenterADC |
Raw voltages - ADC 12-bit. More... | |
uint16_t | pathRawADC |
Path sensor 12-bit ADC value. More... | |
uint16_t | paperADC |
Paper sensor 12-bit ADC value. More... | |
uint16_t | notchADC |
Notch sensor 12-bit ADC value. More... | |
uint16_t | armADC |
ARM sensor 12-bit ADC value. More... | |
Status response from Reliance printer.
|
default |
! Constructor
|
default |
! Destructor
uint16_t RelianceHID::RelianceStatus::armADC |
ARM sensor 12-bit ADC value.
ErrorStatus RelianceHID::RelianceStatus::errorStatus |
Error status flags.
uint8_t RelianceHID::RelianceStatus::headTempC |
Temperature of head, degrees C.
uint8_t RelianceHID::RelianceStatus::headVoltage[6] |
Print head voltage.
uint16_t RelianceHID::RelianceStatus::notchADC |
Notch sensor 12-bit ADC value.
uint16_t RelianceHID::RelianceStatus::paperADC |
Paper sensor 12-bit ADC value.
uint16_t RelianceHID::RelianceStatus::pathRawADC |
Path sensor 12-bit ADC value.
uint16_t RelianceHID::RelianceStatus::presenterADC |
Raw voltages - ADC 12-bit.
Presenter sensor 12-bit ADC value
SensorStatus RelianceHID::RelianceStatus::sensorStatus |
Sensor status flags.
TicketState RelianceHID::RelianceStatus::ticketState |
Ticket status flag.