Struct esp32s2::system::perip_rst_en0::R

source ·
pub struct R(_);
Expand description

Register PERIP_RST_EN0 reader

Implementations§

source§

impl R

source

pub fn timers_rst(&self) -> TIMERS_RST_R

Bit 0 - Set this bit to reset timers.

source

pub fn spi01_rst(&self) -> SPI01_RST_R

Bit 1 - Set this bit to reset SPI0 and SPI1.

source

pub fn uart_rst(&self) -> UART_RST_R

Bit 2 - Set this bit to reset UART0.

source

pub fn wdg_rst(&self) -> WDG_RST_R

Bit 3 - Set this bit to reset WDG.

source

pub fn i2s0_rst(&self) -> I2S0_RST_R

Bit 4 - Set this bit to reset I2S0.

source

pub fn uart1_rst(&self) -> UART1_RST_R

Bit 5 - Set this bit to reset UART1.

source

pub fn spi2_rst(&self) -> SPI2_RST_R

Bit 6 - Set this bit to reset SPI2.

source

pub fn i2c_ext0_rst(&self) -> I2C_EXT0_RST_R

Bit 7 - Set this bit to reset I2C EXT0.

source

pub fn uhci0_rst(&self) -> UHCI0_RST_R

Bit 8 - Set this bit to reset UHCI0.

source

pub fn rmt_rst(&self) -> RMT_RST_R

Bit 9 - Set this bit to reset remote controller.

source

pub fn pcnt_rst(&self) -> PCNT_RST_R

Bit 10 - Set this bit to reset pulse count.

source

pub fn ledc_rst(&self) -> LEDC_RST_R

Bit 11 - Set this bit to reset LED PWM.

source

pub fn uhci1_rst(&self) -> UHCI1_RST_R

Bit 12 - Set this bit to reset UHCI1.

source

pub fn timergroup_rst(&self) -> TIMERGROUP_RST_R

Bit 13 - Set this bit to reset timer group0.

source

pub fn efuse_rst(&self) -> EFUSE_RST_R

Bit 14 - Set this bit to reset eFuse.

source

pub fn timergroup1_rst(&self) -> TIMERGROUP1_RST_R

Bit 15 - Set this bit to reset timer group1.

source

pub fn spi3_rst(&self) -> SPI3_RST_R

Bit 16 - Set this bit to reset SPI3.

source

pub fn pwm0_rst(&self) -> PWM0_RST_R

Bit 17 - Set this bit to reset PWM0.

source

pub fn i2c_ext1_rst(&self) -> I2C_EXT1_RST_R

Bit 18 - Set this bit to reset I2C EXT1.

source

pub fn twai_rst(&self) -> TWAI_RST_R

Bit 19 - Set this bit to reset CAN.

source

pub fn pwm1_rst(&self) -> PWM1_RST_R

Bit 20 - Set this bit to reset PWM1.

source

pub fn i2s1_rst(&self) -> I2S1_RST_R

Bit 21 - Set this bit to reset I2S1.

source

pub fn spi2_dma_rst(&self) -> SPI2_DMA_RST_R

Bit 22 - Set this bit to reset SPI2 DMA.

source

pub fn usb_rst(&self) -> USB_RST_R

Bit 23 - Set this bit to reset USB.

source

pub fn uart_mem_rst(&self) -> UART_MEM_RST_R

Bit 24 - Set this bit to reset UART memory.

source

pub fn pwm2_rst(&self) -> PWM2_RST_R

Bit 25 - Set this bit to reset PWM2.

source

pub fn pwm3_rst(&self) -> PWM3_RST_R

Bit 26 - Set this bit to reset PWM3.

source

pub fn spi3_dma_rst(&self) -> SPI3_DMA_RST_R

Bit 27 - Set this bit to reset SPI3 DMA.

source

pub fn apb_saradc_rst(&self) -> APB_SARADC_RST_R

Bit 28 - Set this bit to reset SAR ADC.

source

pub fn systimer_rst(&self) -> SYSTIMER_RST_R

Bit 29 - Set this bit to reset system timer.

source

pub fn adc2_arb_rst(&self) -> ADC2_ARB_RST_R

Bit 30 - Set this bit to reset aribiter of ADC2.

source

pub fn spi4_rst(&self) -> SPI4_RST_R

Bit 31 - Set this bit to reset SPI4.

Methods from Deref<Target = R<PERIP_RST_EN0_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<PERIP_RST_EN0_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<PERIP_RST_EN0_SPEC>> for R

source§

fn from(reader: R<PERIP_RST_EN0_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.