Enum stm32_metapac::usart::vals::Presc
#[repr(u8)]pub enum Presc {
Show 16 variants
DIV1 = 0,
DIV2 = 1,
DIV4 = 2,
DIV6 = 3,
DIV8 = 4,
DIV10 = 5,
DIV12 = 6,
DIV16 = 7,
DIV32 = 8,
DIV64 = 9,
DIV128 = 10,
DIV256 = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}
Variants§
DIV1 = 0
input clock not divided
DIV2 = 1
input clock divided by 2
DIV4 = 2
input clock divided by 4
DIV6 = 3
input clock divided by 6
DIV8 = 4
input clock divided by 8
DIV10 = 5
input clock divided by 10
DIV12 = 6
input clock divided by 12
DIV16 = 7
input clock divided by 16
DIV32 = 8
input clock divided by 32
DIV64 = 9
input clock divided by 64
DIV128 = 10
input clock divided by 128
DIV256 = 11
input clock divided by 256
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
§impl Ord for Presc
impl Ord for Presc
§impl PartialOrd for Presc
impl PartialOrd for Presc
impl Copy for Presc
impl Eq for Presc
impl StructuralPartialEq for Presc
Auto Trait Implementations§
impl Freeze for Presc
impl RefUnwindSafe for Presc
impl Send for Presc
impl Sync for Presc
impl Unpin for Presc
impl UnwindSafe for Presc
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)