arty_e21_chip/
interrupts.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Licensed under the Apache License, Version 2.0 or the MIT License.
// SPDX-License-Identifier: Apache-2.0 OR MIT
// Copyright Tock Contributors 2022.

//! Named interrupts for the E21 Arty core.

#![allow(dead_code)]

pub const MTIP: u32 = 7; // Machine Timer

pub const GPIO0: u32 = 18;
pub const GPIO1: u32 = 19;
pub const GPIO2: u32 = 20;
pub const GPIO3: u32 = 21;
pub const GPIO4: u32 = 22;
pub const GPIO5: u32 = 23;
pub const GPIO6: u32 = 24;
pub const GPIO7: u32 = 25;
pub const GPIO8: u32 = 26;
pub const GPIO9: u32 = 27;
pub const GPIO10: u32 = 28;
pub const GPIO11: u32 = 29;
pub const GPIO12: u32 = 30;
pub const GPIO13: u32 = 31;
pub const GPIO14: u32 = 32;
pub const GPIO15: u32 = 33;
pub const UART0: u32 = 16;