summaryrefslogtreecommitdiffstats
path: root/spec/rtems/mode/if/interrupt-level.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/mode/if/interrupt-level.yml')
-rw-r--r--spec/rtems/mode/if/interrupt-level.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/spec/rtems/mode/if/interrupt-level.yml b/spec/rtems/mode/if/interrupt-level.yml
new file mode 100644
index 00000000..b4eb17e5
--- /dev/null
+++ b/spec/rtems/mode/if/interrupt-level.yml
@@ -0,0 +1,30 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+brief: |
+ Returns the processor dependent interrupt level which corresponds to the
+ requested interrupt level.
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+- Copyright (C) 2008 On-Line Applications Research Corporation (OAR)
+definition:
+ default: ( ( ${.:/params[0]/name} ) & ${interrupt-mask:/name} )
+ variants: []
+description: null
+enabled-by: true
+interface-type: macro
+links:
+- role: interface-placement
+ uid: header
+- role: interface-ingroup
+ uid: group
+name: RTEMS_INTERRUPT_LEVEL
+notes: |
+ RTEMS supports 256 interrupt levels using the least significant eight bits of
+ the mode set. On any particular CPU, fewer than 256 levels may be supported.
+params:
+- description: is the mode set.
+ dir: null
+ name: _mode_set
+return:
+ return: null
+ return-values: []
+type: interface