rp2040_pac::resets::reset

Type Alias W

Source
pub type W = W<RESET_SPEC>;
Expand description

Register RESET writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn adc(&mut self) -> ADC_W<'_, RESET_SPEC>

Bit 0

Source

pub fn busctrl(&mut self) -> BUSCTRL_W<'_, RESET_SPEC>

Bit 1

Source

pub fn dma(&mut self) -> DMA_W<'_, RESET_SPEC>

Bit 2

Source

pub fn i2c0(&mut self) -> I2C0_W<'_, RESET_SPEC>

Bit 3

Source

pub fn i2c1(&mut self) -> I2C1_W<'_, RESET_SPEC>

Bit 4

Source

pub fn io_bank0(&mut self) -> IO_BANK0_W<'_, RESET_SPEC>

Bit 5

Source

pub fn io_qspi(&mut self) -> IO_QSPI_W<'_, RESET_SPEC>

Bit 6

Source

pub fn jtag(&mut self) -> JTAG_W<'_, RESET_SPEC>

Bit 7

Source

pub fn pads_bank0(&mut self) -> PADS_BANK0_W<'_, RESET_SPEC>

Bit 8

Source

pub fn pads_qspi(&mut self) -> PADS_QSPI_W<'_, RESET_SPEC>

Bit 9

Source

pub fn pio0(&mut self) -> PIO0_W<'_, RESET_SPEC>

Bit 10

Source

pub fn pio1(&mut self) -> PIO1_W<'_, RESET_SPEC>

Bit 11

Source

pub fn pll_sys(&mut self) -> PLL_SYS_W<'_, RESET_SPEC>

Bit 12

Source

pub fn pll_usb(&mut self) -> PLL_USB_W<'_, RESET_SPEC>

Bit 13

Source

pub fn pwm(&mut self) -> PWM_W<'_, RESET_SPEC>

Bit 14

Source

pub fn rtc(&mut self) -> RTC_W<'_, RESET_SPEC>

Bit 15

Source

pub fn spi0(&mut self) -> SPI0_W<'_, RESET_SPEC>

Bit 16

Source

pub fn spi1(&mut self) -> SPI1_W<'_, RESET_SPEC>

Bit 17

Source

pub fn syscfg(&mut self) -> SYSCFG_W<'_, RESET_SPEC>

Bit 18

Source

pub fn sysinfo(&mut self) -> SYSINFO_W<'_, RESET_SPEC>

Bit 19

Source

pub fn tbman(&mut self) -> TBMAN_W<'_, RESET_SPEC>

Bit 20

Source

pub fn timer(&mut self) -> TIMER_W<'_, RESET_SPEC>

Bit 21

Source

pub fn uart0(&mut self) -> UART0_W<'_, RESET_SPEC>

Bit 22

Source

pub fn uart1(&mut self) -> UART1_W<'_, RESET_SPEC>

Bit 23

Source

pub fn usbctrl(&mut self) -> USBCTRL_W<'_, RESET_SPEC>

Bit 24

Source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual