Type Alias atsamd21j::sercom0::i2cs::data::W

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

Register DATA writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn data(&mut self) -> DATA_W<'_, DATA_SPEC, 0>

Bits 0:7 - Data Value

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