[][src]Type Definition ht32f1xxxx::ht32f12345::spi0::spi_cr0::W

type W = W<u32, SPI_CR0>;

Writer for register SPI_CR0

Implementations

impl W[src]

pub fn spien(&mut self) -> SPIEN_W[src]

Bit 0 - SPIEN

pub fn txdmae(&mut self) -> TXDMAE_W[src]

Bit 1 - TXDMAE

pub fn rxdmae(&mut self) -> RXDMAE_W[src]

Bit 2 - RXDMAE

pub fn seloen(&mut self) -> SELOEN_W[src]

Bit 3 - SELOEN

pub fn sselc(&mut self) -> SSELC_W[src]

Bit 4 - SSELC

pub fn dualen(&mut self) -> DUALEN_W[src]

Bit 6 - DUALEN

pub fn guadten(&mut self) -> GUADTEN_W[src]

Bit 7 - GUADTEN

pub fn guadt(&mut self) -> GUADT_W[src]

Bits 8:11 - GUADT

pub fn selht(&mut self) -> SELHT_W[src]

Bits 12:15 - SELHT