[−][src]Struct ambiq_apollo1_pac::uart::cr::CLKSEL_W
Write proxy for field CLKSEL
Methods
impl<'a> CLKSEL_W<'a>
[src]
pub fn variant(self, variant: CLKSEL_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn noclk(self) -> &'a mut W
[src]
No UART clock. This is the low power default.
pub fn _24mhz(self) -> &'a mut W
[src]
24 MHz clock. Must be used if CLKGEN CORESEL=0.
pub fn _12mhz(self) -> &'a mut W
[src]
12 MHz clock. Must be used if CLKGEN CORESEL=1. Note that CORESEL=1 is unsupported by the IO Master.
pub fn _6mhz(self) -> &'a mut W
[src]
6 MHz clock. Must be used if CLKGEN CORESEL=2, 3, or 4. Note that CORESEL=2 is unsupported.
pub fn _3mhz(self) -> &'a mut W
[src]
3 MHz clock. Must be used if CLKGEN CORESEL=5, 6, or 7.
pub unsafe fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,