summaryrefslogtreecommitdiffstats
path: root/spec/rtems/mode/if/interrupt-level-body.yml
blob: 16608cc8e6e1b15ec36b905b31923f17c0d54b0a (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: |
  Returns a mode with the desired interrupt level in the proper bit-field
  location.
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
- Copyright (C) 2008 On-Line Applications Research Corporation (OAR)
definition:
  default:
    body: null
    params:
    - ${/c/if/uint32_t:/name} ${.:/params[0]/name}
    return: ${mode:/name}
  variants: []
description: null
enabled-by: true
interface-type: function
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
name: rtems_interrupt_level_body
notes: |
  This function is used by bindings from languages other than C and C++.
params:
- description: is the desired interrupt level.
  dir: null
  name: level
return:
  return: |
    A mode with the desired interrupt level in the proper bit-field location is
    returned.
  return-values: []
type: interface