pub struct ADC2 { /* private fields */ }
Trait Implementations§
source§impl Peripheral for ADC2
impl Peripheral for ADC2
source§impl RegisterAccess for ADC2
impl RegisterAccess for ADC2
fn set_bit_width(resolution: u8)
fn set_sample_bit(resolution: u8)
fn set_attenuation(channel: usize, attenuation: u8)
fn clear_dig_force()
fn set_start_force()
fn set_en_pad_force()
fn set_en_pad(channel: u8)
fn clear_start_sar()
fn set_start_sar()
fn read_done_sar() -> bool
fn read_data_sar() -> u16
Auto Trait Implementations§
impl RefUnwindSafe for ADC2
impl Send for ADC2
impl Sync for ADC2
impl Unpin for ADC2
impl UnwindSafe for ADC2
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