#[repr(C)]pub struct RegisterBlock {
pub timer_cfg: [TIMER_CFG; 4],
pub timer_ctrl: [TIMER_CTRL; 4],
pub timer_val: [TIMER_VAL; 4],
}Expand description
Register block
Fields§
§timer_cfg: [TIMER_CFG; 4]0x00 - Timer Configuration Registers
timer_ctrl: [TIMER_CTRL; 4]0x10 - General-Purpose timer Control / Status Register
timer_val: [TIMER_VAL; 4]0x20 - Timer Current Value 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 UnsafeUnpin 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