Type Alias gd32f1::gd32f190::spi0::ctl1::W

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

Register CTL1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn dmaren(&mut self) -> DmarenW<'_, Ctl1Spec>

Bit 0 - Receive Buffer DMA Enable

source

pub fn dmaten(&mut self) -> DmatenW<'_, Ctl1Spec>

Bit 1 - Transmit Buffer DMA Enable

source

pub fn nssdrv(&mut self) -> NssdrvW<'_, Ctl1Spec>

Bit 2 - Drive NSS Output

source

pub fn errie(&mut self) -> ErrieW<'_, Ctl1Spec>

Bit 5 - Error interrupt enable

source

pub fn rbneie(&mut self) -> RbneieW<'_, Ctl1Spec>

Bit 6 - RX buffer not empty interrupt enable

source

pub fn tbeie(&mut self) -> TbeieW<'_, Ctl1Spec>

Bit 7 - Tx buffer empty interrupt enable