Type Alias rp2040_pac::resets::reset::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