pub enum RESR {
TWELVEBIT,
TENBIT,
EIGHTBIT,
SIXBIT,
}
Expand description
Possible values of the field RES
Variants
TWELVEBIT
12-bit (15 ADCCLK cycles)
TENBIT
10-bit (13 ADCCLK cycles)
EIGHTBIT
8-bit (11 ADCCLK cycles)
SIXBIT
6-bit (9 ADCCLK cycles)
Implementations
impl RESR
impl RESR
pub fn is_twelve_bit(&self) -> bool
pub fn is_twelve_bit(&self) -> bool
Checks if the value of the field is TWELVEBIT
pub fn is_ten_bit(&self) -> bool
pub fn is_ten_bit(&self) -> bool
Checks if the value of the field is TENBIT
pub fn is_eight_bit(&self) -> bool
pub fn is_eight_bit(&self) -> bool
Checks if the value of the field is EIGHTBIT
pub fn is_six_bit(&self) -> bool
pub fn is_six_bit(&self) -> bool
Checks if the value of the field is SIXBIT
Trait Implementations
impl Copy for RESR
impl StructuralPartialEq for RESR
Auto Trait Implementations
impl RefUnwindSafe for RESR
impl Send for RESR
impl Sync for RESR
impl Unpin for RESR
impl UnwindSafe for RESR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more