Type Alias atsame54n::usb::host::hsofc::W

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

Register HSOFC writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn flenc(&mut self) -> FLENC_W<'_, HSOFC_SPEC, 0>

Bits 0:3 - Frame Length Control

source

pub fn flence(&mut self) -> FLENCE_W<'_, HSOFC_SPEC, 7>

Bit 7 - Frame Length Control Enable

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual