#[repr(C)]pub struct RegisterBlock {Show 19 fields
pub CR1: RWRegister<u32>,
pub CR2: RWRegister<u32>,
pub SMCR: RWRegister<u32>,
pub DIER: RWRegister<u32>,
pub SR: RWRegister<u32>,
pub EGR: WORegister<u32>,
pub CCMR1: RWRegister<u32>,
pub CCER: RWRegister<u32>,
pub CNT: RWRegister<u32>,
pub PSC: RWRegister<u32>,
pub ARR: RWRegister<u32>,
pub RCR: RWRegister<u32>,
pub CCR1: RWRegister<u32>,
pub CCR2: RWRegister<u32>,
pub BDTR: RWRegister<u32>,
pub DCR: RWRegister<u32>,
pub DMAR: RWRegister<u32>,
pub AF1: RWRegister<u32>,
pub TISEL: RWRegister<u32>,
/* private fields */
}Fields§
§CR1: RWRegister<u32>control register 1
CR2: RWRegister<u32>control register 2
SMCR: RWRegister<u32>slave mode control register
DIER: RWRegister<u32>DMA/Interrupt enable register
SR: RWRegister<u32>status register
EGR: WORegister<u32>event generation register
CCMR1: RWRegister<u32>CCMR1_Output and CCMR1_Input CCMR1_Output: capture/compare mode register (output mode) CCMR1_Input: capture/compare mode register 1 (input mode)
CCER: RWRegister<u32>capture/compare enable register
CNT: RWRegister<u32>counter
PSC: RWRegister<u32>prescaler
ARR: RWRegister<u32>auto-reload register
RCR: RWRegister<u32>repetition counter register
CCR1: RWRegister<u32>capture/compare register
CCR2: RWRegister<u32>capture/compare register
BDTR: RWRegister<u32>break and dead-time register
DCR: RWRegister<u32>DMA control register
DMAR: RWRegister<u32>DMA address for full transfer
AF1: RWRegister<u32>TIM15 alternate fdfsdm1_breakon register 1
TISEL: RWRegister<u32>TIM15 input selection register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more