summaryrefslogtreecommitdiffstats
path: root/spec/rtems/object/if/build-name.yml
blob: 5f9e500ac836ad8a0cb6d93af0e0271f387540e9 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Builds the object name composed of the four characters.
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
definition:
  default:
    attributes: null
    body: null
    params:
    - char ${.:/params[0]/name}
    - char ${.:/params[1]/name}
    - char ${.:/params[2]/name}
    - char ${.:/params[3]/name}
    return: ${../../type/if/name:/name}
  variants: []
description: |
  This directive takes the four characters provided as arguments and composes a
  32-bit object name with ${.:/params[0]/name} in the most significant
  8-bits and ${.:/params[3]/name} in the least significant 8-bits.
enabled-by: true
index-entries: []
interface-type: function
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
- role: constraint
  uid: /constraint/directive-ctx-const
- role: constraint
  uid: /constraint/directive-no-preempt
name: rtems_build_name
notes: null
params:
- description: |
    is the first character of the name.
  dir: null
  name: c1
- description: |
    is the second character of the name.
  dir: null
  name: c2
- description: |
    is the third character of the name.
  dir: null
  name: c3
- description: |
    is the fourth character of the name.
  dir: null
  name: c4
return:
  return: |
    Returns the object name composed of the four characters.
  return-values: []
type: interface