pub struct GpioBankIn {
pub name: String,
pub pins: Vec<GpioPinIn>,
pub valid: Valid,
pub bus: PeripheralBusIn,
}Expand description
A gpio bank (from device file).
Fields§
§name: StringThe gpio bank name.
pins: Vec<GpioPinIn>The gpio bank pins.
valid: ValidThis gpio bank is valid
bus: PeripheralBusInThe rcc controlled bus this bank is connected to.
Trait Implementations§
Source§impl Convertible for GpioBankIn
impl Convertible for GpioBankIn
Source§fn to_output(&self, id: &DeviceId, device: &DeviceIn) -> GpioBankOut
fn to_output(&self, id: &DeviceId, device: &DeviceIn) -> GpioBankOut
Convert to outputable gpio bank.
Source§type Output = GpioBankOut
type Output = GpioBankOut
Type of the outputed object
Source§impl Debug for GpioBankIn
impl Debug for GpioBankIn
Source§impl<'de> Deserialize<'de> for GpioBankIn
impl<'de> Deserialize<'de> for GpioBankIn
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PeripheralOnBus for GpioBankIn
impl PeripheralOnBus for GpioBankIn
Source§fn peripheral_bus(&self) -> PeripheralBusOut
fn peripheral_bus(&self) -> PeripheralBusOut
Represent the bus this peripheral is connected to.
Source§impl Validatable for GpioBankIn
impl Validatable for GpioBankIn
Auto Trait Implementations§
impl Freeze for GpioBankIn
impl RefUnwindSafe for GpioBankIn
impl Send for GpioBankIn
impl Sync for GpioBankIn
impl Unpin for GpioBankIn
impl UnwindSafe for GpioBankIn
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