summaryrefslogtreecommitdiffstats
path: root/spec/if/rtems/event/transient-receive.yml
blob: 5de7617e330c7f41ee7d99e38844e79899e5e78c (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
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Receives the transient event.
copyrights:
- Copyright (C) 2014, 2020 embedded brains GmbH (http://www.embedded-brains.de)
definition:
  default:
    body: |
      ${set:/name} event_out;

      return ${system-receive:/name}(
        ${system-transient:/name},
        ${../options/event-all:/name} | ${.:/params[0]/name},
        ${.:/params[1]/name},
        &event_out
      );
    params:
    - ${../options/option:/name} ${.:/params[0]/name}
    - ${../types/interval:/name} ${.:/params[1]/name}
    return: ${../status/code:/name}
  variants: []
description: null
enabled-by: true
interface-type: function
links:
- role: interface-placement
  uid: header
name: rtems_event_transient_receive
notes: null
params:
- description: is the option set.
  dir: null
  name: option_set
- description: is the optional timeout in clock ticks.
  dir: null
  name: ticks
return:
  return: null
  return-values: []
type: interface