pub enum Duty {
Show 14 variants
Duty1Bit = 1,
Duty2Bit = 2,
Duty3Bit = 3,
Duty4Bit = 4,
Duty5Bit = 5,
Duty6Bit = 6,
Duty7Bit = 7,
Duty8Bit = 8,
Duty9Bit = 9,
Duty10Bit = 10,
Duty11Bit = 11,
Duty12Bit = 12,
Duty13Bit = 13,
Duty14Bit = 14,
}
Available on crate feature
unstable
only.Expand description
Number of bits reserved for duty cycle adjustment
Variants§
Duty1Bit = 1
1-bit resolution for duty cycle adjustment.
Duty2Bit = 2
2-bit resolution for duty cycle adjustment.
Duty3Bit = 3
3-bit resolution for duty cycle adjustment.
Duty4Bit = 4
4-bit resolution for duty cycle adjustment.
Duty5Bit = 5
5-bit resolution for duty cycle adjustment.
Duty6Bit = 6
6-bit resolution for duty cycle adjustment.
Duty7Bit = 7
7-bit resolution for duty cycle adjustment.
Duty8Bit = 8
8-bit resolution for duty cycle adjustment.
Duty9Bit = 9
9-bit resolution for duty cycle adjustment.
Duty10Bit = 10
10-bit resolution for duty cycle adjustment.
Duty11Bit = 11
11-bit resolution for duty cycle adjustment.
Duty12Bit = 12
12-bit resolution for duty cycle adjustment.
Duty13Bit = 13
13-bit resolution for duty cycle adjustment.
Duty14Bit = 14
14-bit resolution for duty cycle adjustment.
Trait Implementations§
impl Copy for Duty
impl Eq for Duty
impl StructuralPartialEq for Duty
Auto Trait Implementations§
impl Freeze for Duty
impl RefUnwindSafe for Duty
impl Send for Duty
impl Sync for Duty
impl Unpin for Duty
impl UnwindSafe for Duty
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
)