#[repr(transparent)]pub struct Wupstat(pub u16);Expand description
F70RM Rev. 1 section 54.5.1.29; manual text line 172774.
Tuple Fields§
§0: u16Implementations§
Source§impl Wupstat
impl Wupstat
Sourcepub const fn stat(&self) -> u8
pub const fn stat(&self) -> u8
Read-only. Status. Status WUP sequencer 00b - IDLE. WUP sequencer is idle 01b - WAITLINK. WUP sequencer is waiting for LINKUP mode 10b - PENDING. WUP sequencer is waiting for transmission slot 11b - TRANSMIT. WUP sequencer is transmitting the WUP
Sourcepub const fn set_stat(&mut self, val: u8)
pub const fn set_stat(&mut self, val: u8)
Read-only. Status. Status WUP sequencer 00b - IDLE. WUP sequencer is idle 01b - WAITLINK. WUP sequencer is waiting for LINKUP mode 10b - PENDING. WUP sequencer is waiting for transmission slot 11b - TRANSMIT. WUP sequencer is transmitting the WUP
Sourcepub const fn errcode(&self) -> u8
pub const fn errcode(&self) -> u8
Read-only. Error code. Indicates the error code of the previous WUP sequence 000b - NONE. WUP transmission successful 001b - SWABORT. WUP sequencer aborted by software (abort command) 010b - MODECHG. WUP sequencer aborted by invalid mode 011b - TOWM. WUP sequencer aborted by time-out in WAITMODE state 100b - TOPD. WUP sequencer aborted by time-out in PENDING state 101b - TOWP. WUP sequencer aborted by time-out in PENDING state 110b - TOWA. WUP sequencer aborted by time-out in PENDING state 111b - CORE. WUP sequencer aborted by core
Sourcepub const fn set_errcode(&mut self, val: u8)
pub const fn set_errcode(&mut self, val: u8)
Read-only. Error code. Indicates the error code of the previous WUP sequence 000b - NONE. WUP transmission successful 001b - SWABORT. WUP sequencer aborted by software (abort command) 010b - MODECHG. WUP sequencer aborted by invalid mode 011b - TOWM. WUP sequencer aborted by time-out in WAITMODE state 100b - TOPD. WUP sequencer aborted by time-out in PENDING state 101b - TOWP. WUP sequencer aborted by time-out in PENDING state 110b - TOWA. WUP sequencer aborted by time-out in PENDING state 111b - CORE. WUP sequencer aborted by core