Struct rp2040_combined::app::task_adt7310::LocalResources
source · pub struct LocalResources<'a> {
pub spi0: &'a mut Spi<Enabled, SPI0, (Pin<Gpio19, FunctionSpi, PullDown>, Pin<Gpio20, FunctionSpi, PullDown>, Pin<Gpio18, FunctionSpi, PullDown>)>,
pub spi0_csn_adt7310: &'a mut Pin<Gpio6, FunctionSio<SioOutput>, PullDown>,
/* private fields */
}
Expand description
Local resources task_adt7310
has access to
Fields§
§spi0: &'a mut Spi<Enabled, SPI0, (Pin<Gpio19, FunctionSpi, PullDown>, Pin<Gpio20, FunctionSpi, PullDown>, Pin<Gpio18, FunctionSpi, PullDown>)>
§spi0_csn_adt7310: &'a mut Pin<Gpio6, FunctionSio<SioOutput>, PullDown>
Implementations§
source§impl<'a> __rtic_internal_task_adt7310LocalResources<'a>
impl<'a> __rtic_internal_task_adt7310LocalResources<'a>
Auto Trait Implementations§
impl<'a> Freeze for __rtic_internal_task_adt7310LocalResources<'a>
impl<'a> RefUnwindSafe for __rtic_internal_task_adt7310LocalResources<'a>
impl<'a> Send for __rtic_internal_task_adt7310LocalResources<'a>
impl<'a> !Sync for __rtic_internal_task_adt7310LocalResources<'a>
impl<'a> Unpin for __rtic_internal_task_adt7310LocalResources<'a>
impl<'a> !UnwindSafe for __rtic_internal_task_adt7310LocalResources<'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
§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more