Struct lpc43xx::usb0::endptctrl::R
[−]
[src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn rxs(&self) -> RXSR
[src]
Bit 0 - Rx endpoint stall
pub fn rxt(&self) -> RXTR
[src]
Bits 2:3 - Endpoint type
pub fn rxi(&self) -> RXIR
[src]
Bit 5 - Rx data toggle inhibit This bit is only used for test and should always be written as zero. Writing a one to this bit will cause this endpoint to ignore the data toggle sequence and always accept data packets regardless of their data PID.
pub fn rxr(&self) -> RXRR
[src]
Bit 6 - Rx data toggle reset Write 1 to reset the 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 PIDs between the host and device.
pub fn rxe(&self) -> RXER
[src]
Bit 7 - Rx endpoint enable An endpoint should be enabled only after it has been configured.
pub fn txs(&self) -> TXSR
[src]
Bit 16 - Tx endpoint stall
pub fn txt1_0(&self) -> TXT1_0R
[src]
Bits 18:19 - Tx endpoint type
pub fn txi(&self) -> TXIR
[src]
Bit 21 - Tx data toggle inhibit This bit is only used for test and should always be written as zero. Writing a one to this bit will cause this endpoint to ignore the data toggle sequence and always accept data packets regardless of their data PID.
pub fn txr(&self) -> TXRR
[src]
Bit 22 - Tx data toggle reset Write 1 to reset the 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 PIDs between the host and device.
pub fn txe(&self) -> TXER
[src]
Bit 23 - Tx endpoint enable An endpoint should be enabled only after it has been configured