Type Alias gd32f1::gd32f130::syscfg::cfg2::W

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

Register CFG2 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn lockup_lock(&mut self) -> LockupLockW<'_, Cfg2Spec>

Bit 0 - Cortex-M3 LOCKUP output lock

source

pub fn sram_parity_error_lock(&mut self) -> SramParityErrorLockW<'_, Cfg2Spec>

Bit 1 - SRAM parity check error lock

source

pub fn lvd_lock(&mut self) -> LvdLockW<'_, Cfg2Spec>

Bit 2 - LVD lock

source

pub fn sram_pcef(&mut self) -> SramPcefW<'_, Cfg2Spec>

Bit 8 - SRAM parity check error flag