Struct rp_pac::sio::regs::DoorbellOutClr
source · #[repr(transparent)]pub struct DoorbellOutClr(pub u32);
Expand description
Clear doorbells which have been posted to the opposite core. This register is intended for debugging and initialisation purposes. Writing 1 to a bit in DOORBELL_OUT_CLR clears the corresponding bit in DOORBELL_IN on the opposite core. Clearing all bits will cause that core’s doorbell interrupt to deassert. Since the usual order of events is for software to send events using DOORBELL_OUT_SET, and acknowledge incoming events by writing to DOORBELL_IN_CLR, this register should be used with caution to avoid race conditions. Reading returns the status of the doorbells currently asserted on the other core, i.e. is equivalent to that core reading its own DOORBELL_IN status.
Tuple Fields§
§0: u32
Implementations§
source§impl DoorbellOutClr
impl DoorbellOutClr
pub const fn doorbell_out_clr(&self) -> u8
pub fn set_doorbell_out_clr(&mut self, val: u8)
Trait Implementations§
source§impl Clone for DoorbellOutClr
impl Clone for DoorbellOutClr
source§fn clone(&self) -> DoorbellOutClr
fn clone(&self) -> DoorbellOutClr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for DoorbellOutClr
impl Default for DoorbellOutClr
source§fn default() -> DoorbellOutClr
fn default() -> DoorbellOutClr
Returns the “default value” for a type. Read more
source§impl PartialEq for DoorbellOutClr
impl PartialEq for DoorbellOutClr
impl Copy for DoorbellOutClr
impl Eq for DoorbellOutClr
impl StructuralPartialEq for DoorbellOutClr
Auto Trait Implementations§
impl Freeze for DoorbellOutClr
impl RefUnwindSafe for DoorbellOutClr
impl Send for DoorbellOutClr
impl Sync for DoorbellOutClr
impl Unpin for DoorbellOutClr
impl UnwindSafe for DoorbellOutClr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)