[−]Struct pfza_proto1::Pins
Maps the pins to their names
Fields
port: Port
Opaque port reference
led0: Pb21<Input<Floating>>
LED Pin
rfm95_cap_bank: Pc13<Input<Floating>>
RFM95
rfm95_power_supply: Pb9<Input<Floating>>
rfm95_radio_reset: Pa6<Input<Floating>>
rfm95_spi_not: Pa7<Input<Floating>>
rfm95_dio0: Pd1<Input<Floating>>
rfm95_dio1: Pb6<Input<Floating>>
rfm95_dio2: Pb7<Input<Floating>>
rfm95_dio3: Pb8<Input<Floating>>
rfm95_dio4: Pa4<Input<Floating>>
rfm95_dio5: Pa5<Input<Floating>>
adxl313_power_supply: Pb10<Input<Floating>>
ADXL313
adxl313_irq0: Pb11<Input<Floating>>
adxl313_irq1: Pb12<Input<Floating>>
adxl313_spi_not: Pb13<Input<Floating>>
d7s_power_supply: Pa8<Input<Floating>>
D7S
d7s_irq0: Pa9<Input<Floating>>
d7s_irq1: Pa10<Input<Floating>>
tc72_power_supply: Pd10<Input<Floating>>
TC72
tc72_spi_not: Pd11<Input<Floating>>
TODO ADC Button
sda: Pc12<Input<Floating>>
The I2C data line
scl: Pd9<Input<Floating>>
The I2C clock line
sck: Pc17<Input<Floating>>
The SPI SCK
mosi: Pc16<Input<Floating>>
The SPI MOSI
miso: Pc19<Input<Floating>>
The SPI MISO
Methods
impl Pins
pub fn new(port: PORT) -> Self
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,