Type Alias nrf52840_pac::usbd::lowpower::LOWPOWER_W

source ·
pub type LOWPOWER_W<'a, const O: u8> = BitWriter<'a, u32, LOWPOWER_SPEC, LOWPOWER_A, O>;
Expand description

Field LOWPOWER writer - Controls USBD peripheral low-power mode during USB suspend

Aliased Type§

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

Implementations§

source§

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

source

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

Software must write this value to exit low power mode and before performing a remote wake-up

source

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

Software must write this value to enter low power mode after DMA and software have finished interacting with the USB peripheral