summaryrefslogtreecommitdiffstats
path: root/spec/rtems/clock/if/tick-later.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/clock/if/tick-later.yml')
-rw-r--r--spec/rtems/clock/if/tick-later.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/spec/rtems/clock/if/tick-later.yml b/spec/rtems/clock/if/tick-later.yml
new file mode 100644
index 00000000..9ce69c7f
--- /dev/null
+++ b/spec/rtems/clock/if/tick-later.yml
@@ -0,0 +1,32 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+brief: |
+ Returns the ticks counter value delta ticks in the future.
+copyrights:
+- Copyright (C) 2014, 2020 embedded brains GmbH (http://www.embedded-brains.de)
+definition:
+ default:
+ body: |
+ return ${/score/watchdog/if/ticks-since-boot:/name} + ${.:/params[0]/name};
+ params:
+ - ${../../type/if/interval:/name} ${.:/params[0]/name}
+ return: ${../../type/if/interval:/name}
+ variants: []
+description: null
+enabled-by: true
+interface-type: function
+links:
+- role: interface-placement
+ uid: header
+- role: interface-ingroup
+ uid: group
+name: rtems_clock_tick_later
+notes: null
+params:
+- description: is the ticks delta value.
+ dir: null
+ name: delta
+return:
+ return: |
+ The tick counter value delta ticks in the future is returned.
+ return-values: []
+type: interface