Struct esp32s3_hal::peripherals::PERI_BACKUP
source · pub struct PERI_BACKUP { /* private fields */ }
Implementations§
source§impl PERI_BACKUP
impl PERI_BACKUP
sourcepub unsafe fn steal() -> PERI_BACKUP
pub unsafe fn steal() -> PERI_BACKUP
Unsafely create an instance of this peripheral out of thin air.
Safety
You must ensure that you’re only using one instance of this type at a time.
Methods from Deref<Target = RegisterBlock>§
pub fn config(&self) -> &Reg<CONFIG_SPEC>
pub fn config(&self) -> &Reg<CONFIG_SPEC>
0x00 - x
pub fn apb_addr(&self) -> &Reg<APB_ADDR_SPEC>
pub fn apb_addr(&self) -> &Reg<APB_ADDR_SPEC>
0x04 - x
pub fn mem_addr(&self) -> &Reg<MEM_ADDR_SPEC>
pub fn mem_addr(&self) -> &Reg<MEM_ADDR_SPEC>
0x08 - x
pub fn reg_map0(&self) -> &Reg<REG_MAP0_SPEC>
pub fn reg_map0(&self) -> &Reg<REG_MAP0_SPEC>
0x0c - x
pub fn reg_map1(&self) -> &Reg<REG_MAP1_SPEC>
pub fn reg_map1(&self) -> &Reg<REG_MAP1_SPEC>
0x10 - x
pub fn reg_map2(&self) -> &Reg<REG_MAP2_SPEC>
pub fn reg_map2(&self) -> &Reg<REG_MAP2_SPEC>
0x14 - x
pub fn reg_map3(&self) -> &Reg<REG_MAP3_SPEC>
pub fn reg_map3(&self) -> &Reg<REG_MAP3_SPEC>
0x18 - x
pub fn int_raw(&self) -> &Reg<INT_RAW_SPEC>
pub fn int_raw(&self) -> &Reg<INT_RAW_SPEC>
0x1c - x
pub fn int_st(&self) -> &Reg<INT_ST_SPEC>
pub fn int_st(&self) -> &Reg<INT_ST_SPEC>
0x20 - x
pub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>
pub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>
0x24 - x
pub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>
pub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>
0x28 - x
pub fn date(&self) -> &Reg<DATE_SPEC>
pub fn date(&self) -> &Reg<DATE_SPEC>
0xfc - x
Trait Implementations§
source§impl Debug for PERI_BACKUP
impl Debug for PERI_BACKUP
source§impl Deref for PERI_BACKUP
impl Deref for PERI_BACKUP
source§impl DerefMut for PERI_BACKUP
impl DerefMut for PERI_BACKUP
source§impl Peripheral for PERI_BACKUP
impl Peripheral for PERI_BACKUP
§type P = PERI_BACKUP
type P = PERI_BACKUP
Peripheral singleton type
source§unsafe fn clone_unchecked(&mut self) -> <PERI_BACKUP as Peripheral>::P
unsafe fn clone_unchecked(&mut self) -> <PERI_BACKUP as Peripheral>::P
Unsafely clone (duplicate) a peripheral singleton. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PERI_BACKUP
impl Send for PERI_BACKUP
impl Sync for PERI_BACKUP
impl Unpin for PERI_BACKUP
impl UnwindSafe for PERI_BACKUP
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