Type Alias gd32e1::gd32e103::fmc::ws::W

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

Register WS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn wscnt(&mut self) -> WscntW<'_, WsSpec>

Bits 0:2 - wait state counter register

source

pub fn pfen(&mut self) -> PfenW<'_, WsSpec>

Bit 4 - Pre-fetch enable

source

pub fn icen(&mut self) -> IcenW<'_, WsSpec>

Bit 9 - IBUS cache enable

source

pub fn dcen(&mut self) -> DcenW<'_, WsSpec>

Bit 10 - DBUS cache enable

source

pub fn icrst(&mut self) -> IcrstW<'_, WsSpec>

Bit 11 - IBUS cache reset

source

pub fn dcrst(&mut self) -> DcrstW<'_, WsSpec>

Bit 12 - DBUS cache reset

source

pub fn pgw(&mut self) -> PgwW<'_, WsSpec>

Bit 15 - Program width to flash memory