Type Alias atsame54n::sercom0::i2cm::intenclr::W

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

Register INTENCLR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn mb(&mut self) -> MB_W<'_, INTENCLR_SPEC, 0>

Bit 0 - Master On Bus Interrupt Disable

source

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

Bit 1 - Slave On Bus Interrupt Disable

source

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

Bit 7 - Combined Error Interrupt Disable

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