Type Alias atsame54n::usb::host::fnum::W

source ·
pub type W = W<FNUM_SPEC>;
Expand description

Register FNUM writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn mfnum(&mut self) -> MFNUM_W<'_, FNUM_SPEC, 0>

Bits 0:2 - Micro Frame Number

source

pub fn fnum(&mut self) -> FNUM_W<'_, FNUM_SPEC, 3>

Bits 3:13 - Frame Number

source

pub unsafe fn bits(&mut self, bits: u16) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual