Type Alias atsame54n::sercom0::i2cs::addr::W

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

Register ADDR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn gencen(&mut self) -> GENCEN_W<'_, ADDR_SPEC, 0>

Bit 0 - General Call Address Enable

source

pub fn addr(&mut self) -> ADDR_W<'_, ADDR_SPEC, 1>

Bits 1:10 - Address Value

source

pub fn tenbiten(&mut self) -> TENBITEN_W<'_, ADDR_SPEC, 15>

Bit 15 - Ten Bit Addressing Enable

source

pub fn addrmask(&mut self) -> ADDRMASK_W<'_, ADDR_SPEC, 17>

Bits 17:26 - Address Mask

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual