Enum stm32_metapac::usart::vals::Cpol
#[repr(u8)]pub enum Cpol {
LOW = 0,
HIGH = 1,
}
Variants§
LOW = 0
Steady low value on CK pin outside transmission window
HIGH = 1
Steady high value on CK pin outside transmission window
Implementations§
Trait Implementations§
§impl Ord for Cpol
impl Ord for Cpol
§impl PartialOrd for Cpol
impl PartialOrd for Cpol
impl Copy for Cpol
impl Eq for Cpol
impl StructuralPartialEq for Cpol
Auto Trait Implementations§
impl Freeze for Cpol
impl RefUnwindSafe for Cpol
impl Send for Cpol
impl Sync for Cpol
impl Unpin for Cpol
impl UnwindSafe for Cpol
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
)