#[repr(transparent)]pub struct CaptureH(pub u32);Expand description
Local Capture High Register
Tuple Fields§
§0: u32Implementations§
Source§impl CaptureH
impl CaptureH
Sourcepub const fn capture_value(&self) -> u32
pub const fn capture_value(&self) -> u32
A read reflects the value of the upper 32 bits of the central EVTIMER at the time the last capture signal was generated by the CPU. A separate pair of CAPTURE registers are implemented for each CPU. Each CPU reads its own capture value at the same pair of addresses.
Sourcepub const fn set_capture_value(&mut self, val: u32)
pub const fn set_capture_value(&mut self, val: u32)
A read reflects the value of the upper 32 bits of the central EVTIMER at the time the last capture signal was generated by the CPU. A separate pair of CAPTURE registers are implemented for each CPU. Each CPU reads its own capture value at the same pair of addresses.
Trait Implementations§
impl Copy for CaptureH
impl Eq for CaptureH
impl StructuralPartialEq for CaptureH
Auto Trait Implementations§
impl Freeze for CaptureH
impl RefUnwindSafe for CaptureH
impl Send for CaptureH
impl Sync for CaptureH
impl Unpin for CaptureH
impl UnwindSafe for CaptureH
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