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

Last change on this file since 5c30755 was 5c30755, checked in by Sebastian Huber <sebastian.huber@…>, on 06/22/20 at 06:36:47

spec: Add /if/rtems/event/*

  • 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    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: []
22description: null
23enabled-by: true
24interface-type: function
25links:
26- role: interface-placement
27  uid: header
28- role: interface-ingroup
29  uid: /groups/api/classic/clock
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.