Struct rp2040_pac::pio0::irq::IRQ_SPEC
source · pub struct IRQ_SPEC;
Expand description
State machine IRQ flags register. Write 1 to clear. There are 8 state machine IRQ flags, which can be set, cleared, and waited on by the state machines. There’s no fixed association between flags and state machines – any state machine can use any flag.
Any of the 8 flags can be used for timing synchronisation between state machines, using IRQ and WAIT instructions. The lower four of these flags are also routed out to system-level interrupt requests, alongside FIFO status interrupts – see e.g. IRQ0_INTE.
You can read
this register and get irq::R
. You can reset
, write
, write_with_zero
this register using irq::W
. You can also modify
this register. See API.
Trait Implementations§
source§impl Resettable for IRQ_SPEC
impl Resettable for IRQ_SPEC
reset()
method sets IRQ to value 0
source§const RESET_VALUE: u32 = 0u32
const RESET_VALUE: u32 = 0u32
source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
source§impl Writable for IRQ_SPEC
impl Writable for IRQ_SPEC
write(|w| ..)
method takes irq::W
writer structure
source§const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
1
and are changed if you pass 0
source§const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 255u32
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 255u32
0
and are changed if you pass 1
impl Readable for IRQ_SPEC
read()
method returns irq::R
reader structure