pub enum LedPulseWidth {
Pw69,
Pw118,
Pw215,
Pw411,
}
Expand description
LED pulse width (determines ADC resolution)
This is limited by the current mode and the selected sample rate.
Variants§
Pw69
69 μs pulse width (15-bit ADC resolution)
Pw118
118 μs pulse width (16-bit ADC resolution)
Pw215
215 μs pulse width (17-bit ADC resolution)
Pw411
411 μs pulse width (18-bit ADC resolution)
Trait Implementations§
Source§impl Clone for LedPulseWidth
impl Clone for LedPulseWidth
Source§fn clone(&self) -> LedPulseWidth
fn clone(&self) -> LedPulseWidth
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LedPulseWidth
impl Debug for LedPulseWidth
Source§impl PartialEq for LedPulseWidth
impl PartialEq for LedPulseWidth
impl Copy for LedPulseWidth
impl StructuralPartialEq for LedPulseWidth
Auto Trait Implementations§
impl Freeze for LedPulseWidth
impl RefUnwindSafe for LedPulseWidth
impl Send for LedPulseWidth
impl Sync for LedPulseWidth
impl Unpin for LedPulseWidth
impl UnwindSafe for LedPulseWidth
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