#[repr(transparent)]pub struct DmaCh0InterruptEnable(pub u32);Expand description
F70RM Rev. 1 section 51.7.5.11; manual text line 156521.
Tuple Fields§
§0: u32Implementations§
Source§impl DmaCh0InterruptEnable
impl DmaCh0InterruptEnable
Sourcepub const fn tie(&self) -> bool
pub const fn tie(&self) -> bool
Transmit Interrupt Enable. When this bit is set along with the NIE bit, the Transmit Interrupt is enabled. When this bit is reset, the Transmit Interrupt is disabled. 0b - Transmit Interrupt is disabled 1b - Transmit Interrupt is enabled
Sourcepub const fn set_tie(&mut self, val: bool)
pub const fn set_tie(&mut self, val: bool)
Transmit Interrupt Enable. When this bit is set along with the NIE bit, the Transmit Interrupt is enabled. When this bit is reset, the Transmit Interrupt is disabled. 0b - Transmit Interrupt is disabled 1b - Transmit Interrupt is enabled
Sourcepub const fn txse(&self) -> bool
pub const fn txse(&self) -> bool
Transmit Stopped Enable. When this bit is set along with the AIE bit, the Transmission Stopped interrupt is enabled. When this bit is reset, the Transmission Stopped interrupt is disabled. 0b - Transmit Stopped is disabled 1b - Transmit Stopped is enabled
Sourcepub const fn set_txse(&mut self, val: bool)
pub const fn set_txse(&mut self, val: bool)
Transmit Stopped Enable. When this bit is set along with the AIE bit, the Transmission Stopped interrupt is enabled. When this bit is reset, the Transmission Stopped interrupt is disabled. 0b - Transmit Stopped is disabled 1b - Transmit Stopped is enabled
Sourcepub const fn tbue(&self) -> bool
pub const fn tbue(&self) -> bool
Transmit Buffer Unavailable Enable. When this bit is set along with the NIE bit, the Transmit Buffer Unavailable interrupt is enabled. When this bit is reset, the Transmit Buffer Unavailable interrupt is disabled. 0b - Transmit Buffer Unavailable is disabled 1b - Transmit Buffer Unavailable is enabled
Sourcepub const fn set_tbue(&mut self, val: bool)
pub const fn set_tbue(&mut self, val: bool)
Transmit Buffer Unavailable Enable. When this bit is set along with the NIE bit, the Transmit Buffer Unavailable interrupt is enabled. When this bit is reset, the Transmit Buffer Unavailable interrupt is disabled. 0b - Transmit Buffer Unavailable is disabled 1b - Transmit Buffer Unavailable is enabled
Sourcepub const fn rie(&self) -> bool
pub const fn rie(&self) -> bool
Receive Interrupt Enable. When this bit is set along with the NIE bit, the Receive Interrupt is enabled. When this bit is reset, the Receive Interrupt is disabled. 0b - Receive Interrupt is disabled 1b - Receive Interrupt is enabled
Sourcepub const fn set_rie(&mut self, val: bool)
pub const fn set_rie(&mut self, val: bool)
Receive Interrupt Enable. When this bit is set along with the NIE bit, the Receive Interrupt is enabled. When this bit is reset, the Receive Interrupt is disabled. 0b - Receive Interrupt is disabled 1b - Receive Interrupt is enabled
Sourcepub const fn rbue(&self) -> bool
pub const fn rbue(&self) -> bool
Receive Buffer Unavailable Enable. When this bit is set along with the AIE bit, the Receive Buffer Unavailable interrupt is enabled. When this bit is reset, the Receive Buffer Unavailable interrupt is disabled. 0b - Receive Buffer Unavailable is disabled 1b - Receive Buffer Unavailable is enabled
Sourcepub const fn set_rbue(&mut self, val: bool)
pub const fn set_rbue(&mut self, val: bool)
Receive Buffer Unavailable Enable. When this bit is set along with the AIE bit, the Receive Buffer Unavailable interrupt is enabled. When this bit is reset, the Receive Buffer Unavailable interrupt is disabled. 0b - Receive Buffer Unavailable is disabled 1b - Receive Buffer Unavailable is enabled
Sourcepub const fn rse(&self) -> bool
pub const fn rse(&self) -> bool
Receive Stopped Enable. When this bit is set along with the AIE bit, the Receive Stopped Interrupt is enabled. When this bit is reset, the Receive Stopped interrupt is disabled. 0b - Receive Stopped is disabled 1b - Receive Stopped is enabled
Sourcepub const fn set_rse(&mut self, val: bool)
pub const fn set_rse(&mut self, val: bool)
Receive Stopped Enable. When this bit is set along with the AIE bit, the Receive Stopped Interrupt is enabled. When this bit is reset, the Receive Stopped interrupt is disabled. 0b - Receive Stopped is disabled 1b - Receive Stopped is enabled
Sourcepub const fn rwte(&self) -> bool
pub const fn rwte(&self) -> bool
Receive Watchdog Timeout Enable. When this bit is set along with the AIE bit, the Receive Watchdog Timeout interrupt is enabled. When this bit is reset, the Receive Watchdog Timeout interrupt is disabled. 0b - Receive Watchdog Timeout is disabled 1b - Receive Watchdog Timeout is enabled
Sourcepub const fn set_rwte(&mut self, val: bool)
pub const fn set_rwte(&mut self, val: bool)
Receive Watchdog Timeout Enable. When this bit is set along with the AIE bit, the Receive Watchdog Timeout interrupt is enabled. When this bit is reset, the Receive Watchdog Timeout interrupt is disabled. 0b - Receive Watchdog Timeout is disabled 1b - Receive Watchdog Timeout is enabled
Sourcepub const fn etie(&self) -> bool
pub const fn etie(&self) -> bool
Early Transmit Interrupt Enable. When this bit is set along with the AIE bit, the Early Transmit interrupt is enabled. When this bit is reset, the Early Transmit interrupt is disabled. 0b - Early Transmit Interrupt is disabled 1b - Early Transmit Interrupt is enabled
Sourcepub const fn set_etie(&mut self, val: bool)
pub const fn set_etie(&mut self, val: bool)
Early Transmit Interrupt Enable. When this bit is set along with the AIE bit, the Early Transmit interrupt is enabled. When this bit is reset, the Early Transmit interrupt is disabled. 0b - Early Transmit Interrupt is disabled 1b - Early Transmit Interrupt is enabled
Sourcepub const fn erie(&self) -> bool
pub const fn erie(&self) -> bool
Early Receive Interrupt Enable. When this bit is set along with the NIE bit, the Early Receive interrupt is enabled. When this bit is reset, the Early Receive interrupt is disabled. 0b - Early Receive Interrupt is disabled 1b - Early Receive Interrupt is enabled
Sourcepub const fn set_erie(&mut self, val: bool)
pub const fn set_erie(&mut self, val: bool)
Early Receive Interrupt Enable. When this bit is set along with the NIE bit, the Early Receive interrupt is enabled. When this bit is reset, the Early Receive interrupt is disabled. 0b - Early Receive Interrupt is disabled 1b - Early Receive Interrupt is enabled
Sourcepub const fn fbee(&self) -> bool
pub const fn fbee(&self) -> bool
Fatal Bus Error Enable. When this bit is set along with the AIE bit, the Fatal Bus error interrupt is enabled. When this bit is reset, the Fatal Bus Error error interrupt is disabled. 0b - Fatal Bus Error is disabled 1b - Fatal Bus Error is enabled
Sourcepub const fn set_fbee(&mut self, val: bool)
pub const fn set_fbee(&mut self, val: bool)
Fatal Bus Error Enable. When this bit is set along with the AIE bit, the Fatal Bus error interrupt is enabled. When this bit is reset, the Fatal Bus Error error interrupt is disabled. 0b - Fatal Bus Error is disabled 1b - Fatal Bus Error is enabled
Sourcepub const fn cdee(&self) -> bool
pub const fn cdee(&self) -> bool
Context Descriptor Error Enable. When this bit is set along with the AIE bit, the Descriptor error interrupt is enabled. When this bit is reset, the Descriptor error interrupt is disabled. 0b - Context Descriptor Error is disabled 1b - Context Descriptor Error is enabled
Sourcepub const fn set_cdee(&mut self, val: bool)
pub const fn set_cdee(&mut self, val: bool)
Context Descriptor Error Enable. When this bit is set along with the AIE bit, the Descriptor error interrupt is enabled. When this bit is reset, the Descriptor error interrupt is disabled. 0b - Context Descriptor Error is disabled 1b - Context Descriptor Error is enabled
Sourcepub const fn aie(&self) -> bool
pub const fn aie(&self) -> bool
Abnormal Interrupt Summary Enable. When this bit is set, the abnormal interrupt summary is enabled. This bit enables the following interrupts in the DMA_CH0_Status register: - Bit 1: Transmit Process Stopped - Bit 7: Rx Buffer Unavailable - Bit 8: Receive Process Stopped - Bit 9: Receive Watchdog Timeout - Bit 10: Early Transmit Interrupt - Bit 12: Fatal Bus Error - Bit 13: Context Descriptor Error When this bit is reset, the abnormal interrupt summary is disabled. 0b - Abnormal Interrupt Summary is disabled 1b - Abnormal Interrupt Summary is enabled
Sourcepub const fn set_aie(&mut self, val: bool)
pub const fn set_aie(&mut self, val: bool)
Abnormal Interrupt Summary Enable. When this bit is set, the abnormal interrupt summary is enabled. This bit enables the following interrupts in the DMA_CH0_Status register: - Bit 1: Transmit Process Stopped - Bit 7: Rx Buffer Unavailable - Bit 8: Receive Process Stopped - Bit 9: Receive Watchdog Timeout - Bit 10: Early Transmit Interrupt - Bit 12: Fatal Bus Error - Bit 13: Context Descriptor Error When this bit is reset, the abnormal interrupt summary is disabled. 0b - Abnormal Interrupt Summary is disabled 1b - Abnormal Interrupt Summary is enabled
Sourcepub const fn nie(&self) -> bool
pub const fn nie(&self) -> bool
Normal Interrupt Summary Enable. When this bit is set, the normal interrupt summary is enabled. This bit enables the following interrupts in the DMA_CH0_Status register: - Bit 0: Transmit Interrupt - Bit 2: Transmit Buffer Unavailable - Bit 6: Receive Interrupt - Bit 11: Early Receive Interrupt When this bit is reset, the normal interrupt summary is disabled. 0b - Normal Interrupt Summary is disabled 1b - Normal Interrupt Summary is enabled
Sourcepub const fn set_nie(&mut self, val: bool)
pub const fn set_nie(&mut self, val: bool)
Normal Interrupt Summary Enable. When this bit is set, the normal interrupt summary is enabled. This bit enables the following interrupts in the DMA_CH0_Status register: - Bit 0: Transmit Interrupt - Bit 2: Transmit Buffer Unavailable - Bit 6: Receive Interrupt - Bit 11: Early Receive Interrupt When this bit is reset, the normal interrupt summary is disabled. 0b - Normal Interrupt Summary is disabled 1b - Normal Interrupt Summary is enabled
Trait Implementations§
Source§impl Clone for DmaCh0InterruptEnable
impl Clone for DmaCh0InterruptEnable
Source§fn clone(&self) -> DmaCh0InterruptEnable
fn clone(&self) -> DmaCh0InterruptEnable
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more