Struct gd32f1::gd32f190::slcd::cfg::R[][src]

pub struct R(_);

Register CFG reader

Implementations

impl R[src]

pub fn hden(&self) -> HDEN_R[src]

Bit 0 - High drive enable

pub fn sofie(&self) -> SOFIE_R[src]

Bit 1 - Start of frame interrupt enable

pub fn updie(&self) -> UPDIE_R[src]

Bit 3 - SLCD update done interrupt enable

pub fn pulse(&self) -> PULSE_R[src]

Bits 4:6 - Pulse on duration

pub fn dtd(&self) -> DTD_R[src]

Bits 7:9 - Dead time duration

pub fn conr(&self) -> CONR_R[src]

Bits 10:12 - Contrast ratio

pub fn blkdiv(&self) -> BLKDIV_R[src]

Bits 13:15 - Blink frequency divider

pub fn blkmod(&self) -> BLKMOD_R[src]

Bits 16:17 - Blink mode

pub fn div(&self) -> DIV_R[src]

Bits 18:21 - SLCD clock divider

pub fn psc(&self) -> PSC_R[src]

Bits 22:25 - SLCD clock prescaler

Methods from Deref<Target = R<CFG_SPEC>>

pub fn bits(&self) -> REG::Ux[src]

Reads raw bits from register.

Trait Implementations

impl Deref for R[src]

type Target = R<CFG_SPEC>

The resulting type after dereferencing.

impl From<R<CFG_SPEC>> for R[src]

Auto Trait Implementations

impl Send for R

impl Sync for R

impl Unpin for R

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.