Struct stm32f469xx::tim9::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub cr1: CR1,
pub smcr: SMCR,
pub dier: DIER,
pub sr: SR,
pub egr: EGR,
pub ccmr1_output: CCMR1_OUTPUT,
pub ccer: CCER,
pub cnt: CNT,
pub psc: PSC,
pub arr: ARR,
pub ccr1: CCR1,
pub ccr2: CCR2,
/* private fields */
}
Expand description
Register block
Fields§
§cr1: CR1
0x00 - control register 1
smcr: SMCR
0x08 - slave mode control register
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 1 (output mode)
ccer: CCER
0x20 - capture/compare enable register
cnt: CNT
0x24 - counter
psc: PSC
0x28 - prescaler
arr: ARR
0x2c - auto-reload register
ccr1: CCR1
0x34 - capture/compare register 1
ccr2: CCR2
0x38 - capture/compare register 2