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

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

$
0
0
https://github.com/raspberrypi/linux/bl ... si#L52-L67
here is an example of configuring the uart0 and telling linux what addr to find it at, and what irq to use

youll need some device-tree like that for your own driver
then from the linux driver, you can request a reference to the irq and linux will do 90% of the work for you
Thanks, it looks like PWM is in the device tree already, would I need to change anything?

Statistics: Posted by Arkas — Tue Apr 02, 2024 2:03 am



Viewing all articles
Browse latest Browse all 5983

Trending Articles