summaryrefslogtreecommitdiffstats
path: root/spec/rtems/type/if/time-of-day.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/type/if/time-of-day.yml')
-rw-r--r--spec/rtems/type/if/time-of-day.yml75
1 files changed, 75 insertions, 0 deletions
diff --git a/spec/rtems/type/if/time-of-day.yml b/spec/rtems/type/if/time-of-day.yml
new file mode 100644
index 00000000..5fb8f8c0
--- /dev/null
+++ b/spec/rtems/type/if/time-of-day.yml
@@ -0,0 +1,75 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+brief: |
+ This type is used to represent the calendar time in the Classic API.
+copyrights:
+- Copyright (C) 2009, 2020 embedded brains GmbH (http://www.embedded-brains.de)
+definition:
+- default:
+ brief: |
+ This member represents the year A.D.
+ definition: ${/c/if/uint32_t:/name} ${.:name}
+ description: null
+ kind: member
+ name: year
+ variants: []
+- default:
+ brief: |
+ This member represents the month of the year with values from 1 to 12.
+ definition: ${/c/if/uint32_t:/name} ${.:name}
+ description: null
+ kind: member
+ name: month
+ variants: []
+- default:
+ brief: |
+ This member represents the day of the month with values from 1 to 31.
+ definition: ${/c/if/uint32_t:/name} ${.:name}
+ description: null
+ kind: member
+ name: day
+ variants: []
+- default:
+ brief: |
+ This member represents the hour of the day with values from 0 to 23.
+ definition: ${/c/if/uint32_t:/name} ${.:name}
+ description: null
+ kind: member
+ name: hour
+ variants: []
+- default:
+ brief: |
+ This member represents the minute of the hour with values from 0 to 59.
+ definition: ${/c/if/uint32_t:/name} ${.:name}
+ description: null
+ kind: member
+ name: minute
+ variants: []
+- default:
+ brief: |
+ This member represents the second of the minute with values from 0 to 59.
+ definition: ${/c/if/uint32_t:/name} ${.:name}
+ description: null
+ kind: member
+ name: second
+ variants: []
+- default:
+ brief: |
+ This member represents the clock tick of the second with values from 0 to
+ rtems_clock_get_ticks_per_second() minus one.
+ definition: ${/c/if/uint32_t:/name} ${.:name}
+ description: null
+ kind: member
+ name: ticks
+ variants: []
+definition-kind: typedef-only
+description: null
+enabled-by: true
+interface-type: struct
+links:
+- role: interface-placement
+ uid: header
+- role: interface-ingroup
+ uid: group
+name: rtems_time_of_day
+notes: null
+type: interface