Type Alias gd32f1::gd32f190::rcu::cfg0::AhbpscR

source ·
pub type AhbpscR = FieldReader<Ahbpsc>;
Expand description

Field AHBPSC reader - AHB prescaler selection

Aliased Type§

struct AhbpscR { /* private fields */ }

Implementations§

source§

impl AhbpscR

source

pub const fn variant(&self) -> Option<Ahbpsc>

Get enumerated values variant

source

pub fn is_div1(&self) -> bool

CK_SYS

source

pub fn is_div2(&self) -> bool

CK_SYS divided by 2

source

pub fn is_div4(&self) -> bool

CK_SYS divided by 4

source

pub fn is_div8(&self) -> bool

CK_SYS divided by 8

source

pub fn is_div16(&self) -> bool

CK_SYS divided by 16

source

pub fn is_div64(&self) -> bool

CK_SYS divided by 64

source

pub fn is_div128(&self) -> bool

CK_SYS divided by 128

source

pub fn is_div256(&self) -> bool

CK_SYS divided by 256

source

pub fn is_div512(&self) -> bool

CK_SYS divided by 512