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§
Source§impl RESR
impl RESR
Sourcepub fn is_twelve_bit(&self) -> bool
pub fn is_twelve_bit(&self) -> bool
Checks if the value of the field is TWELVEBIT
Sourcepub fn is_ten_bit(&self) -> bool
pub fn is_ten_bit(&self) -> bool
Checks if the value of the field is TENBIT
Sourcepub fn is_eight_bit(&self) -> bool
pub fn is_eight_bit(&self) -> bool
Checks if the value of the field is EIGHTBIT
Sourcepub 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 Freeze for RESR
impl RefUnwindSafe for RESR
impl Send for RESR
impl Sync for RESR
impl Unpin for RESR
impl UnwindSafe for RESR
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