Type Alias gd32f1::gd32f190::slcd::ctl::R

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

Register CTL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn slcdon(&self) -> SlcdonR

Bit 0 - SLCD controller start

source

pub fn vsrc(&self) -> VsrcR

Bit 1 - SLCD voltage source

source

pub fn duty(&self) -> DutyR

Bits 2:4 - Duty select

source

pub fn bias(&self) -> BiasR

Bits 5:6 - Bias select

source

pub fn coms(&self) -> ComsR

Bit 7 - Common/segment padselect