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

C/C++ • Re: What are the Linux interrupt numbers for peripherals?

$
0
0
Ok thanks, finally do you know if the PWM module can be configured to act as one shot?
ive not delt with the RP1 PWM yet

but i have gotten the RP1 PIO to work, and PIO could do a one-shot pwm output
PIO isn't documented I guess, unfortunately.

One alternative is to trigger it and set a timer to disable it, assuming your off phase is long enough the timer should catch it before it goes on again.

In my case I have constant rate GPIO interrupts coming in at a faster rate then the PWM so I could use those.

Statistics: Posted by Arkas — Thu Apr 04, 2024 3:23 pm



Viewing all articles
Browse latest Browse all 4829

Trending Articles