pub struct RegisterBlock {
pub cr1: CR1,
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
dier: DIER0x0c - DMA/Interrupt Enable Register
sr: SR0x10 - status register
egr: EGR0x14 - event generation register
cnt: CNT0x24 - counter
psc: PSC0x28 - Prescaler
arr: ARR0x2c - autoload 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