pub enum PdmSignalScale {
Div2,
None,
Mul2,
Mul4,
}
Expand description
Pulse density modulation (PDM) transmit signal scaling mode.
Variants§
Div2
Divide the PDM signal by 2.
None
No scaling.
Mul2
Multiply the PDM signal by 2.
Mul4
Multiply the PDM signal by 4.
Trait Implementations§
Source§impl Clone for PdmSignalScale
impl Clone for PdmSignalScale
Source§fn clone(&self) -> PdmSignalScale
fn clone(&self) -> PdmSignalScale
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PdmSignalScale
impl Debug for PdmSignalScale
Source§impl Default for PdmSignalScale
impl Default for PdmSignalScale
Source§fn default() -> PdmSignalScale
fn default() -> PdmSignalScale
Returns the “default value” for a type. Read more
Source§impl PartialEq for PdmSignalScale
impl PartialEq for PdmSignalScale
impl Copy for PdmSignalScale
impl Eq for PdmSignalScale
impl StructuralPartialEq for PdmSignalScale
Auto Trait Implementations§
impl Freeze for PdmSignalScale
impl RefUnwindSafe for PdmSignalScale
impl Send for PdmSignalScale
impl Sync for PdmSignalScale
impl Unpin for PdmSignalScale
impl UnwindSafe for PdmSignalScale
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)