Type Alias ht32f523x2::cmp::cr0::R

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

Register CR0 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn cmpen(&self) -> CmpenR

Bit 0 - CMPEN

source

pub fn cmpsm(&self) -> CmpsmR

Bit 1 - CMPSM

source

pub fn cmphm(&self) -> CmphmR

Bits 2:3 - CMPHM

source

pub fn cmpinsel(&self) -> CmpinselR

Bits 4:5 - CMPINSEL

source

pub fn cmppol(&self) -> CmppolR

Bit 6 - CMPPOL

source

pub fn syncsel(&self) -> SyncselR

Bit 7 - SYNCSEL

source

pub fn cvren(&self) -> CvrenR

Bit 8 - CVREN

source

pub fn cvroe(&self) -> CvroeR

Bit 9 - CVROE

source

pub fn cvrss(&self) -> CvrssR

Bit 10 - CVRSS

source

pub fn cmposel(&self) -> CmposelR

Bits 11:13 - CMPOSEL

source

pub fn cmpwpen(&self) -> CmpwpenR

Bit 14 - CMPWPEN

source

pub fn cmpsts(&self) -> CmpstsR

Bit 15 - CMPSTS

source

pub fn protect(&self) -> ProtectR

Bits 16:31 - PROTECT