Type Definition gd32f1::gd32f130::fmc::ctl::W[][src]

type W = W<u32, CTL>;

Writer for register CTL

Implementations

impl W[src]

pub fn obrld(&mut self) -> OBRLD_W<'_>[src]

Bit 13 - Option byte reload bit

pub fn endie(&mut self) -> ENDIE_W<'_>[src]

Bit 12 - End of operation interrupt enable

pub fn errie(&mut self) -> ERRIE_W<'_>[src]

Bit 10 - Error interrupt enable

pub fn obwen(&mut self) -> OBWEN_W<'_>[src]

Bit 9 - Option byte erase/program enable bit

pub fn lk(&mut self) -> LK_W<'_>[src]

Bit 7 - FMC_CTL lock bit

pub fn start(&mut self) -> START_W<'_>[src]

Bit 6 - Send erase command to FMC bit

pub fn ober(&mut self) -> OBER_W<'_>[src]

Bit 5 - Option byte erase command bit

pub fn obpg(&mut self) -> OBPG_W<'_>[src]

Bit 4 - Option byte program command bit

pub fn mer(&mut self) -> MER_W<'_>[src]

Bit 2 - Main flash mass erase command bit

pub fn per(&mut self) -> PER_W<'_>[src]

Bit 1 - Main flash page erase command bit

pub fn pg(&mut self) -> PG_W<'_>[src]

Bit 0 - Main flash page program command bit