Struct alt_stm32f30x_hal::device::dma1::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub isr: Reg<ISR_SPEC>,
pub ifcr: Reg<IFCR_SPEC>,
pub ch1: CH,
pub ch2: CH,
pub ch3: CH,
pub ch4: CH,
pub ch5: CH,
pub ch6: CH,
pub ch7: CH,
/* private fields */
}
Expand description
Register block
Fields
isr: Reg<ISR_SPEC>
0x00 - DMA interrupt status register (DMA_ISR)
ifcr: Reg<IFCR_SPEC>
0x04 - DMA interrupt flag clear register (DMA_IFCR)
ch1: CH
0x08..0x18 - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
ch2: CH
0x1c..0x2c - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
ch3: CH
0x30..0x40 - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
ch4: CH
0x44..0x54 - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
ch5: CH
0x58..0x68 - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
ch6: CH
0x6c..0x7c - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
ch7: CH
0x80..0x90 - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more