Type Alias gd32e1::gd32e103::fmc::ctl::W

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

Register CTL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn pg(&mut self) -> PgW<'_, CtlSpec>

Bit 0 - Main flash program for bank0 command bit

source

pub fn per(&mut self) -> PerW<'_, CtlSpec>

Bit 1 - Main flash page erase for bank0 command bit

source

pub fn mer(&mut self) -> MerW<'_, CtlSpec>

Bit 2 - Main flash mass erase for bank0 command bit

source

pub fn obpg(&mut self) -> ObpgW<'_, CtlSpec>

Bit 4 - Option bytes program command bit

source

pub fn ober(&mut self) -> OberW<'_, CtlSpec>

Bit 5 - Option bytes erase command bit

source

pub fn start(&mut self) -> StartW<'_, CtlSpec>

Bit 6 - Send erase command to FMC bit

source

pub fn lk(&mut self) -> LkW<'_, CtlSpec>

Bit 7 - FMC_CTL lock bit

source

pub fn obwen(&mut self) -> ObwenW<'_, CtlSpec>

Bit 9 - Option byte erase/program enable bit

source

pub fn errie(&mut self) -> ErrieW<'_, CtlSpec>

Bit 10 - Error interrupt enable bit

source

pub fn endie(&mut self) -> EndieW<'_, CtlSpec>

Bit 12 - End of operation interrupt enable bit