Type Alias rp2040_pac::io_bank0::intr::W

source ·
pub type W = W<INTR_SPEC>;
Expand description

Register INTR%s writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn gpio0_edge_low(&mut self) -> GPIO0_EDGE_LOW_W<'_, INTR_SPEC>

Bit 2

source

pub fn gpio0_edge_high(&mut self) -> GPIO0_EDGE_HIGH_W<'_, INTR_SPEC>

Bit 3

source

pub fn gpio1_edge_low(&mut self) -> GPIO1_EDGE_LOW_W<'_, INTR_SPEC>

Bit 6

source

pub fn gpio1_edge_high(&mut self) -> GPIO1_EDGE_HIGH_W<'_, INTR_SPEC>

Bit 7

source

pub fn gpio2_edge_low(&mut self) -> GPIO2_EDGE_LOW_W<'_, INTR_SPEC>

Bit 10

source

pub fn gpio2_edge_high(&mut self) -> GPIO2_EDGE_HIGH_W<'_, INTR_SPEC>

Bit 11

source

pub fn gpio3_edge_low(&mut self) -> GPIO3_EDGE_LOW_W<'_, INTR_SPEC>

Bit 14

source

pub fn gpio3_edge_high(&mut self) -> GPIO3_EDGE_HIGH_W<'_, INTR_SPEC>

Bit 15

source

pub fn gpio4_edge_low(&mut self) -> GPIO4_EDGE_LOW_W<'_, INTR_SPEC>

Bit 18

source

pub fn gpio4_edge_high(&mut self) -> GPIO4_EDGE_HIGH_W<'_, INTR_SPEC>

Bit 19

source

pub fn gpio5_edge_low(&mut self) -> GPIO5_EDGE_LOW_W<'_, INTR_SPEC>

Bit 22

source

pub fn gpio5_edge_high(&mut self) -> GPIO5_EDGE_HIGH_W<'_, INTR_SPEC>

Bit 23

source

pub fn gpio6_edge_low(&mut self) -> GPIO6_EDGE_LOW_W<'_, INTR_SPEC>

Bit 26

source

pub fn gpio6_edge_high(&mut self) -> GPIO6_EDGE_HIGH_W<'_, INTR_SPEC>

Bit 27

source

pub fn gpio7_edge_low(&mut self) -> GPIO7_EDGE_LOW_W<'_, INTR_SPEC>

Bit 30

source

pub fn gpio7_edge_high(&mut self) -> GPIO7_EDGE_HIGH_W<'_, INTR_SPEC>

Bit 31

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