Type Alias ht32f523x2::spi0::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 spien(&mut self) -> SpienW<'_, Cr0Spec>

Bit 0 - SPIEN

source

pub fn txdmae(&mut self) -> TxdmaeW<'_, Cr0Spec>

Bit 1 - TXDMAE

source

pub fn rxdmae(&mut self) -> RxdmaeW<'_, Cr0Spec>

Bit 2 - RXDMAE

source

pub fn seloen(&mut self) -> SeloenW<'_, Cr0Spec>

Bit 3 - SELOEN

source

pub fn sselc(&mut self) -> SselcW<'_, Cr0Spec>

Bit 4 - SSELC

source

pub fn dualen(&mut self) -> DualenW<'_, Cr0Spec>

Bit 6 - DUALEN

source

pub fn guadten(&mut self) -> GuadtenW<'_, Cr0Spec>

Bit 7 - GUADTEN

source

pub fn guadt(&mut self) -> GuadtW<'_, Cr0Spec>

Bits 8:11 - GUADT

source

pub fn selht(&mut self) -> SelhtW<'_, Cr0Spec>

Bits 12:15 - SELHT