Struct esp32c2_hal::peripherals::APB_SARADC
source · pub struct APB_SARADC { /* private fields */ }
Implementations§
source§impl APB_SARADC
impl APB_SARADC
sourcepub unsafe fn steal() -> APB_SARADC
pub unsafe fn steal() -> APB_SARADC
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.
Trait Implementations§
source§impl Debug for APB_SARADC
impl Debug for APB_SARADC
source§impl Deref for APB_SARADC
impl Deref for APB_SARADC
source§impl DerefMut for APB_SARADC
impl DerefMut for APB_SARADC
source§impl Peripheral for &mut APB_SARADC
impl Peripheral for &mut APB_SARADC
§type P = APB_SARADC
type P = APB_SARADC
Peripheral singleton type
source§unsafe fn clone_unchecked(&mut self) -> <&mut APB_SARADC as Peripheral>::P
unsafe fn clone_unchecked(&mut self) -> <&mut APB_SARADC as Peripheral>::P
Unsafely clone (duplicate) a peripheral singleton. Read more
source§impl Peripheral for APB_SARADC
impl Peripheral for APB_SARADC
§type P = APB_SARADC
type P = APB_SARADC
Peripheral singleton type
source§unsafe fn clone_unchecked(&mut self) -> <APB_SARADC as Peripheral>::P
unsafe fn clone_unchecked(&mut self) -> <APB_SARADC as Peripheral>::P
Unsafely clone (duplicate) a peripheral singleton. Read more