summaryrefslogtreecommitdiffstats
path: root/spec/rtems/mode/if/interrupt-level.yml
blob: 23949c53ff0e2c2d0b12b20fb6de1e823f1ae463 (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
31
32
33
34
35
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Maps the interrupt level to the associated processor-dependent task mode
  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
index-entries: []
interface-type: macro
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
name: RTEMS_INTERRUPT_LEVEL
notes: |
  The Classic API supports 256 interrupt levels using the least significant
  eight bits of the mode set.  On any particular processor variant, fewer than
  256 levels may be supported.  At least level 0 (all interrupts enabled) and
  level 1 (interrupts disabled, on most architectures) are supported.
params:
- description: is the interrupt level to map.
  dir: null
  name: _interrupt_level
return:
  return: null
    Returns the processor-dependent task mode interrupt level associated with
    the interrupt level.
  return-values: []
type: interface