#[repr(C)]pub struct BTim {
pub cr1: Cr1,
pub cr2: Cr2,
pub dier: Dier,
pub sr: Sr,
pub egr: Egr,
pub cnt: Cnt,
pub psc: Psc,
pub arr: Arr,
/* private fields */
}
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
cnt: Cnt
0x24 - counter
psc: Psc
0x28 - prescaler
arr: Arr
0x2c - auto-reload register
Auto Trait Implementations§
impl !Freeze for BTim
impl !RefUnwindSafe for BTim
impl Send for BTim
impl Sync for BTim
impl Unpin for BTim
impl UnwindSafe for BTim
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