Type Alias atsame54n::sercom0::i2cm::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 buserr(&mut self) -> BUSERR_W<'_, STATUS_SPEC, 0>

Bit 0 - Bus Error

source

pub fn arblost(&mut self) -> ARBLOST_W<'_, STATUS_SPEC, 1>

Bit 1 - Arbitration Lost

source

pub fn rxnack(&mut self) -> RXNACK_W<'_, STATUS_SPEC, 2>

Bit 2 - Received Not Acknowledge

source

pub fn busstate(&mut self) -> BUSSTATE_W<'_, STATUS_SPEC, 4>

Bits 4:5 - Bus State

source

pub fn lowtout(&mut self) -> LOWTOUT_W<'_, STATUS_SPEC, 6>

Bit 6 - SCL Low Timeout

source

pub fn clkhold(&mut self) -> CLKHOLD_W<'_, STATUS_SPEC, 7>

Bit 7 - Clock Hold

source

pub fn mexttout(&mut self) -> MEXTTOUT_W<'_, STATUS_SPEC, 8>

Bit 8 - Master SCL Low Extend Timeout

source

pub fn sexttout(&mut self) -> SEXTTOUT_W<'_, STATUS_SPEC, 9>

Bit 9 - Slave SCL Low Extend Timeout

source

pub fn lenerr(&mut self) -> LENERR_W<'_, STATUS_SPEC, 10>

Bit 10 - Length Error

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