Struct nrf52840::usbd::dtoggle::W [−][src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
pub fn ep(&mut self) -> _EPW
[src]
pub fn ep(&mut self) -> _EPW
Bits 0:2 - Select bulk endpoint number
pub fn io(&mut self) -> _IOW
[src]
pub fn io(&mut self) -> _IOW
Bit 7 - Selects IN or OUT endpoint
pub fn value(&mut self) -> _VALUEW
[src]
pub fn value(&mut self) -> _VALUEW
Bits 8:9 - Data toggle value