From c4fe9f5bcb8ef38d82583b21d44b25f95fdbe9ae Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 22 Jun 2020 08:36:48 +0200 Subject: spec: Add /if/rtems/timer/* --- spec/if/rtems/timer/cancel.yml | 30 +++++++++++++++ spec/if/rtems/timer/class-bit-not-dormant.yml | 19 ++++++++++ spec/if/rtems/timer/class-bit-on-task.yml | 19 ++++++++++ spec/if/rtems/timer/class-bit-time-of-day.yml | 19 ++++++++++ spec/if/rtems/timer/classes.yml | 27 +++++++++++++ spec/if/rtems/timer/create.yml | 34 +++++++++++++++++ spec/if/rtems/timer/delete.yml | 30 +++++++++++++++ spec/if/rtems/timer/dormant.yml | 15 ++++++++ spec/if/rtems/timer/fire-after.yml | 42 +++++++++++++++++++++ spec/if/rtems/timer/fire-when.yml | 42 +++++++++++++++++++++ spec/if/rtems/timer/get-information.yml | 34 +++++++++++++++++ spec/if/rtems/timer/header.yml | 11 ++++++ spec/if/rtems/timer/ident.yml | 34 +++++++++++++++++ spec/if/rtems/timer/information.yml | 50 +++++++++++++++++++++++++ spec/if/rtems/timer/initiate-server.yml | 38 +++++++++++++++++++ spec/if/rtems/timer/interval-on-task.yml | 17 +++++++++ spec/if/rtems/timer/interval.yml | 15 ++++++++ spec/if/rtems/timer/reset.yml | 30 +++++++++++++++ spec/if/rtems/timer/server-default-priority.yml | 19 ++++++++++ spec/if/rtems/timer/server-fire-after.yml | 42 +++++++++++++++++++++ spec/if/rtems/timer/server-fire-when.yml | 42 +++++++++++++++++++++ spec/if/rtems/timer/service-routine-entry.yml | 19 ++++++++++ spec/if/rtems/timer/service-routine.yml | 19 ++++++++++ spec/if/rtems/timer/time-of-day-on-task.yml | 18 +++++++++ spec/if/rtems/timer/time-of-day.yml | 17 +++++++++ 25 files changed, 682 insertions(+) create mode 100644 spec/if/rtems/timer/cancel.yml create mode 100644 spec/if/rtems/timer/class-bit-not-dormant.yml create mode 100644 spec/if/rtems/timer/class-bit-on-task.yml create mode 100644 spec/if/rtems/timer/class-bit-time-of-day.yml create mode 100644 spec/if/rtems/timer/classes.yml create mode 100644 spec/if/rtems/timer/create.yml create mode 100644 spec/if/rtems/timer/delete.yml create mode 100644 spec/if/rtems/timer/dormant.yml create mode 100644 spec/if/rtems/timer/fire-after.yml create mode 100644 spec/if/rtems/timer/fire-when.yml create mode 100644 spec/if/rtems/timer/get-information.yml create mode 100644 spec/if/rtems/timer/header.yml create mode 100644 spec/if/rtems/timer/ident.yml create mode 100644 spec/if/rtems/timer/information.yml create mode 100644 spec/if/rtems/timer/initiate-server.yml create mode 100644 spec/if/rtems/timer/interval-on-task.yml create mode 100644 spec/if/rtems/timer/interval.yml create mode 100644 spec/if/rtems/timer/reset.yml create mode 100644 spec/if/rtems/timer/server-default-priority.yml create mode 100644 spec/if/rtems/timer/server-fire-after.yml create mode 100644 spec/if/rtems/timer/server-fire-when.yml create mode 100644 spec/if/rtems/timer/service-routine-entry.yml create mode 100644 spec/if/rtems/timer/service-routine.yml create mode 100644 spec/if/rtems/timer/time-of-day-on-task.yml create mode 100644 spec/if/rtems/timer/time-of-day.yml (limited to 'spec/if/rtems') diff --git a/spec/if/rtems/timer/cancel.yml b/spec/if/rtems/timer/cancel.yml new file mode 100644 index 00000000..c2cab70b --- /dev/null +++ b/spec/if/rtems/timer/cancel.yml @@ -0,0 +1,30 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: + body: null + params: + - ${../types/id:/name} ${.:/params[0]/name} + return: ${../status/code:/name} + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: rtems_timer_cancel +notes: null +params: +- description: '%' + dir: null + name: id +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/timer/class-bit-not-dormant.yml b/spec/if/rtems/timer/class-bit-not-dormant.yml new file mode 100644 index 00000000..02b0852d --- /dev/null +++ b/spec/if/rtems/timer/class-bit-not-dormant.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: '0x4' + variants: [] +description: null +enabled-by: true +interface-type: define +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: TIMER_CLASS_BIT_NOT_DORMANT +notes: null +type: interface diff --git a/spec/if/rtems/timer/class-bit-on-task.yml b/spec/if/rtems/timer/class-bit-on-task.yml new file mode 100644 index 00000000..9e685397 --- /dev/null +++ b/spec/if/rtems/timer/class-bit-on-task.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: '0x2' + variants: [] +description: null +enabled-by: true +interface-type: define +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: TIMER_CLASS_BIT_ON_TASK +notes: null +type: interface diff --git a/spec/if/rtems/timer/class-bit-time-of-day.yml b/spec/if/rtems/timer/class-bit-time-of-day.yml new file mode 100644 index 00000000..4839711f --- /dev/null +++ b/spec/if/rtems/timer/class-bit-time-of-day.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: '0x1' + variants: [] +description: null +enabled-by: true +interface-type: define +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: TIMER_CLASS_BIT_TIME_OF_DAY +notes: null +type: interface diff --git a/spec/if/rtems/timer/classes.yml b/spec/if/rtems/timer/classes.yml new file mode 100644 index 00000000..33764f50 --- /dev/null +++ b/spec/if/rtems/timer/classes.yml @@ -0,0 +1,27 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition-kind: typedef-only +description: null +enabled-by: true +interface-type: enum +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +- role: interface-enumerator + uid: dormant +- role: interface-enumerator + uid: interval +- role: interface-enumerator + uid: interval-on-task +- role: interface-enumerator + uid: time-of-day +- role: interface-enumerator + uid: time-of-day-on-task +name: Timer_Classes +notes: null +type: interface diff --git a/spec/if/rtems/timer/create.yml b/spec/if/rtems/timer/create.yml new file mode 100644 index 00000000..a6d3eb55 --- /dev/null +++ b/spec/if/rtems/timer/create.yml @@ -0,0 +1,34 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: + body: null + params: + - ${../types/name:/name} ${.:/params[0]/name} + - ${../types/id:/name} *${.:/params[1]/name} + return: ${../status/code:/name} + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: rtems_timer_create +notes: null +params: +- description: '%' + dir: null + name: name +- description: '%' + dir: null + name: id +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/timer/delete.yml b/spec/if/rtems/timer/delete.yml new file mode 100644 index 00000000..fc3cc8ce --- /dev/null +++ b/spec/if/rtems/timer/delete.yml @@ -0,0 +1,30 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: + body: null + params: + - ${../types/id:/name} ${.:/params[0]/name} + return: ${../status/code:/name} + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: rtems_timer_delete +notes: null +params: +- description: '%' + dir: null + name: id +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/timer/dormant.yml b/spec/if/rtems/timer/dormant.yml new file mode 100644 index 00000000..332c48d7 --- /dev/null +++ b/spec/if/rtems/timer/dormant.yml @@ -0,0 +1,15 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: null + variants: [] +description: null +enabled-by: true +interface-type: enumerator +links: [] +name: TIMER_DORMANT +notes: null +type: interface diff --git a/spec/if/rtems/timer/fire-after.yml b/spec/if/rtems/timer/fire-after.yml new file mode 100644 index 00000000..99ad67e7 --- /dev/null +++ b/spec/if/rtems/timer/fire-after.yml @@ -0,0 +1,42 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: + body: null + params: + - ${../types/id:/name} ${.:/params[0]/name} + - ${../types/interval:/name} ${.:/params[1]/name} + - ${service-routine-entry:/name} ${.:/params[2]/name} + - void *${.:/params[3]/name} + return: ${../status/code:/name} + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: rtems_timer_fire_after +notes: null +params: +- description: '%' + dir: null + name: id +- description: '%' + dir: null + name: ticks +- description: '%' + dir: null + name: routine +- description: '%' + dir: null + name: user_data +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/timer/fire-when.yml b/spec/if/rtems/timer/fire-when.yml new file mode 100644 index 00000000..51bbbfeb --- /dev/null +++ b/spec/if/rtems/timer/fire-when.yml @@ -0,0 +1,42 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: + body: null + params: + - ${../types/id:/name} ${.:/params[0]/name} + - ${../types/time-of-day:/name} *${.:/params[1]/name} + - ${service-routine-entry:/name} ${.:/params[2]/name} + - void *${.:/params[3]/name} + return: ${../status/code:/name} + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: rtems_timer_fire_when +notes: null +params: +- description: '%' + dir: null + name: id +- description: '%' + dir: null + name: wall_time +- description: '%' + dir: null + name: routine +- description: '%' + dir: null + name: user_data +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/timer/get-information.yml b/spec/if/rtems/timer/get-information.yml new file mode 100644 index 00000000..2ec773e1 --- /dev/null +++ b/spec/if/rtems/timer/get-information.yml @@ -0,0 +1,34 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: + body: null + params: + - ${../types/id:/name} ${.:/params[0]/name} + - ${information:/name} *${.:/params[1]/name} + return: ${../status/code:/name} + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: rtems_timer_get_information +notes: null +params: +- description: '%' + dir: null + name: id +- description: '%' + dir: null + name: the_info +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/timer/header.yml b/spec/if/rtems/timer/header.yml new file mode 100644 index 00000000..0200be2e --- /dev/null +++ b/spec/if/rtems/timer/header.yml @@ -0,0 +1,11 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +enabled-by: true +interface-type: header-file +links: +- role: interface-placement + uid: /if/domains/api +path: rtems/rtems/timer.h +prefix: cpukit/include +type: interface diff --git a/spec/if/rtems/timer/ident.yml b/spec/if/rtems/timer/ident.yml new file mode 100644 index 00000000..9d70bee2 --- /dev/null +++ b/spec/if/rtems/timer/ident.yml @@ -0,0 +1,34 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: + body: null + params: + - ${../types/name:/name} ${.:/params[0]/name} + - ${../types/id:/name} *${.:/params[1]/name} + return: ${../status/code:/name} + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: rtems_timer_ident +notes: null +params: +- description: '%' + dir: null + name: name +- description: '%' + dir: null + name: id +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/timer/information.yml b/spec/if/rtems/timer/information.yml new file mode 100644 index 00000000..be415cda --- /dev/null +++ b/spec/if/rtems/timer/information.yml @@ -0,0 +1,50 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: +- default: + brief: | + This member is + definition: ${classes:/name} ${.:name} + description: '%' + kind: member + name: the_class + variants: [] +- default: + brief: | + This member is + definition: ${/if/impl/watchdog/interval:/name} ${.:name} + description: '%' + kind: member + name: initial + variants: [] +- default: + brief: | + This member is + definition: ${/if/impl/watchdog/interval:/name} ${.:name} + description: '%' + kind: member + name: start_time + variants: [] +- default: + brief: | + This member is + definition: ${/if/impl/watchdog/interval:/name} ${.:name} + description: '%' + kind: member + name: stop_time + variants: [] +definition-kind: typedef-only +description: null +enabled-by: true +interface-type: struct +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: rtems_timer_information +notes: null +type: interface diff --git a/spec/if/rtems/timer/initiate-server.yml b/spec/if/rtems/timer/initiate-server.yml new file mode 100644 index 00000000..6015d7cf --- /dev/null +++ b/spec/if/rtems/timer/initiate-server.yml @@ -0,0 +1,38 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: + body: null + params: + - ${../tasks/priority:/name} ${.:/params[0]/name} + - ${/if/c/size_t:/name} ${.:/params[1]/name} + - ${../attr/attribute:/name} ${.:/params[2]/name} + return: ${../status/code:/name} + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: rtems_timer_initiate_server +notes: null +params: +- description: '%' + dir: null + name: priority +- description: '%' + dir: null + name: stack_size +- description: '%' + dir: null + name: attribute_set +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/timer/interval-on-task.yml b/spec/if/rtems/timer/interval-on-task.yml new file mode 100644 index 00000000..ca246210 --- /dev/null +++ b/spec/if/rtems/timer/interval-on-task.yml @@ -0,0 +1,17 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: | + ${class-bit-not-dormant:/name} | + ${class-bit-on-task:/name} + variants: [] +description: null +enabled-by: true +interface-type: enumerator +links: [] +name: TIMER_INTERVAL_ON_TASK +notes: null +type: interface diff --git a/spec/if/rtems/timer/interval.yml b/spec/if/rtems/timer/interval.yml new file mode 100644 index 00000000..1d6507c8 --- /dev/null +++ b/spec/if/rtems/timer/interval.yml @@ -0,0 +1,15 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: ${class-bit-not-dormant:/name} + variants: [] +description: null +enabled-by: true +interface-type: enumerator +links: [] +name: TIMER_INTERVAL +notes: null +type: interface diff --git a/spec/if/rtems/timer/reset.yml b/spec/if/rtems/timer/reset.yml new file mode 100644 index 00000000..8c438337 --- /dev/null +++ b/spec/if/rtems/timer/reset.yml @@ -0,0 +1,30 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: + body: null + params: + - ${../types/id:/name} ${.:/params[0]/name} + return: ${../status/code:/name} + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: rtems_timer_reset +notes: null +params: +- description: '%' + dir: null + name: id +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/timer/server-default-priority.yml b/spec/if/rtems/timer/server-default-priority.yml new file mode 100644 index 00000000..acd2fade --- /dev/null +++ b/spec/if/rtems/timer/server-default-priority.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: ( (${../tasks/priority:/name}) -1 ) + variants: [] +description: null +enabled-by: true +interface-type: define +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: RTEMS_TIMER_SERVER_DEFAULT_PRIORITY +notes: null +type: interface diff --git a/spec/if/rtems/timer/server-fire-after.yml b/spec/if/rtems/timer/server-fire-after.yml new file mode 100644 index 00000000..626c932b --- /dev/null +++ b/spec/if/rtems/timer/server-fire-after.yml @@ -0,0 +1,42 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: + body: null + params: + - ${../types/id:/name} ${.:/params[0]/name} + - ${../types/interval:/name} ${.:/params[1]/name} + - ${service-routine-entry:/name} ${.:/params[2]/name} + - void *${.:/params[3]/name} + return: ${../status/code:/name} + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: rtems_timer_server_fire_after +notes: null +params: +- description: '%' + dir: null + name: id +- description: '%' + dir: null + name: ticks +- description: '%' + dir: null + name: routine +- description: '%' + dir: null + name: user_data +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/timer/server-fire-when.yml b/spec/if/rtems/timer/server-fire-when.yml new file mode 100644 index 00000000..552a312a --- /dev/null +++ b/spec/if/rtems/timer/server-fire-when.yml @@ -0,0 +1,42 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: + body: null + params: + - ${../types/id:/name} ${.:/params[0]/name} + - ${../types/time-of-day:/name} *${.:/params[1]/name} + - ${service-routine-entry:/name} ${.:/params[2]/name} + - void *${.:/params[3]/name} + return: ${../status/code:/name} + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: rtems_timer_server_fire_when +notes: null +params: +- description: '%' + dir: null + name: id +- description: '%' + dir: null + name: wall_time +- description: '%' + dir: null + name: routine +- description: '%' + dir: null + name: user_data +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/timer/service-routine-entry.yml b/spec/if/rtems/timer/service-routine-entry.yml new file mode 100644 index 00000000..10d59f9d --- /dev/null +++ b/spec/if/rtems/timer/service-routine-entry.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: ${service-routine:/name} ( *${.:/name} )( ${../types/id:/name}, void * ) + variants: [] +description: null +enabled-by: true +interface-type: typedef +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: rtems_timer_service_routine_entry +notes: null +type: interface diff --git a/spec/if/rtems/timer/service-routine.yml b/spec/if/rtems/timer/service-routine.yml new file mode 100644 index 00000000..d15e993a --- /dev/null +++ b/spec/if/rtems/timer/service-routine.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: void ${.:/name} + variants: [] +description: null +enabled-by: true +interface-type: typedef +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/timer +name: rtems_timer_service_routine +notes: null +type: interface diff --git a/spec/if/rtems/timer/time-of-day-on-task.yml b/spec/if/rtems/timer/time-of-day-on-task.yml new file mode 100644 index 00000000..37340cae --- /dev/null +++ b/spec/if/rtems/timer/time-of-day-on-task.yml @@ -0,0 +1,18 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: | + ${class-bit-not-dormant:/name} | + ${class-bit-time-of-day:/name} | + ${class-bit-on-task:/name} + variants: [] +description: null +enabled-by: true +interface-type: enumerator +links: [] +name: TIMER_TIME_OF_DAY_ON_TASK +notes: null +type: interface diff --git a/spec/if/rtems/timer/time-of-day.yml b/spec/if/rtems/timer/time-of-day.yml new file mode 100644 index 00000000..e0d81840 --- /dev/null +++ b/spec/if/rtems/timer/time-of-day.yml @@ -0,0 +1,17 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: | + ${class-bit-not-dormant:/name} | + ${class-bit-time-of-day:/name} + variants: [] +description: null +enabled-by: true +interface-type: enumerator +links: [] +name: TIMER_TIME_OF_DAY +notes: null +type: interface -- cgit v1.2.3