Type Alias atsame54n::usb::host::status::W

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

Register STATUS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn speed(&mut self) -> SPEED_W<'_, STATUS_SPEC, 2>

Bits 2:3 - Speed Status

source

pub fn linestate(&mut self) -> LINESTATE_W<'_, STATUS_SPEC, 6>

Bits 6:7 - USB Line State Status

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