Type Alias nrf52840_pac::usbd::dtoggle::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