source: rtems-central/spec/rtems/timer/if/cancel.yml @ c970d63

Last change on this file since c970d63 was c970d63, checked in by Sebastian Huber <sebastian.huber@…>, on 12/01/20 at 13:57:03

spec: Review Timer Manager API

  • Property mode set to 100644
File size: 1.3 KB
Line 
1SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
2brief: |
3  Cancels the timer.
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    attributes: null
10    body: null
11    params:
12    - ${../../type/if/id:/name} ${.:/params[0]/name}
13    return: ${../../status/if/code:/name}
14  variants: []
15description: |
16  This directive cancels the timer specified in the ${.:/params[0]/name}
17  parameter.  This timer will be reinitiated by the next invocation of
18  ${reset:/name}, ${fire-after:/name}, or ${fire-when:/name} with the same
19  timer identifier.
20enabled-by: true
21index-entries:
22- cancel a timer
23interface-type: function
24links:
25- role: interface-placement
26  uid: header
27- role: interface-ingroup
28  uid: group
29name: rtems_timer_cancel
30notes: |
31  This directive will not cause the running task to be preempted.
32params:
33- description: is the timer identifier.
34  dir: null
35  name: id
36return:
37  return: null
38  return-values:
39  - description: |
40      The requested operation was successful.
41    value: ${../../status/if/successful:/name}
42  - description: |
43      There was no timer associated with the identifier specified by
44      ${.:/params[0]/name}.
45    value: ${../../status/if/invalid-id:/name}
46type: interface
Note: See TracBrowser for help on using the repository browser.