pub struct FullDeviceStatus {Show 19 fields
pub cnt0_overflow: OverflowStatus,
pub cnt0_aberr: DecodificationStatus,
pub cnt0_zero: ZeroStatus,
pub cnt1_overflow: OverflowStatus,
pub cnt1_aberr: DecodificationStatus,
pub cnt1_zero: ZeroStatus,
pub cnt2_overflow: OverflowStatus,
pub cnt2_aberr: DecodificationStatus,
pub cnt2_zero: ZeroStatus,
pub power_status: UndervoltageStatus,
pub ref_reg_status: RegisterStatus,
pub upd_reg_status: RegisterStatus,
pub ref_cnt_status: OverflowStatus,
pub ext_err_status: ErrorStatus,
pub ext_warn_status: WarningStatus,
pub comm_status: CommunicationStatus,
pub tp_status: TouchProbeStatus,
pub tpi_status: PinStatus,
pub ssi_enabled: InterfaceStatus,
}Expand description
Full Device Status
This struct contains the full status of the device that is returned when reading the status
registers. For most registers, reading the status will reset the status bits to Ok or the
equivalent for the specific status.
Note: Even if you have only one counter configured, the full device status will still be reported, i.t., other counters (which don’t exist in your setup) will also be reported.
Fields§
§cnt0_overflow: OverflowStatusOverflow of counter 0
cnt0_aberr: DecodificationStatusDecodification error of AB inputs in counter 0
cnt0_zero: ZeroStatusZero status of counter 0
cnt1_overflow: OverflowStatusOverflow of counter 1
cnt1_aberr: DecodificationStatusDecodification error of AB inputs in counter 1
cnt1_zero: ZeroStatusZero status of counter 1
cnt2_overflow: OverflowStatusOverflow of counter 2
cnt2_aberr: DecodificationStatusDecodification error of AB inputs in counter 2
cnt2_zero: ZeroStatusZero status of counter 2
power_status: UndervoltageStatusPower status: Has an undervoltage reset occured?
ref_reg_status: RegisterStatusReference register status: Is the reference register valid?
upd_reg_status: RegisterStatusUPD register status: Is the UPD register valid?
ref_cnt_status: OverflowStatusReference counter status.
ext_err_status: ErrorStatusExternal error status: Has an external error occured?
ext_warn_status: WarningStatusExternal warning status: Has an external warning occured?
comm_status: CommunicationStatusCommunication status: Has a communication collision occured?
tp_status: TouchProbeStatusTouch probe status: Are the TPx registers updated?
tpi_status: PinStatusTPI pin status
ssi_enabled: InterfaceStatusSSI enabled status: Is the SSI interface enabled?
Trait Implementations§
Source§impl Clone for FullDeviceStatus
impl Clone for FullDeviceStatus
Source§fn clone(&self) -> FullDeviceStatus
fn clone(&self) -> FullDeviceStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more