pub struct TemperatureRp2040<'a, A: AdcChannel<'a>> { /* private fields */ }
Implementations§
Source§impl<'a, A: AdcChannel<'a>> TemperatureRp2040<'a, A>
impl<'a, A: AdcChannel<'a>> TemperatureRp2040<'a, A>
Trait Implementations§
Source§impl<'a, A: AdcChannel<'a>> Client for TemperatureRp2040<'a, A>
impl<'a, A: AdcChannel<'a>> Client for TemperatureRp2040<'a, A>
Source§fn sample_ready(&self, sample: u16)
fn sample_ready(&self, sample: u16)
Called when a sample is ready.
Source§impl<'a, A: AdcChannel<'a>> TemperatureDriver<'a> for TemperatureRp2040<'a, A>
impl<'a, A: AdcChannel<'a>> TemperatureDriver<'a> for TemperatureRp2040<'a, A>
fn set_client(&self, temperature_client: &'a dyn TemperatureClient)
fn read_temperature(&self) -> Result<(), ErrorCode>
Auto Trait Implementations§
impl<'a, A> !Freeze for TemperatureRp2040<'a, A>
impl<'a, A> !RefUnwindSafe for TemperatureRp2040<'a, A>
impl<'a, A> !Send for TemperatureRp2040<'a, A>
impl<'a, A> !Sync for TemperatureRp2040<'a, A>
impl<'a, A> Unpin for TemperatureRp2040<'a, A>
impl<'a, A> !UnwindSafe for TemperatureRp2040<'a, A>
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