Struct stm32ral::stm32mp::peripherals::tim13::RegisterBlock [−][src]
#[repr(C)]pub struct RegisterBlock {
pub TIM13_CR1: RWRegister<u16>,
pub TIM13_DIER: RWRegister<u16>,
pub TIM13_SR: RWRegister<u16>,
pub TIM13_EGR: WORegister<u16>,
pub TIM13_CCMR1: RWRegister<u32>,
pub TIM13_CCER: RWRegister<u16>,
pub TIM13_CNT: RWRegister<u32>,
pub TIM13_PSC: RWRegister<u16>,
pub TIM13_ARR: RWRegister<u16>,
pub TIM13_CCR1: RWRegister<u16>,
pub TIM13_TISEL: RWRegister<u16>,
// some fields omitted
}
Fields
TIM13_CR1: RWRegister<u16>
TIM13 control register 1
TIM13_DIER: RWRegister<u16>
TIM13 Interrupt enable register
TIM13_SR: RWRegister<u16>
TIM13 status register
TIM13_EGR: WORegister<u16>
TIM13 event generation register
TIM13_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
TIM13_CCER: RWRegister<u16>
TIM13 capture/compare enable register
TIM13_CNT: RWRegister<u32>
TIM13 counter
TIM13_PSC: RWRegister<u16>
TIM13 prescaler
TIM13_ARR: RWRegister<u16>
TIM13 auto-reload register
TIM13_CCR1: RWRegister<u16>
TIM13 capture/compare register 1
TIM13_TISEL: RWRegister<u16>
TIM13 timer input selection register