source: rtems-central/spec/rtems/timer/if/ident.yml @ 5f97799

Last change on this file since 5f97799 was 5f97799, checked in by Sebastian Huber <sebastian.huber@…>, on 10/05/20 at 13:43:02

spec: Move index-entries to interface type

  • Property mode set to 100644
File size: 2.0 KB
Line 
1SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
2brief: |
3  Identifies a timer object by the specified object name.
4copyrights:
5- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
6- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
7definition:
8  default:
9    body: null
10    params:
11    - ${../../type/if/name:/name} ${.:/params[0]/name}
12    - ${../../type/if/id:/name} *${.:/params[1]/name}
13    return: ${../../status/if/code:/name}
14  variants: []
15description: |
16  This directive obtains the timer identifier associated with the timer name
17  specified in ``${.:/params[0]/name}``.
18enabled-by: true
19index-entries: []
20interface-type: function
21links:
22- role: interface-placement
23  uid: header
24- role: interface-ingroup
25  uid: group
26name: rtems_timer_ident
27notes: |
28  If the timer name is not unique, then the timer identifier will match the
29  first timer with that name in the search order.  However, this timer
30  identifier is not guaranteed to correspond to the desired timer.  The timer
31  identifier is used with other timer related directives to access the timer.
32
33  The objects are searched from lowest to the highest index.  Only the local
34  node is searched.
35params:
36- description: is the object name to look up.
37  dir: null
38  name: name
39- description: |
40    is the pointer to an object identifier variable.  The object identifier of
41    an object with the specified name will be stored in this variable, in case
42    of a successful operation.
43  dir: out
44  name: id
45return:
46  return: null
47  return-values:
48  - description: |
49      The requested operation was successful.
50    value: ${../../status/if/successful:/name}
51  - description: |
52      The ${.:/params[1]/name} parameter was ${/c/if/null:/name}.
53    value: ${../../status/if/invalid-address:/name}
54  - description: |
55      The ${.:/params[0]/name} parameter was 0.
56    value: ${../../status/if/invalid-name:/name}
57  - description: |
58      There was no object with the specified name on the local node.
59    value: ${../../status/if/invalid-name:/name}
60type: interface
Note: See TracBrowser for help on using the repository browser.