rp2040_pac::io_bank0::intr

Type Alias 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