#driver #arm #aarch64 #gic #interrupt-controller

no-std arm-gic-driver

A driver for the Arm Generic Interrupt Controller version 1-4

4 releases

0.3.1 Nov 8, 2024
0.3.0 Oct 30, 2024
0.2.1 Oct 21, 2024
0.2.0 Oct 8, 2024

#308 in Embedded development

Download history 174/week @ 2024-10-07 22/week @ 2024-10-14 167/week @ 2024-10-21 139/week @ 2024-10-28 121/week @ 2024-11-04 24/week @ 2024-11-11

453 downloads per month
Used in 2 crates (via sparreal-rt)

MIT license

31KB
835 lines

arm-gic-driver

介绍

arm gic 通用驱动,支持 v1-4

使用说明

let mut v2 = GicV2::new(gicd, gicc).unwrap();
v2.enable_irq(irq_num);
let mut v3 = GicV3::new(gicd, gicr).unwrap();
v3.enable_irq(irq_num);

Dependencies

~0.8–1.4MB
~26K SLoC