Type Alias gd32f1::gd32f130::dma::ch2ctl::PrioW

source ·
pub type PrioW<'a, REG> = FieldWriterSafe<'a, REG, 2, Prio>;
Expand description

Field PRIO writer - Priority Level of this channel

Aliased Type§

struct PrioW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> PrioW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn low(self) -> &'a mut W<REG>

Low priority

source

pub fn medium(self) -> &'a mut W<REG>

Medium priority

source

pub fn high(self) -> &'a mut W<REG>

High priority

source

pub fn very_high(self) -> &'a mut W<REG>

Very high priority