Type Alias nrf52840_pac::usbd::enable::ENABLE_W

source ·
pub type ENABLE_W<'a, const O: u8> = BitWriter<'a, u32, ENABLE_SPEC, ENABLE_A, O>;
Expand description

Field ENABLE writer - Enable USB

Aliased Type§

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

Implementations§

source§

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

source

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

USB peripheral is disabled

source

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

USB peripheral is enabled