Type Alias atsamd51p::dmac::channel::chctrla::R

source ·
pub type R = R<CHCTRLA_SPEC>;
Expand description

Register CHCTRLA reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn swrst(&self) -> SWRST_R

Bit 0 - Channel Software Reset

source

pub fn enable(&self) -> ENABLE_R

Bit 1 - Channel Enable

source

pub fn runstdby(&self) -> RUNSTDBY_R

Bit 6 - Channel Run in Standby

source

pub fn trigsrc(&self) -> TRIGSRC_R

Bits 8:14 - Trigger Source

source

pub fn trigact(&self) -> TRIGACT_R

Bits 20:21 - Trigger Action

source

pub fn burstlen(&self) -> BURSTLEN_R

Bits 24:27 - Burst Length

source

pub fn threshold(&self) -> THRESHOLD_R

Bits 28:29 - FIFO Threshold