Enum gd32f1x0_hal::pac::rcu::cfg0::CKOUTSEL_A
source · [−]#[repr(u8)]
pub enum CKOUTSEL_A {
NONE,
IRC14M,
LSI40K,
LXTAL,
SYSCLK,
IRC8M,
HXTAL,
PLL,
}
Expand description
CK_OUT Clock Source Selection
Value on reset: 0
Variants
NONE
0: No clock selected
IRC14M
1: Internal 14 MHz RC oscillator clock selected
LSI40K
2: Internal 40 kHz RC oscillator clock selected
LXTAL
3: External low speed oscillator clock selected
SYSCLK
4: System clock selected
IRC8M
5: Internal RC 8 MHz (HSI) oscillator clock selected
HXTAL
6: External 4-32 MHz (HSE) oscillator clock selected
PLL
7: PLL clock selected (divided by 1 or 2, depending on PLLDV)
Trait Implementations
sourceimpl Clone for CKOUTSEL_A
impl Clone for CKOUTSEL_A
sourcefn clone(&self) -> CKOUTSEL_A
fn clone(&self) -> CKOUTSEL_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CKOUTSEL_A
impl Debug for CKOUTSEL_A
sourceimpl PartialEq<CKOUTSEL_A> for CKOUTSEL_A
impl PartialEq<CKOUTSEL_A> for CKOUTSEL_A
impl Copy for CKOUTSEL_A
impl StructuralPartialEq for CKOUTSEL_A
Auto Trait Implementations
impl RefUnwindSafe for CKOUTSEL_A
impl Send for CKOUTSEL_A
impl Sync for CKOUTSEL_A
impl Unpin for CKOUTSEL_A
impl UnwindSafe for CKOUTSEL_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more