Type Alias gd32f1::gd32f190::fmc::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 pg(&self) -> PgR

Bit 0 - Main flash page program command bit

source

pub fn per(&self) -> PerR

Bit 1 - Main flash page erase command bit

source

pub fn mer(&self) -> MerR

Bit 2 - Main flash mass erase command bit

source

pub fn obpg(&self) -> ObpgR

Bit 4 - Option byte program command bit

source

pub fn ober(&self) -> OberR

Bit 5 - Option byte erase command bit

source

pub fn start(&self) -> StartR

Bit 6 - Send erase command to FMC bit

source

pub fn lk(&self) -> LkR

Bit 7 - FMC_CTL lock bit

source

pub fn obwen(&self) -> ObwenR

Bit 9 - Option byte erase/program enable bit

source

pub fn errie(&self) -> ErrieR

Bit 10 - Error interrupt enable

source

pub fn endie(&self) -> EndieR

Bit 12 - End of operation interrupt enable

source

pub fn obrld(&self) -> ObrldR

Bit 13 - Option byte reload bit