R

Struct R 

Source
pub struct R(/* private fields */);
Expand description

Register PRESETCTRL0 reader

Implementations§

Source§

impl R

Source

pub fn flash_rst_n(&self) -> FLASH_RST_N_R

Bit 4 - flash controller reset control

Source

pub fn i2c0_rst_n(&self) -> I2C0_RST_N_R

Bit 5 - I2C0 reset control

Source

pub fn gpio0_rst_n(&self) -> GPIO0_RST_N_R

Bit 6 - GPIO0 reset control

Source

pub fn swm_rst_n(&self) -> SWM_RST_N_R

Bit 7 - SWM reset control

Source

pub fn sct_rst_n(&self) -> SCT_RST_N_R

Bit 8 - SCT reset control

Source

pub fn wkt_rst_n(&self) -> WKT_RST_N_R

Bit 9 - Self-wake-up timer (WKT) reset control

Source

pub fn mrt_rst_n(&self) -> MRT_RST_N_R

Bit 10 - Multi-rate timer (MRT) reset control

Source

pub fn spi0_rst_n(&self) -> SPI0_RST_N_R

Bit 11 - SPI0 reset control

Source

pub fn spi1_rst_n(&self) -> SPI1_RST_N_R

Bit 12 - SPI1 reset control

Source

pub fn crc_rst_n(&self) -> CRC_RST_N_R

Bit 13 - CRC engine reset control

Source

pub fn uart0_rst_n(&self) -> UART0_RST_N_R

Bit 14 - UART0 reset control

Source

pub fn uart1_rst_n(&self) -> UART1_RST_N_R

Bit 15 - UART1 reset control

Source

pub fn uart2_rst_n(&self) -> UART2_RST_N_R

Bit 16 - UART2 reset control

Source

pub fn iocon_rst_n(&self) -> IOCON_RST_N_R

Bit 18 - IOCON reset control

Source

pub fn acmp_rst_n(&self) -> ACMP_RST_N_R

Bit 19 - Analog comparator reset control

Source

pub fn gpio1_rst_n(&self) -> GPIO1_RST_N_R

Bit 20 - GPIO1 reset control

Source

pub fn i2c1_rst_n(&self) -> I2C1_RST_N_R

Bit 21 - I2C1 reset control

Source

pub fn i2c2_rst_n(&self) -> I2C2_RST_N_R

Bit 22 - I2C2 reset control

Source

pub fn i2c3_rst_n(&self) -> I2C3_RST_N_R

Bit 23 - I2C3 reset control

Source

pub fn adc_rst_n(&self) -> ADC_RST_N_R

Bit 24 - ADC reset control

Source

pub fn ctimer_rst_n(&self) -> CTIMER_RST_N_R

Bit 25 - CTIMER reset control

Source

pub fn dac0_rst_n(&self) -> DAC0_RST_N_R

Bit 27 - DAC0 reset control

Source

pub fn gpioint_rst_n(&self) -> GPIOINT_RST_N_R

Bit 28 - GPIOINT reset control

Source

pub fn dma_rst_n(&self) -> DMA_RST_N_R

Bit 29 - DMA reset control

Source

pub fn uart3_rst_n(&self) -> UART3_RST_N_R

Bit 30 - UART3 reset control

Source

pub fn uart4_rst_n(&self) -> UART4_RST_N_R

Bit 31 - UART4 reset control

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

Source

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

Reads raw bits from register.

Trait Implementations§

Source§

impl Deref for R

Source§

type Target = R<PRESETCTRL0_SPEC>

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl From<R<PRESETCTRL0_SPEC>> for R

Source§

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

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for R

§

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 T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.