Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4485

General • wait 1 irq 0

$
0
0
Hi,
I would like to control the execution of the PIO program from C program so I use

Code:

wait 1 irq 0
as the first instruction of my PIO program. On C side, I can't find a "pio_interrupte_set()" function (only pio_interrupt_clear and pio_interrupt_get). So I use

Code:

pio->irq |= 0x1;
but it doesn't work. How do I set irq 0 so that the "wait" instruction passes?
Thanks

Statistics: Posted by seanchenca — Sun Aug 11, 2024 9:23 am — Replies 1 — Views 22



Viewing all articles
Browse latest Browse all 4485

Trending Articles