atsamd21g::dmac::ctrl

Type Alias W

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

Register CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

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

Bit 0 - Software Reset

Source

pub fn dmaenable(&mut self) -> DmaenableW<'_, CtrlSpec>

Bit 1 - DMA Enable

Source

pub fn crcenable(&mut self) -> CrcenableW<'_, CtrlSpec>

Bit 2 - CRC Enable

Source

pub fn lvlen0(&mut self) -> Lvlen0W<'_, CtrlSpec>

Bit 8 - Priority Level 0 Enable

Source

pub fn lvlen1(&mut self) -> Lvlen1W<'_, CtrlSpec>

Bit 9 - Priority Level 1 Enable

Source

pub fn lvlen2(&mut self) -> Lvlen2W<'_, CtrlSpec>

Bit 10 - Priority Level 2 Enable

Source

pub fn lvlen3(&mut self) -> Lvlen3W<'_, CtrlSpec>

Bit 11 - Priority Level 3 Enable