Struct esp32s3_hal::pac::usb_device::in_ep2_st::R
pub struct R(_);
Expand description
Register IN_EP2_ST
reader
Implementations§
§impl R
impl R
pub fn in_ep2_state(&self) -> FieldReaderRaw<u8, u8>
pub fn in_ep2_state(&self) -> FieldReaderRaw<u8, u8>
Bits 0:1 - State of IN Endpoint 2.
pub fn in_ep2_wr_addr(&self) -> FieldReaderRaw<u8, u8>
pub fn in_ep2_wr_addr(&self) -> FieldReaderRaw<u8, u8>
Bits 2:8 - Write data address of IN endpoint 2.
pub fn in_ep2_rd_addr(&self) -> FieldReaderRaw<u8, u8>
pub fn in_ep2_rd_addr(&self) -> FieldReaderRaw<u8, u8>
Bits 9:15 - Read data address of IN endpoint 2.
Methods from Deref<Target = R<IN_EP2_ST_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<IN_EP2_ST_SPEC>> for R
impl From<R<IN_EP2_ST_SPEC>> for R
§fn from(reader: R<IN_EP2_ST_SPEC>) -> R
fn from(reader: R<IN_EP2_ST_SPEC>) -> R
Converts to this type from the input type.