Struct esp32s3_hal::pac::usb_device::out_ep2_st::R
pub struct R(_);
Expand description
Register OUT_EP2_ST
reader
Implementations§
§impl R
impl R
pub fn out_ep2_state(&self) -> FieldReaderRaw<u8, u8>
pub fn out_ep2_state(&self) -> FieldReaderRaw<u8, u8>
Bits 0:1 - State of OUT Endpoint 2.
pub fn out_ep2_wr_addr(&self) -> FieldReaderRaw<u8, u8>
pub fn out_ep2_wr_addr(&self) -> FieldReaderRaw<u8, u8>
Bits 2:8 - Write data address of OUT endpoint 2. When USB_DEVICE_SERIAL_OUT_RECV_PKT_INT is detected, there are USB_DEVICE_OUT_EP2_WR_ADDR-2 bytes data in OUT EP2.
pub fn out_ep2_rd_addr(&self) -> FieldReaderRaw<u8, u8>
pub fn out_ep2_rd_addr(&self) -> FieldReaderRaw<u8, u8>
Bits 9:15 - Read data address of OUT endpoint 2.
Methods from Deref<Target = R<OUT_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<OUT_EP2_ST_SPEC>> for R
impl From<R<OUT_EP2_ST_SPEC>> for R
§fn from(reader: R<OUT_EP2_ST_SPEC>) -> R
fn from(reader: R<OUT_EP2_ST_SPEC>) -> R
Converts to this type from the input type.