Type Alias atsame54n::sercom0::i2cm::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 mb(&mut self) -> MB_W<'_, INTENSET_SPEC, 0>

Bit 0 - Master On Bus Interrupt Enable

source

pub fn sb(&mut self) -> SB_W<'_, INTENSET_SPEC, 1>

Bit 1 - Slave On Bus 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