Struct samd11_bare::Pins
source · pub struct Pins {
pub d1: Pin<PA05, Reset>,
pub d2: Pin<PA08, Reset>,
pub d3: Pin<PA09, Reset>,
pub d4: Pin<PA14, Reset>,
pub d5: Pin<PA15, Reset>,
pub d6: Pin<PA28, Reset>,
pub d7: Pin<PA30, Reset>,
pub d8: Pin<PA31, Reset>,
pub d9: Pin<PA24, Reset>,
pub d10: Pin<PA25, Reset>,
pub d13: Pin<PA02, Reset>,
pub d14: Pin<PA04, Reset>,
/* private fields */
}
Expand description
BSP replacement for the HAL
Pins
type
This type is intended to provide more meaningful names for the given pins.
Fields§
§d1: Pin<PA05, Reset>
This field can also be accessed using the pin_alias!
macro with the following alternate names:
uart_rx,
d2: Pin<PA08, Reset>
This field can also be accessed using the pin_alias!
macro with the following alternate names:
led,
d3: Pin<PA09, Reset>
§d4: Pin<PA14, Reset>
This field can also be accessed using the pin_alias!
macro with the following alternate names:
sda,
d5: Pin<PA15, Reset>
This field can also be accessed using the pin_alias!
macro with the following alternate names:
scl,
d6: Pin<PA28, Reset>
RST pin
d7: Pin<PA30, Reset>
§d8: Pin<PA31, Reset>
§d9: Pin<PA24, Reset>
§d10: Pin<PA25, Reset>
§d13: Pin<PA02, Reset>
§d14: Pin<PA04, Reset>
This field can also be accessed using the pin_alias!
macro with the following alternate names:
uart_tx,
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Pins
impl Send for Pins
impl !Sync for Pins
impl Unpin for Pins
impl UnwindSafe for Pins
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