#[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: Cr10x00 - control register 1
cr2: Cr20x04 - control register 2
dier: Dier0x0c - DMA/Interrupt enable register
sr: Sr0x10 - status register
egr: Egr0x14 - event generation register
cnt: Cnt0x24 - counter
psc: Psc0x28 - prescaler
arr: Arr0x2c - 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