blob: 1e33f7e7bb26fff1bb8d0a927282c737fae7c54b (
plain)
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
|
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
enabled-by: true
links:
- role: spec-member
uid: root
spec-description: |
A value of this type shall be an expression which defines under which
conditions an interface definition is enabled. In generated header files,
the expression is evaluated by the C preprocessor.
spec-example: null
spec-info:
bool:
description: |
It is converted to 0 or 1. It defines a symbol in the expression.
dict:
attributes:
and:
description: |
The *and* operator defines a *logical and* of the expressions in the
list.
spec-type: interface-enabled-by-list
not:
description: |
The *not* operator defines a *logical not* of the expression.
spec-type: interface-enabled-by
or:
description: |
The *or* operator defines a *logical or* of the expressions in the
list.
spec-type: interface-enabled-by-list
description: |
Each attribute defines an operator.
mandatory-attributes: exactly-one
list:
description: |
It defines a *logical or* of the expressions in the list.
spec-type: interface-enabled-by
str:
description: |
It defines a symbol in the expression.
spec-name: Interface Enabled-By Expression
spec-type: interface-enabled-by
type: spec
|