Struct stm32ral::stm32mp::peripherals::tim14::RegisterBlock [−][src]
#[repr(C)]pub struct RegisterBlock {
pub TIM14_CR1: RWRegister<u16>,
pub TIM14_DIER: RWRegister<u16>,
pub TIM14_SR: RWRegister<u16>,
pub TIM14_EGR: WORegister<u16>,
pub TIM14_CCMR1: RWRegister<u32>,
pub TIM14_CCER: RWRegister<u16>,
pub TIM14_CNT: RWRegister<u32>,
pub TIM14_PSC: RWRegister<u16>,
pub TIM14_ARR: RWRegister<u16>,
pub TIM14_CCR1: RWRegister<u16>,
pub TIM14_TISEL: RWRegister<u16>,
// some fields omitted
}
Fields
TIM14_CR1: RWRegister<u16>
TIM14 control register 1
TIM14_DIER: RWRegister<u16>
TIM14 Interrupt enable register
TIM14_SR: RWRegister<u16>
TIM14 status register
TIM14_EGR: WORegister<u16>
TIM14 event generation register
TIM14_CCMR1: RWRegister<u32>
The channels can be used in input (capture mode) or in output (compare mode). The direction of a channel is defined by configuring the corresponding CCxS bits. All the other bits of this register have a different function in input and in output mode. For a given bit, OCxx describes its function when the channel is configured in output, ICxx describes its function when the channel is configured in input. So one must take care that the same bit can have a different meaning for the input stage and for the output stage. Output compare mode
TIM14_CCER: RWRegister<u16>
TIM14 capture/compare enable register
TIM14_CNT: RWRegister<u32>
TIM14 counter
TIM14_PSC: RWRegister<u16>
TIM14 prescaler
TIM14_ARR: RWRegister<u16>
TIM14 auto-reload register
TIM14_CCR1: RWRegister<u16>
TIM14 capture/compare register 1
TIM14_TISEL: RWRegister<u16>
TIM14 timer input selection register