Type Alias atsame54n::sercom0::i2cs::intenset::W

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

Register INTENSET writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn prec(&mut self) -> PREC_W<'_, INTENSET_SPEC, 0>

Bit 0 - Stop Received Interrupt Enable

source

pub fn amatch(&mut self) -> AMATCH_W<'_, INTENSET_SPEC, 1>

Bit 1 - Address Match Interrupt Enable

source

pub fn drdy(&mut self) -> DRDY_W<'_, INTENSET_SPEC, 2>

Bit 2 - Data Interrupt Enable

source

pub fn error(&mut self) -> ERROR_W<'_, INTENSET_SPEC, 7>

Bit 7 - Combined Error Interrupt 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