Type Alias ht32f523x2::cmp::cr0::W

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

Register CR0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn cmpen(&mut self) -> CmpenW<'_, Cr0Spec>

Bit 0 - CMPEN

source

pub fn cmpsm(&mut self) -> CmpsmW<'_, Cr0Spec>

Bit 1 - CMPSM

source

pub fn cmphm(&mut self) -> CmphmW<'_, Cr0Spec>

Bits 2:3 - CMPHM

source

pub fn cmpinsel(&mut self) -> CmpinselW<'_, Cr0Spec>

Bits 4:5 - CMPINSEL

source

pub fn cmppol(&mut self) -> CmppolW<'_, Cr0Spec>

Bit 6 - CMPPOL

source

pub fn syncsel(&mut self) -> SyncselW<'_, Cr0Spec>

Bit 7 - SYNCSEL

source

pub fn cvren(&mut self) -> CvrenW<'_, Cr0Spec>

Bit 8 - CVREN

source

pub fn cvroe(&mut self) -> CvroeW<'_, Cr0Spec>

Bit 9 - CVROE

source

pub fn cvrss(&mut self) -> CvrssW<'_, Cr0Spec>

Bit 10 - CVRSS

source

pub fn cmposel(&mut self) -> CmposelW<'_, Cr0Spec>

Bits 11:13 - CMPOSEL

source

pub fn cmpwpen(&mut self) -> CmpwpenW<'_, Cr0Spec>

Bit 14 - CMPWPEN

source

pub fn cmpsts(&mut self) -> CmpstsW<'_, Cr0Spec>

Bit 15 - CMPSTS

source

pub fn protect(&mut self) -> ProtectW<'_, Cr0Spec>

Bits 16:31 - PROTECT