summaryrefslogtreecommitdiffstats
path: root/spec/rtems/mode/if/interrupt-level.yml
blob: b4eb17e597ddb3cc5d8297d54ddccca88b8cde7e (plain) (blame)
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
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