Type Alias gd32f1::gd32f190::rcu::cfg0::AdcpscW

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

Field ADCPSC writer - ADC clock prescaler selection

Aliased Type§

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

Implementations§

source§

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

source

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

CK_APB2 divided by 2

source

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

CK_APB2 divided by 4

source

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

CK_APB2 divided by 6

source

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

CK_APB2 divided by 8