#[repr(transparent)]pub struct DmaCtrl(pub u32);Expand description
ETC DMA control Register
Tuple Fields§
§0: u32Implementations§
Source§impl DmaCtrl
impl DmaCtrl
Sourcepub const fn trig0_enable(&self) -> Trig0Enable
pub const fn trig0_enable(&self) -> Trig0Enable
Enable DMA request when TRIG0 done.
Sourcepub const fn set_trig0_enable(&mut self, val: Trig0Enable)
pub const fn set_trig0_enable(&mut self, val: Trig0Enable)
Enable DMA request when TRIG0 done.
Sourcepub const fn trig1_enable(&self) -> Trig1Enable
pub const fn trig1_enable(&self) -> Trig1Enable
Enable DMA request when TRIG1 done.
Sourcepub const fn set_trig1_enable(&mut self, val: Trig1Enable)
pub const fn set_trig1_enable(&mut self, val: Trig1Enable)
Enable DMA request when TRIG1 done.
Sourcepub const fn trig2_enable(&self) -> Trig2Enable
pub const fn trig2_enable(&self) -> Trig2Enable
Enable DMA request when TRIG2 done.
Sourcepub const fn set_trig2_enable(&mut self, val: Trig2Enable)
pub const fn set_trig2_enable(&mut self, val: Trig2Enable)
Enable DMA request when TRIG2 done.
Sourcepub const fn trig3_enable(&self) -> Trig3Enable
pub const fn trig3_enable(&self) -> Trig3Enable
Enable DMA request when TRIG3 done.
Sourcepub const fn set_trig3_enable(&mut self, val: Trig3Enable)
pub const fn set_trig3_enable(&mut self, val: Trig3Enable)
Enable DMA request when TRIG3 done.
Sourcepub const fn trig4_enable(&self) -> Trig4Enable
pub const fn trig4_enable(&self) -> Trig4Enable
Enable DMA request when TRIG4 done.
Sourcepub const fn set_trig4_enable(&mut self, val: Trig4Enable)
pub const fn set_trig4_enable(&mut self, val: Trig4Enable)
Enable DMA request when TRIG4 done.
Sourcepub const fn trig5_enable(&self) -> Trig5Enable
pub const fn trig5_enable(&self) -> Trig5Enable
Enable DMA request when TRIG5 done.
Sourcepub const fn set_trig5_enable(&mut self, val: Trig5Enable)
pub const fn set_trig5_enable(&mut self, val: Trig5Enable)
Enable DMA request when TRIG5 done.
Sourcepub const fn trig6_enable(&self) -> Trig6Enable
pub const fn trig6_enable(&self) -> Trig6Enable
Enable DMA request when TRIG6 done.
Sourcepub const fn set_trig6_enable(&mut self, val: Trig6Enable)
pub const fn set_trig6_enable(&mut self, val: Trig6Enable)
Enable DMA request when TRIG6 done.
Sourcepub const fn trig7_enable(&self) -> Trig7Enable
pub const fn trig7_enable(&self) -> Trig7Enable
Enable DMA request when TRIG7 done.
Sourcepub const fn set_trig7_enable(&mut self, val: Trig7Enable)
pub const fn set_trig7_enable(&mut self, val: Trig7Enable)
Enable DMA request when TRIG7 done.
Sourcepub const fn set_trig0_req(&mut self, val: Trig0Req)
pub const fn set_trig0_req(&mut self, val: Trig0Req)
Flag bit for DMA request
Sourcepub const fn set_trig1_req(&mut self, val: Trig1Req)
pub const fn set_trig1_req(&mut self, val: Trig1Req)
Flag bit for DMA request
Sourcepub const fn set_trig2_req(&mut self, val: Trig2Req)
pub const fn set_trig2_req(&mut self, val: Trig2Req)
Flag bit for DMA request
Sourcepub const fn set_trig3_req(&mut self, val: Trig3Req)
pub const fn set_trig3_req(&mut self, val: Trig3Req)
Flag bit for DMA request
Sourcepub const fn set_trig4_req(&mut self, val: Trig4Req)
pub const fn set_trig4_req(&mut self, val: Trig4Req)
Flag bit for DMA request
Sourcepub const fn set_trig5_req(&mut self, val: Trig5Req)
pub const fn set_trig5_req(&mut self, val: Trig5Req)
Flag bit for DMA request
Sourcepub const fn set_trig6_req(&mut self, val: Trig6Req)
pub const fn set_trig6_req(&mut self, val: Trig6Req)
Flag bit for DMA request
Sourcepub const fn set_trig7_req(&mut self, val: Trig7Req)
pub const fn set_trig7_req(&mut self, val: Trig7Req)
Flag bit for DMA request