atsamd21g::i2s::ctrla

Type Alias W

Source
pub type W = W<CtrlaSpec>;
Expand description

Register CTRLA writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn swrst(&mut self) -> SwrstW<'_, CtrlaSpec>

Bit 0 - Software Reset

Source

pub fn enable(&mut self) -> EnableW<'_, CtrlaSpec>

Bit 1 - Enable

Source

pub fn cken0(&mut self) -> Cken0W<'_, CtrlaSpec>

Bit 2 - Clock Unit 0 Enable

Source

pub fn cken1(&mut self) -> Cken1W<'_, CtrlaSpec>

Bit 3 - Clock Unit 1 Enable

Source

pub fn seren0(&mut self) -> Seren0W<'_, CtrlaSpec>

Bit 4 - Serializer 0 Enable

Source

pub fn seren1(&mut self) -> Seren1W<'_, CtrlaSpec>

Bit 5 - Serializer 1 Enable