Line | |
---|
1 | SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause |
---|
2 | brief: | |
---|
3 | Receives the transient event. |
---|
4 | copyrights: |
---|
5 | - Copyright (C) 2014, 2020 embedded brains GmbH (http://www.embedded-brains.de) |
---|
6 | definition: |
---|
7 | default: |
---|
8 | body: | |
---|
9 | ${set:/name} event_out; |
---|
10 | |
---|
11 | return ${system-receive:/name}( |
---|
12 | ${system-transient:/name}, |
---|
13 | ${../options/event-all:/name} | ${.:/params[0]/name}, |
---|
14 | ${.:/params[1]/name}, |
---|
15 | &event_out |
---|
16 | ); |
---|
17 | params: |
---|
18 | - ${../options/option:/name} ${.:/params[0]/name} |
---|
19 | - ${../types/interval:/name} ${.:/params[1]/name} |
---|
20 | return: ${../status/code:/name} |
---|
21 | variants: [] |
---|
22 | description: null |
---|
23 | enabled-by: true |
---|
24 | interface-type: function |
---|
25 | links: |
---|
26 | - role: interface-placement |
---|
27 | uid: header |
---|
28 | - role: interface-ingroup |
---|
29 | uid: /groups/api/classic/clock |
---|
30 | name: rtems_event_transient_receive |
---|
31 | notes: null |
---|
32 | params: |
---|
33 | - description: is the option set. |
---|
34 | dir: null |
---|
35 | name: option_set |
---|
36 | - description: is the optional timeout in clock ticks. |
---|
37 | dir: null |
---|
38 | name: ticks |
---|
39 | return: |
---|
40 | return: null |
---|
41 | return-values: [] |
---|
42 | type: interface |
---|
Note: See
TracBrowser
for help on using the repository browser.