W

Struct W 

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

Register PRESETCTRL2 writer

Implementations§

Source§

impl W

Source

pub fn dma1_rst(&mut self) -> DMA1_RST_W<'_>

Bit 1 - DMA1 reset control.

Source

pub fn comp_rst(&mut self) -> COMP_RST_W<'_>

Bit 2 - Comparator reset control.

Source

pub fn sdio_rst(&mut self) -> SDIO_RST_W<'_>

Bit 3 - SDIO reset control.

Source

pub fn usb1_host_rst(&mut self) -> USB1_HOST_RST_W<'_>

Bit 4 - USB1 Host reset control.

Source

pub fn usb1_dev_rst(&mut self) -> USB1_DEV_RST_W<'_>

Bit 5 - USB1 dev reset control.

Source

pub fn usb1_ram_rst(&mut self) -> USB1_RAM_RST_W<'_>

Bit 6 - USB1 RAM reset control.

Source

pub fn usb1_phy_rst(&mut self) -> USB1_PHY_RST_W<'_>

Bit 7 - USB1 PHY reset control.

Source

pub fn freqme_rst(&mut self) -> FREQME_RST_W<'_>

Bit 8 - Frequency meter reset control.

Source

pub fn rng_rst(&mut self) -> RNG_RST_W<'_>

Bit 13 - RNG reset control.

Source

pub fn sysctl_rst(&mut self) -> SYSCTL_RST_W<'_>

Bit 15 - SYSCTL Block reset.

Source

pub fn usb0_hostm_rst(&mut self) -> USB0_HOSTM_RST_W<'_>

Bit 16 - USB0 Host Master reset control.

Source

pub fn usb0_hosts_rst(&mut self) -> USB0_HOSTS_RST_W<'_>

Bit 17 - USB0 Host Slave reset control.

Source

pub fn hash_aes_rst(&mut self) -> HASH_AES_RST_W<'_>

Bit 18 - HASH_AES reset control.

Source

pub fn pq_rst(&mut self) -> PQ_RST_W<'_>

Bit 19 - Power Quad reset control.

Source

pub fn plulut_rst(&mut self) -> PLULUT_RST_W<'_>

Bit 20 - PLU LUT reset control.

Source

pub fn timer3_rst(&mut self) -> TIMER3_RST_W<'_>

Bit 21 - Timer 3 reset control.

Source

pub fn timer4_rst(&mut self) -> TIMER4_RST_W<'_>

Bit 22 - Timer 4 reset control.

Source

pub fn puf_rst(&mut self) -> PUF_RST_W<'_>

Bit 23 - PUF reset control reset control.

Source

pub fn casper_rst(&mut self) -> CASPER_RST_W<'_>

Bit 24 - Casper reset control.

Source

pub fn analog_ctrl_rst(&mut self) -> ANALOG_CTRL_RST_W<'_>

Bit 27 - analog control reset control.

Source

pub fn hs_lspi_rst(&mut self) -> HS_LSPI_RST_W<'_>

Bit 28 - HS LSPI reset control.

Source

pub fn gpio_sec_rst(&mut self) -> GPIO_SEC_RST_W<'_>

Bit 29 - GPIO secure reset control.

Source

pub fn gpio_sec_int_rst(&mut self) -> GPIO_SEC_INT_RST_W<'_>

Bit 30 - GPIO secure int reset control.

Source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Methods from Deref<Target = W<PRESETCTRL2_SPEC>>§

Source

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self

Writes raw bits to the register.

Trait Implementations§

Source§

impl Deref for W

Source§

type Target = W<PRESETCTRL2_SPEC>

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl DerefMut for W

Source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
Source§

impl From<W<PRESETCTRL2_SPEC>> for W

Source§

fn from(writer: W<PRESETCTRL2_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for W

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

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.