Struct ParticleArgon

Source
pub struct ParticleArgon { /* private fields */ }

Trait Implementations§

Source§

impl Debug for ParticleArgon

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Feather for ParticleArgon

Source§

type MainLed = <ParticleArgon as Feather>::D7

Source§

type MainI2cMapping = I2cMapping<<ParticleArgon as Feather>::SDA, <ParticleArgon as Feather>::SCL>

Source§

type SDA = Pin<P0_26<Input<Floating>>>

Source§

type SCL = Pin<P0_27<Input<Floating>>>

Source§

type D2 = Pin<P1_01<Input<Floating>>>

Source§

type D3 = Pin<P1_02<Input<Floating>>>

Source§

type D4 = Pin<P1_08<Input<Floating>>>

Source§

type D5 = Pin<P1_10<Input<Floating>>>

Source§

type D6 = Pin<P1_11<Input<Floating>>>

Source§

type D7 = Pin<P1_12<Input<Floating>>>

Source§

type D8 = Pin<P1_03<Input<Floating>>>

Source§

type P0 = Pin<P0_11<Input<Floating>>>

Source§

type TX = Pin<P0_06<Input<Floating>>>

Source§

type RX = Pin<P0_08<Input<Floating>>>

Source§

type MISO = Pin<P1_14<Input<Floating>>>

Source§

type MOSI = Pin<P1_13<Input<Floating>>>

Source§

type SCK = Pin<P1_15<Input<Floating>>>

Source§

type A5 = Pin<P0_31<Input<Floating>>>

Source§

type A4 = Pin<P0_30<Input<Floating>>>

Source§

type A3 = Pin<P0_29<Input<Floating>>>

Source§

type A2 = Pin<P0_28<Input<Floating>>>

Source§

type A1 = Pin<P0_04<Input<Floating>>>

Source§

type A0 = Pin<P0_03<Input<Floating>>>

Source§

fn take_main_led(&mut self) -> Self::MainLed

Source§

fn take_main_i2c( &mut self, ) -> <Self::MainI2cMapping as I2cBusMapping<Self::SDA, Self::SCL>>::Bus

Source§

fn take_sda(&mut self) -> Self::SDA

Source§

fn take_scl(&mut self) -> Self::SCL

Source§

fn take_d2(&mut self) -> Self::D2

Source§

fn take_d3(&mut self) -> Self::D3

Source§

fn take_d4(&mut self) -> Self::D4

Source§

fn take_d5(&mut self) -> Self::D5

Source§

fn take_d6(&mut self) -> Self::D6

Source§

fn take_d7(&mut self) -> Self::D7

Source§

fn take_d8(&mut self) -> Self::D8

Source§

fn take_p0(&mut self) -> Self::P0

Source§

fn take_tx(&mut self) -> Self::TX

Source§

fn take_rx(&mut self) -> Self::RX

Source§

fn take_miso(&mut self) -> Self::MISO

Source§

fn take_mosi(&mut self) -> Self::MOSI

Source§

fn take_sck(&mut self) -> Self::SCK

Source§

fn take_a5(&mut self) -> Self::A5

Source§

fn take_a4(&mut self) -> Self::A4

Source§

fn take_a3(&mut self) -> Self::A3

Source§

fn take_a2(&mut self) -> Self::A2

Source§

fn take_a1(&mut self) -> Self::A1

Source§

fn take_a0(&mut self) -> Self::A0

Source§

impl Platform for ParticleArgon

Source§

type Error = Error

Source§

fn poll_initialize(_cx: &mut Context<'_>) -> Poll<Result<Self, Self::Error>>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<A> PlatformExt for A
where A: Platform,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<A> WriteExt for A
where A: WriteExt,

Source§

fn write<'a>(&'a mut self, bytes: &'a [u8]) -> Write<'a, Self>
where Self: Unpin,

Source§

fn write_all<'a>(&'a mut self, bytes: &'a [u8]) -> WriteAll<'a, Self>
where Self: Unpin,

Source§

fn shutdown(&mut self) -> Shutdown<'_, Self>
where Self: Unpin,