Struct esp32s3_hal::pac::uhci0::state0::R
pub struct R(_);
Expand description
Register STATE0
reader
Implementations§
§impl R
impl R
pub fn rx_err_cause(&self) -> FieldReaderRaw<u8, u8>
pub fn rx_err_cause(&self) -> FieldReaderRaw<u8, u8>
Bits 0:2 - This register indicates the error type when DMA has received a packet with error. 3’b001: Checksum error in HCI packet. 3’b010: Sequence number error in HCI packet. 3’b011: CRC bit error in HCI packet. 3’b100: 0xc0 is found but received HCI packet is not end. 3’b101: 0xc0 is not found when receiving HCI packet is end. 3’b110: CRC check error.
pub fn decode_state(&self) -> FieldReaderRaw<u8, u8>
pub fn decode_state(&self) -> FieldReaderRaw<u8, u8>
Bits 3:5 - UHCI decoder status.
Methods from Deref<Target = R<STATE0_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<STATE0_SPEC>> for R
impl From<R<STATE0_SPEC>> for R
§fn from(reader: R<STATE0_SPEC>) -> R
fn from(reader: R<STATE0_SPEC>) -> R
Converts to this type from the input type.