source: rtems-central/spec/rtems/event/if/transient-receive.yml @ c5ceae6

Last change on this file since c5ceae6 was d3edaca, checked in by Sebastian Huber <sebastian.huber@…>, on 10/12/20 at 13:07:38

spec: Add function attributes

  • Property mode set to 100644
File size: 1.0 KB
Line 
1SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
2brief: |
3  Receives the transient event.
4copyrights:
5- Copyright (C) 2014, 2020 embedded brains GmbH (http://www.embedded-brains.de)
6definition:
7  default:
8    attributes: null
9    body: |
10      ${set:/name} event_out;
11
12      return ${system-receive:/name}(
13        ${system-transient:/name},
14        ${../../option/if/event-all:/name} | ${.:/params[0]/name},
15        ${.:/params[1]/name},
16        &event_out
17      );
18    params:
19    - ${../../option/if/option:/name} ${.:/params[0]/name}
20    - ${../../type/if/interval:/name} ${.:/params[1]/name}
21    return: ${../../status/if/code:/name}
22  variants: []
23description: null
24enabled-by: true
25index-entries: []
26interface-type: function
27links:
28- role: interface-placement
29  uid: header
30name: rtems_event_transient_receive
31notes: null
32params:
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
39return:
40  return: null
41  return-values: []
42type: interface
Note: See TracBrowser for help on using the repository browser.