#arm #driver #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

#835 in Embedded development

Download history 105/week @ 2024-10-02 78/week @ 2024-10-09 151/week @ 2024-10-16 29/week @ 2024-10-23 148/week @ 2024-10-30 122/week @ 2024-11-06 19/week @ 2024-11-13 35/week @ 2024-11-20 29/week @ 2024-11-27 39/week @ 2024-12-04 35/week @ 2024-12-11 16/week @ 2024-12-18 30/week @ 2024-12-25 10/week @ 2025-01-01

105 downloads per month
Used in 4 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.3MB
~26K SLoC