Struct stm32f042_hal::stm32::tim16::RegisterBlock
source · pub struct RegisterBlock {}
Expand description
Register block
Fields
cr1: CR1
0x00 - control register 1
cr2: CR2
0x04 - control register 2
dier: DIER
0x0c - DMA/Interrupt enable register
sr: SR
0x10 - status register
egr: EGR
0x14 - event generation register
ccmr1_output: CCMR1_OUTPUT
0x18 - capture/compare mode register (output mode)
ccer: CCER
0x20 - capture/compare enable register
cnt: CNT
0x24 - counter
psc: PSC
0x28 - prescaler
arr: ARR
0x2c - auto-reload register
rcr: RCR
0x30 - repetition counter register
ccr1: CCR1
0x34 - capture/compare register 1
bdtr: BDTR
0x44 - break and dead-time register
dcr: DCR
0x48 - DMA control register
dmar: DMAR
0x4c - DMA address for full transfer
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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