pub enum SampTime {
Cycles1_5 = 0,
Cycles7_5 = 1,
Cycles13_5 = 2,
Cycles28_5 = 3,
Cycles41_5 = 4,
Cycles55_5 = 5,
Cycles71_5 = 6,
Cycles239_5 = 7,
}Expand description
How long the input is sampled before conversion, in CK_ADC cycles.
Longer sampling suits higher-impedance sources; the internal temperature
sensor has a minimum requirement expressed in time, so how long is long
enough depends on the actual CK_ADC frequency.
Variants§
Cycles1_5 = 0
Cycles7_5 = 1
Cycles13_5 = 2
Cycles28_5 = 3
Cycles41_5 = 4
Cycles55_5 = 5
Cycles71_5 = 6
Cycles239_5 = 7
Trait Implementations§
impl Copy for SampTime
impl Eq for SampTime
impl StructuralPartialEq for SampTime
Auto Trait Implementations§
impl Freeze for SampTime
impl RefUnwindSafe for SampTime
impl Send for SampTime
impl Sync for SampTime
impl Unpin for SampTime
impl UnsafeUnpin for SampTime
impl UnwindSafe for SampTime
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