summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-05-05 14:41:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-05-08 21:58:56 +0200
commit99c0aba606e57b5c43cef567071f337aa64810f1 (patch)
tree010b0f83cd7c85250050bbb0fa93f6517b65ee28
parentspecview.py: Add types filter (diff)
downloadrtems-central-99c0aba606e57b5c43cef567071f337aa64810f1.tar.bz2
spec: Specify struct bintime
-rw-r--r--spec/c/if/bintime.yml18
1 files changed, 17 insertions, 1 deletions
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