[−][src]Struct gd32vf103_pac::spi0::ctl0::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u16) -> &mut Self
[src]
Writes raw bits to the register
pub fn bden(&mut self) -> _BDENW
[src]
Bit 15 - Bidirectional enable
pub fn bdoen(&mut self) -> _BDOENW
[src]
Bit 14 - Bidirectional Transmit output enable
pub fn crcen(&mut self) -> _CRCENW
[src]
Bit 13 - CRC Calculation Enable
pub fn crcnt(&mut self) -> _CRCNTW
[src]
Bit 12 - CRC Next Transfer
pub fn ff16(&mut self) -> _FF16W
[src]
Bit 11 - Data frame format
pub fn ro(&mut self) -> _ROW
[src]
Bit 10 - Receive only
pub fn swnssen(&mut self) -> _SWNSSENW
[src]
Bit 9 - NSS Software Mode Selection
pub fn swnss(&mut self) -> _SWNSSW
[src]
Bit 8 - NSS Pin Selection In NSS Software Mode
pub fn lf(&mut self) -> _LFW
[src]
Bit 7 - LSB First Mode
pub fn spien(&mut self) -> _SPIENW
[src]
Bit 6 - SPI enable
pub fn psc(&mut self) -> _PSCW
[src]
Bits 3:5 - Master Clock Prescaler Selection
pub fn mstmod(&mut self) -> _MSTMODW
[src]
Bit 2 - Master Mode Enable
pub fn ckpl(&mut self) -> _CKPLW
[src]
Bit 1 - Clock polarity Selection
pub fn ckph(&mut self) -> _CKPHW
[src]
Bit 0 - Clock Phase Selection
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,