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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//! Module containing types and traits representing [`OwnedInterruptSet`] type
//! states
//!
//! [`OwnedInterruptSet`]: super::OwnedInterruptSet
use Sealed;
// States
/// Dynamic state
///
/// State of interrupts contained in [`OIS`](super::OwnedInterruptSet) is only
/// known in runtime. A set in such a state can contain interrupts in different
/// state (disabled, enabled, etc.)
/// Disabled state
///
/// Interrupts contained in [`OIS`](super::OwnedInterruptSet) are disabled.
/// Enabled on the line 0 state
///
/// Interrupts contained in [`OIS`](super::OwnedInterruptSet) are enabled on the
/// line 0.
/// Enabled on the line 1 state
///
/// Interrupts contained in [`OIS`](super::OwnedInterruptSet) are enabled on the
/// line 1.
// Grouping traits
/// State of interrupts contained in [`OIS`](super::OwnedInterruptSet) is known
/// in compile-time.
/// Interrupts contained in [`OIS`](super::OwnedInterruptSet) is _maybe_
/// enabled.