Struct rp2040_combined::app::task_lcd::LocalResources
source · pub struct LocalResources<'a> {
pub i2c1: &'a mut I2C<I2C1, (Pin<Gpio2, FunctionI2c, PullUp>, Pin<Gpio3, FunctionI2c, PullUp>)>,
pub lcd_resetn: &'a mut Pin<Gpio7, FunctionSio<SioOutput>, PullDown>,
pub uart0: &'a mut UartPeripheral<Enabled, UART0, (Pin<Gpio0, FunctionUart, PullDown>, Pin<Gpio1, FunctionUart, PullDown>)>,
/* private fields */
}
Expand description
Local resources task_lcd
has access to
Fields§
§i2c1: &'a mut I2C<I2C1, (Pin<Gpio2, FunctionI2c, PullUp>, Pin<Gpio3, FunctionI2c, PullUp>)>
§lcd_resetn: &'a mut Pin<Gpio7, FunctionSio<SioOutput>, PullDown>
§uart0: &'a mut UartPeripheral<Enabled, UART0, (Pin<Gpio0, FunctionUart, PullDown>, Pin<Gpio1, FunctionUart, PullDown>)>
Implementations§
source§impl<'a> __rtic_internal_task_lcdLocalResources<'a>
impl<'a> __rtic_internal_task_lcdLocalResources<'a>
Auto Trait Implementations§
impl<'a> Freeze for __rtic_internal_task_lcdLocalResources<'a>
impl<'a> RefUnwindSafe for __rtic_internal_task_lcdLocalResources<'a>
impl<'a> Send for __rtic_internal_task_lcdLocalResources<'a>
impl<'a> !Sync for __rtic_internal_task_lcdLocalResources<'a>
impl<'a> Unpin for __rtic_internal_task_lcdLocalResources<'a>
impl<'a> !UnwindSafe for __rtic_internal_task_lcdLocalResources<'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