Type Alias atsamd21j::usb::device::dadd::W

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

Register DADD writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn dadd(&mut self) -> DADD_W<'_, DADD_SPEC, 0>

Bits 0:6 - Device Address

source

pub fn adden(&mut self) -> ADDEN_W<'_, DADD_SPEC, 7>

Bit 7 - Device Address 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