Struct capsules_extra::temperature_stm::TemperatureSTM
source · pub struct TemperatureSTM<'a, A: AdcChannel<'a>> { /* private fields */ }
Implementations§
source§impl<'a, A: AdcChannel<'a>> TemperatureSTM<'a, A>
impl<'a, A: AdcChannel<'a>> TemperatureSTM<'a, A>
Trait Implementations§
source§impl<'a, A: AdcChannel<'a>> Client for TemperatureSTM<'a, A>
impl<'a, A: AdcChannel<'a>> Client for TemperatureSTM<'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 TemperatureSTM<'a, A>
impl<'a, A: AdcChannel<'a>> TemperatureDriver<'a> for TemperatureSTM<'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 TemperatureSTM<'a, A>
impl<'a, A> !RefUnwindSafe for TemperatureSTM<'a, A>
impl<'a, A> !Send for TemperatureSTM<'a, A>
impl<'a, A> !Sync for TemperatureSTM<'a, A>
impl<'a, A> Unpin for TemperatureSTM<'a, A>
impl<'a, A> !UnwindSafe for TemperatureSTM<'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