Struct lpc43xx::usb0::endptctrl::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn rxs(&mut self) -> _RXSW
[src]
Bit 0 - Rx endpoint stall
pub fn rxt(&mut self) -> _RXTW
[src]
Bits 2:3 - Endpoint type
pub fn rxi(&mut self) -> _RXIW
[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(&mut self) -> _RXRW
[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(&mut self) -> _RXEW
[src]
Bit 7 - Rx endpoint enable An endpoint should be enabled only after it has been configured.
pub fn txs(&mut self) -> _TXSW
[src]
Bit 16 - Tx endpoint stall
pub fn txt1_0(&mut self) -> _TXT1_0W
[src]
Bits 18:19 - Tx endpoint type
pub fn txi(&mut self) -> _TXIW
[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(&mut self) -> _TXRW
[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(&mut self) -> _TXEW
[src]
Bit 23 - Tx endpoint enable An endpoint should be enabled only after it has been configured