Type Alias gd32f1::gd32f130::rcu::cfg0::Apb1pscW

source ·
pub type Apb1pscW<'a, REG> = FieldWriter<'a, REG, 3, Apb1psc>;
Expand description

Field APB1PSC writer - APB1 prescaler selection

Aliased Type§

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

Implementations§

source§

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

source

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

CK_AHB

source

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

CK_AHB divided by 2

source

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

CK_AHB divided by 4

source

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

CK_AHB divided by 8

source

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

CK_AHB divided by 16