[−][src]Struct atsams70n21b::usart0::us_mr_spi_mode::_USCLKSW
Proxy
Methods
impl<'a> _USCLKSW<'a>
[src]
pub fn variant(self, variant: USCLKSW) -> &'a mut W
[src]
Writes variant
to the field
pub fn mck(self) -> &'a mut W
[src]
Peripheral clock is selected
pub fn div(self) -> &'a mut W
[src]
Peripheral clock divided (DIV = 8) is selected
pub fn pck(self) -> &'a mut W
[src]
PMC programmable clock (PCK) is selected. If the SCK pin is driven (CLKO = 1), the CD field must be greater than 1.
pub fn sck(self) -> &'a mut W
[src]
Serial clock (SCK) is selected
pub fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field
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,
impl<T> Same<T> for T
type Output = T
Should always be Self