pub struct Parts<'rx, 'tx, T> {
pub mac: T,
pub dma: EthernetDMA<'rx, 'tx>,
pub ptp: EthernetPTP,
}
Expand description
Access to all configured parts of the ethernet peripheral.
Fields§
§mac: T
Access to and control over the ethernet MAC.
dma: EthernetDMA<'rx, 'tx>
Access to and control over the ethernet DMA.
ptp: EthernetPTP
Access to and control over the ethernet PTP module.
Implementations§
source§impl<'rx, 'tx, T> Parts<'rx, 'tx, T>
impl<'rx, 'tx, T> Parts<'rx, 'tx, T>
sourcepub fn split(self) -> (T, EthernetDMA<'rx, 'tx>, EthernetPTP)
pub fn split(self) -> (T, EthernetDMA<'rx, 'tx>, EthernetPTP)
Split this Parts
into its components.