nrf52840_pac::usbd::dtoggle

Type Alias VALUE_W

Source
pub type VALUE_W<'a, const O: u8> = FieldWriter<'a, u32, DTOGGLE_SPEC, u8, VALUE_A, 2, O>;
Expand description

Field VALUE writer - Data toggle value

Aliased Type§

struct VALUE_W<'a, const O: u8> { /* private fields */ }

Implementations§

Source§

impl<'a, const O: u8> VALUE_W<'a, O>

Source

pub fn nop(self) -> &'a mut W

No action on data toggle when writing the register with this value

Source

pub fn data0(self) -> &'a mut W

Data toggle is DATA0 on endpoint set by EP and IO

Source

pub fn data1(self) -> &'a mut W

Data toggle is DATA1 on endpoint set by EP and IO