Line | |
---|
1 | SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause |
---|
2 | brief: | |
---|
3 | Cancels the timer. |
---|
4 | copyrights: |
---|
5 | - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) |
---|
6 | - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) |
---|
7 | definition: |
---|
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: [] |
---|
15 | description: | |
---|
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. |
---|
20 | enabled-by: true |
---|
21 | index-entries: |
---|
22 | - cancel a timer |
---|
23 | interface-type: function |
---|
24 | links: |
---|
25 | - role: interface-placement |
---|
26 | uid: header |
---|
27 | - role: interface-ingroup |
---|
28 | uid: group |
---|
29 | name: rtems_timer_cancel |
---|
30 | notes: | |
---|
31 | This directive will not cause the running task to be preempted. |
---|
32 | params: |
---|
33 | - description: is the timer identifier. |
---|
34 | dir: null |
---|
35 | name: id |
---|
36 | return: |
---|
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} |
---|
46 | type: interface |
---|
Note: See
TracBrowser
for help on using the repository browser.