Enum stm32_metapac::usart::vals::Cpha
#[repr(u8)]pub enum Cpha {
FIRST = 0,
SECOND = 1,
}
Variants§
FIRST = 0
The first clock transition is the first data capture edge
SECOND = 1
The second clock transition is the first data capture edge
Implementations§
Trait Implementations§
§impl Ord for Cpha
impl Ord for Cpha
§impl PartialOrd for Cpha
impl PartialOrd for Cpha
impl Copy for Cpha
impl Eq for Cpha
impl StructuralPartialEq for Cpha
Auto Trait Implementations§
impl Freeze for Cpha
impl RefUnwindSafe for Cpha
impl Send for Cpha
impl Sync for Cpha
impl Unpin for Cpha
impl UnwindSafe for Cpha
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
)