Struct stm32l0x1::spi1::cr2::W [−][src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
pub fn rxdmaen(&mut self) -> _RXDMAENW
[src]
pub fn rxdmaen(&mut self) -> _RXDMAENW
Bit 0 - Rx buffer DMA enable
pub fn txdmaen(&mut self) -> _TXDMAENW
[src]
pub fn txdmaen(&mut self) -> _TXDMAENW
Bit 1 - Tx buffer DMA enable
pub fn ssoe(&mut self) -> _SSOEW
[src]
pub fn ssoe(&mut self) -> _SSOEW
Bit 2 - SS output enable
pub fn frf(&mut self) -> _FRFW
[src]
pub fn frf(&mut self) -> _FRFW
Bit 4 - Frame format
pub fn errie(&mut self) -> _ERRIEW
[src]
pub fn errie(&mut self) -> _ERRIEW
Bit 5 - Error interrupt enable
pub fn rxneie(&mut self) -> _RXNEIEW
[src]
pub fn rxneie(&mut self) -> _RXNEIEW
Bit 6 - RX buffer not empty interrupt enable
pub fn txeie(&mut self) -> _TXEIEW
[src]
pub fn txeie(&mut self) -> _TXEIEW
Bit 7 - Tx buffer empty interrupt enable