summaryrefslogtreecommitdiffstats
path: root/spec/rtems/mode/if/interrupt-level.yml
blob: 58ee892d8f3c8e0e4370e61aad6b5e5442533520 (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
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Returns the task mode with the processor-dependent interrupt level
  corresponding to the specified 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.
  dir: null
  name: _interrupt_level
return:
  return: null
  return-values: []
type: interface