[][src]Type Definition imxrt1062_usb1::endptctrl2::R

type R = R<u32, ENDPTCTRL2>;

Reader of register ENDPTCTRL2

Methods

impl R[src]

pub fn rxs(&self) -> RXS_R[src]

Bit 0 - RX Endpoint Stall - Read/Write 0 End Point OK

pub fn rxd(&self) -> RXD_R[src]

Bit 1 - RX Endpoint Data Sink - Read/Write 0 Dual Port Memory Buffer/DMA Engine [Default] Should always be written as zero

pub fn rxt(&self) -> RXT_R[src]

Bits 2:3 - RX Endpoint Type - Read/Write 00 Control 01 Isochronous 10 Bulk 11 Interrupt

pub fn rxi(&self) -> RXI_R[src]

Bit 5 - RX Data Toggle Inhibit 0 Disabled [Default] 1 Enabled This bit is only used for test and should always be written as zero

pub fn rxr(&self) -> RXR_R[src]

Bit 6 - RX Data Toggle Reset (WS) Write 1 - Reset PID Sequence Whenever a configuration event is received for this Endpoint, software must write a one to this bit in order to synchronize the data PID's between the host and device

pub fn rxe(&self) -> RXE_R[src]

Bit 7 - RX Endpoint Enable 0 Disabled [Default] 1 Enabled An Endpoint should be enabled only after it has been configured

pub fn txs(&self) -> TXS_R[src]

Bit 16 - TX Endpoint Stall - Read/Write 0 End Point OK 1 End Point Stalled This bit will be cleared automatically upon receipt of a SETUP request if this Endpoint is configured as a Control Endpoint and this bit will continue to be cleared by hardware until the associated ENDPTSETUPSTAT bit is cleared

pub fn txd(&self) -> TXD_R[src]

Bit 17 - TX Endpoint Data Source - Read/Write 0 Dual Port Memory Buffer/DMA Engine [DEFAULT] Should always be written as 0

pub fn txt(&self) -> TXT_R[src]

Bits 18:19 - TX Endpoint Type - Read/Write 00 Control 01 Isochronous 10 Bulk 11 Interrupt

pub fn txi(&self) -> TXI_R[src]

Bit 21 - TX Data Toggle Inhibit 0 PID Sequencing Enabled

pub fn txr(&self) -> TXR_R[src]

Bit 22 - TX Data Toggle Reset (WS) Write 1 - Reset PID Sequence Whenever a configuration event is received for this Endpoint, software must write a one to this bit in order to synchronize the data PID's between the Host and device

pub fn txe(&self) -> TXE_R[src]

Bit 23 - TX Endpoint Enable 0 Disabled [Default] 1 Enabled An Endpoint should be enabled only after it has been configured