mpfs_pac/
encoding.rs

1use super::bindings;
2
3pub const MIP_SSIP: usize = 1 << bindings::IRQ_S_SOFT;
4pub const MIP_HSIP: usize = 1 << bindings::IRQ_H_SOFT;
5pub const MIP_MSIP: usize = 1 << bindings::IRQ_M_SOFT;
6pub const MIP_STIP: usize = 1 << bindings::IRQ_S_TIMER;
7pub const MIP_HTIP: usize = 1 << bindings::IRQ_H_TIMER;
8pub const MIP_MTIP: usize = 1 << bindings::IRQ_M_TIMER;
9pub const MIP_SEIP: usize = 1 << bindings::IRQ_S_EXT;
10pub const MIP_HEIP: usize = 1 << bindings::IRQ_H_EXT;
11pub const MIP_MEIP: usize = 1 << bindings::IRQ_M_EXT;