How to Use SAMA5D2 IRQs Under Linux®
The Arm® processor includes only two types of externally triggered interrupts: FIQs and IRQs. In SAMA5D2, FIQs and IRQs are exported to the external pins, and IRQs are shared internally by all peripherals.
Since IRQs from the Arm processor are also shared by the SAMA5D2 PIO controller, every GPIO can be used as an external interrupt in SAMA5D2. In this type of application, the GPIO can be configured so as to be monitored when it is subject to an input change. The IRQ interrupt is then asserted by the PIO controller.
The GPIO chip model has been introduced into the kernel, so GPIO-based IRQs can be requested and handled in user space. See Application for the application source codes. The demo shows another way to request and handle IRQs than the standard kernel API request_irq().
SAMA5D2 、 SAMA5D2 Series 、 SAMA5D27 SOM1 、 ATSAMA5D27-SOM1-EK1 |
|
|
|
|
|
Application note & Design Guide |
|
|
|
Please see the document for details |
|
|
|
|
|
|
|
English Chinese Chinese and English Japanese |
|
12/2019 |
|
Rev. A |
|
AN3352,DS00003352A |
|
788 KB |
- +1 Like
- Add to Favorites
Recommend
All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.