[][src]Type Definition ht32f1xxxx::ht32f12364::cmp::cmp_cr0::W

type W = W<u32, CMP_CR0>;

Writer for register CMP_CR0

Implementations

impl W[src]

pub fn cmpen(&mut self) -> CMPEN_W[src]

Bit 0 - CMPEN

pub fn cmpsm(&mut self) -> CMPSM_W[src]

Bit 1 - CMPSM

pub fn cmphm(&mut self) -> CMPHM_W[src]

Bits 2:3 - CMPHM

pub fn cmpinsel(&mut self) -> CMPINSEL_W[src]

Bits 4:5 - CMPINSEL

pub fn cmppol(&mut self) -> CMPPOL_W[src]

Bit 6 - CMPPOL

pub fn syncsel(&mut self) -> SYNCSEL_W[src]

Bit 7 - SYNCSEL

pub fn cvren(&mut self) -> CVREN_W[src]

Bit 8 - CVREN

pub fn cvroe(&mut self) -> CVROE_W[src]

Bit 9 - CVROE

pub fn cvrss(&mut self) -> CVRSS_W[src]

Bit 10 - CVRSS

pub fn cmpsel(&mut self) -> CMPSEL_W[src]

Bits 11:13 - CMPOSEL

pub fn cmpwpen(&mut self) -> CMPWPEN_W[src]

Bit 14 - CMPWPEN

pub fn cmpsts(&mut self) -> CMPSTS_W[src]

Bit 15 - CMPSTS

pub fn pretect(&mut self) -> PRETECT_W[src]

Bits 16:31 - PRETECT