pub struct Signal {
pub pad: String,
pub function: String,
pub peripheral: Option<String>,
pub signal: Option<String>,
pub mux: Mux,
}Expand description
One signal a pad can carry.
Fields§
§pad: StringPad name.
function: StringVendor function name, verbatim: USART2_TX, LPUART1_TX.
peripheral: Option<String>Chip-dump peripheral the function belongs to, when any core can reach
it (None for A-core-only blocks such as i.MX ENET1).
signal: Option<String>The rest of function after the peripheral, e.g. TX.
mux: MuxHow the pad is switched to this function.
Trait Implementations§
impl Eq for Signal
impl StructuralPartialEq for Signal
Auto Trait Implementations§
impl Forget for Signal
impl Freeze for Signal
impl RefUnwindSafe for Signal
impl Send for Signal
impl Sync for Signal
impl Unpin for Signal
impl UnsafeUnpin for Signal
impl UnwindSafe for Signal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.