pub struct DmaRequest {
pub controller: String,
pub request: u16,
pub function: String,
pub peripheral: Option<String>,
pub signal: Option<String>,
}Expand description
One DMA request line.
Fields§
§controller: StringRequest-routing controller: HPDMA/LPDMA on STM32MP2, DMA3/DMA4/
DMA5 on i.MX 9.
request: u16Request number to program into the controller.
function: StringVendor function name, e.g. USART1_TX or TPM1_OVERFLOW_REQUEST.
peripheral: Option<String>Chip-dump peripheral, as for Signal::peripheral.
signal: Option<String>The rest of function after the peripheral.
Trait Implementations§
Source§impl Clone for DmaRequest
impl Clone for DmaRequest
Source§impl Debug for DmaRequest
impl Debug for DmaRequest
Source§impl<'de> Deserialize<'de> for DmaRequest
impl<'de> Deserialize<'de> for DmaRequest
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
impl Eq for DmaRequest
Source§impl PartialEq for DmaRequest
impl PartialEq for DmaRequest
impl StructuralPartialEq for DmaRequest
Auto Trait Implementations§
impl Forget for DmaRequest
impl Freeze for DmaRequest
impl RefUnwindSafe for DmaRequest
impl Send for DmaRequest
impl Sync for DmaRequest
impl Unpin for DmaRequest
impl UnsafeUnpin for DmaRequest
impl UnwindSafe for DmaRequest
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.