[rtems-central commit] spec: Specify struct bintime
Sebastian Huber
sebh at rtems.org
Tue May 9 13:45:26 UTC 2023
Module: rtems-central
Branch: master
Commit: 99c0aba606e57b5c43cef567071f337aa64810f1
Changeset: http://git.rtems.org/rtems-central/commit/?id=99c0aba606e57b5c43cef567071f337aa64810f1
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri May 5 14:41:19 2023 +0200
spec: Specify struct bintime
---
spec/c/if/bintime.yml | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/spec/c/if/bintime.yml b/spec/c/if/bintime.yml
index 650b5825..9526352c 100644
--- a/spec/c/if/bintime.yml
+++ b/spec/c/if/bintime.yml
@@ -3,7 +3,23 @@ brief: |
This structure represents time in a binary fraction format.
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
-definition: []
+definition:
+- default:
+ brief: |
+ This member contains the seconds.
+ definition: ${time_t:/name} ${.:name}
+ description: null
+ kind: member
+ name: sec
+ variants: []
+- default:
+ brief: |
+ This member contains two to the power of 64 fractions of a second.
+ definition: ${uint64_t:/name} ${.:name}
+ description: null
+ kind: member
+ name: frac
+ variants: []
definition-kind: struct-only
description: null
enabled-by: true
More information about the vc
mailing list