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