AUTOSAR CP SWS GPTDriver
AUTOSAR CP SWS GPTDriver
AUTOSAR CP R23-11
4
• Variant chapter reworked.
AUTOSAR
• Remove redundant requirement
2016-11-30 4.3.0 Release
[SWS_Gpt_00342].
Management
• Remove any reference to Dem.
• Det renaming and extension
incorporation.
AUTOSAR
2015-07-31 4.2.2 Release • Debugging support marked as obsolete.
Management
• Remove duplicated requirements in
traceability.
• Init pointer check harmonized with
BSW_General, redundant
AUTOSAR [SWS_GPT_00294],
2014-10-31 4.2.1 Release [SWS_GPT_00340] items removed.
Management
• Added new error code
GPT_E_INIT_FAILED.
AUTOSAR
2013-10-31 4.1.2 Release • editorial changes
Management
• GPT Predef Timer functionality added
• Multiplicity changed in
AUTOSAR [ECUC_Gpt_00312] (chapter 10.2.6
2011-04-15 4.0.2 Release updated).
Management
• [SWS_Gpt_00256] rephrased.
4
• Revised completely, a lot of SWS items
deleted, replaced, changed and added.
• Gpt_Cbk_CheckWakeup renamed to
Gpt_CheckWakeup.
• ClockReferencePoint mechanism
incorporated.
4
• Header file structure changed
significantly.
Disclaimer
This work (specification and/or software implementation) and the material contained in
it, as released by AUTOSAR, is for the purpose of information only. AUTOSAR and the
companies that have contributed to it shall not be liable for any use of the work.
The material contained in this work is protected by copyright and other types of intel-
lectual property rights. The commercial exploitation of the material contained in this
work requires a license to such intellectual property rights.
This work may be utilized or reproduced without any modification, in any form or by
any means, for informational purposes only. For any other purpose, no part of the work
may be utilized or reproduced, in any form or by any means, without permission in
writing from the publisher.
The work has been developed for automotive applications only. It has neither been
developed, nor tested for non-automotive applications.
The word AUTOSAR and the AUTOSAR logo are registered trademarks.
Contents
1 Introduction and functional overview 8
3 Related documentation 10
3.1 Input documents & related standards and norms . . . . . . . . . . . . . 10
3.2 Related specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4 Constraints and assumptions 11
4.1 Assumptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.2 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.3 Applicability to car domains . . . . . . . . . . . . . . . . . . . . . . . . . 11
5 Dependencies to other modules 12
6 Requirements Tracing 13
7 Functional specification 16
7.1 GPT Predef Timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7.2 Version checking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
7.3 Error Classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
7.3.1 Development Errors . . . . . . . . . . . . . . . . . . . . . . . . 21
7.3.2 Runtime Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.3.3 Transient Faults . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.3.4 Production Errors . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.3.5 Extended Production Errors . . . . . . . . . . . . . . . . . . . . 22
8 API specification 23
8.1 Imported types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.2 Type definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.2.1 Gpt_ConfigType . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.2.2 Gpt_ChannelType . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.2.3 Gpt_ValueType . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
8.2.4 Gpt_ModeType . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
8.2.5 Gpt_PredefTimerType . . . . . . . . . . . . . . . . . . . . . . . 25
8.3 Function definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
8.3.1 Gpt_GetVersionInfo . . . . . . . . . . . . . . . . . . . . . . . . 25
8.3.2 Gpt_Init . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
8.3.3 Gpt_DeInit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
8.3.4 Gpt_GetTimeElapsed . . . . . . . . . . . . . . . . . . . . . . . 28
8.3.5 Gpt_GetTimeRemaining . . . . . . . . . . . . . . . . . . . . . 29
8.3.6 Gpt_StartTimer . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.3.7 Gpt_StopTimer . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8.3.8 Gpt_EnableNotification . . . . . . . . . . . . . . . . . . . . . . 33
8.3.9 Gpt_DisableNotification . . . . . . . . . . . . . . . . . . . . . . 34
8.3.10 Gpt_SetMode . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8.3.11 Gpt_DisableWakeup . . . . . . . . . . . . . . . . . . . . . . . . 37
8.3.12 Gpt_EnableWakeup . . . . . . . . . . . . . . . . . . . . . . . 38
8.3.13 Gpt_CheckWakeup . . . . . . . . . . . . . . . . . . . . . . . . 39
8.3.14 Gpt_GetPredefTimerValue . . . . . . . . . . . . . . . . . . . . 40
8.4 Callback notifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
8.5 Scheduled functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
8.6 Expected interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
8.6.1 Mandatory interfaces . . . . . . . . . . . . . . . . . . . . . . . 41
8.6.2 Optional interfaces . . . . . . . . . . . . . . . . . . . . . . . . . 42
8.6.3 Configurable interfaces . . . . . . . . . . . . . . . . . . . . . . 42
8.6.3.1 GPT Notification . . . . . . . . . . . . . . . . . . . . . 42
8.7 Error detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
9 Sequence diagrams 44
9.1 Gpt_Init . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.2 GPT continuous mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.3 GPT one-shot mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
9.4 Disable/Enable Notifications . . . . . . . . . . . . . . . . . . . . . . . . . 46
9.5 Wakeup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
10 Configuration specification 48
10.1 How to read this chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
10.2 Containers and configuration parameters . . . . . . . . . . . . . . . . . . 48
10.2.1 Gpt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
10.2.2 GptDriverConfiguration . . . . . . . . . . . . . . . . . . . . . . 49
10.2.3 GptClockReferencePoint . . . . . . . . . . . . . . . . . . . . . 53
10.2.4 GptChannelConfigSet . . . . . . . . . . . . . . . . . . . . . . . 54
10.2.5 GptChannelConfiguration . . . . . . . . . . . . . . . . . . . . . 55
10.2.6 GptWakeupConfiguration . . . . . . . . . . . . . . . . . . . . . 59
10.2.7 GptConfigurationOfOptApiServices . . . . . . . . . . . . . . . 59
10.3 Published Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
A Not applicable requirements 63
Table 2.1: Acronyms and abbreviations used in the scope of this Document
Term: Description:
Timer channel Represents a logical timer entity assigned to a timer hardware
Target time Time, something shall occur, when the value is reached. The behavior depends
on the configuration and the enabled functionality.
Tick Defines the timer resolution, the duration of a timer increment
GPT Predef Timer A GPT Predef Timer is a free running up counter provided by the GPT driver.
Which GPT Predef Timer(s) are available depends on hardware (clock, hardware
timers, prescaler, width of timer register, ...) and configuration. A GPT Predef
Timer has predefined physical time unit and range.
3 Related documentation
[1] Glossary
AUTOSAR_FO_TR_Glossary
[2] General Specification of Basic Software Modules
AUTOSAR_CP_SWS_BSWGeneral
[3] Specification of Default Error Tracer
AUTOSAR_CP_SWS_DefaultErrorTracer
[4] Specification of MCU Driver
AUTOSAR_CP_SWS_MCUDriver
[5] Specification of ECU State Manager
AUTOSAR_CP_SWS_ECUStateManager
[6] Requirements on GPT Driver
AUTOSAR_CP_SRS_GPTDriver
[7] List of Basic Software Modules
AUTOSAR_CP_TR_BSWModuleList
4.1 Assumptions
No assumptions.
4.2 Limitations
No limitations.
In development mode the Error hook-function of module DET [3] will be called.
Module MCU
The GPT depends on the system clock, prescaler(s) and PLL. Thus, changes of the
system clock (e.g. PLL on PLL off) also affect the clock settings of the GPT hardware.
Module GPT will not take care of settings which configure the clock, prescaler(s) and
PLL in its init function. This has to be done by the MCU module [4].
Hence the conversions between time and ticks shall be part of an upper layer.
Module EcuM
The GPT driver reports the wakeup interrupts to the ECU State Manager [5] for further
processing.
File structure
The file structure is not defined within this specification completely. It depends on
the implementation. The GPT driver shall provide at least the following files, if the
conditions described are fulfilled:
[SWS_Gpt_00261] dGpt_Irq.c shall include Gpt.h for the prototype declaration of the
notification functions.c(SRS_BSW_00164)
[SWS_Gpt_00375] dGpt.c shall include Det.h in any case to be able to raise runtime
error.c()
6 Requirements Tracing
The following tables reference the requirements specified in [6, SRS documents] and
links to the fulfillment of these. Please note that if column “Satisfied by” is empty for a
specific requirement this means that this requirement is not fulfilled by this document.
Requirement Description Satisfied by
[SRS_BSW_00101] The Basic Software Module shall be [SWS_Gpt_00006] [SWS_Gpt_00280]
able to initialize variables and
hardware in a separate initialization
function
[SRS_BSW_00164] The Implementation of interrupt [SWS_Gpt_00261]
service routines shall be done by the
Operating System, complex drivers or
modules
[SRS_BSW_00171] Optional functionality of a Basic-SW [SWS_Gpt_00194] [SWS_Gpt_00195]
component that is not required in the [SWS_Gpt_00196] [SWS_Gpt_00199]
ECU shall be configurable at [SWS_Gpt_00200] [SWS_Gpt_00201]
pre-compile-time [SWS_Gpt_00202] [SWS_Gpt_00203]
[SRS_BSW_00305] Data types naming convention [SWS_Gpt_00357] [SWS_Gpt_00358]
[SWS_Gpt_00359] [SWS_Gpt_00360]
[SRS_BSW_00323] All AUTOSAR Basic Software [SWS_Gpt_00218] [SWS_Gpt_00338]
Modules shall check passed API [SWS_Gpt_00399] [SWS_Gpt_00403]
parameters for validity
[SRS_BSW_00336] Basic SW module shall be able to [SWS_Gpt_00008] [SWS_Gpt_00281]
shutdown
[SRS_BSW_00348] All AUTOSAR standard types and [SWS_Gpt_00278]
constants shall be placed and
organized in a standard type header
file
[SRS_BSW_00358] The return type of init() functions [SWS_Gpt_00280]
implemented by AUTOSAR Basic
Software Modules shall be void
[SRS_BSW_00369] All AUTOSAR Basic Software [SWS_Gpt_00403]
Modules shall not return specific
development error codes via the API
[SRS_BSW_00375] Basic Software Modules shall report [SWS_Gpt_00209] [SWS_Gpt_00292]
wake-up reasons
[SRS_BSW_00404] BSW Modules shall support [SWS_Gpt_00280] [SWS_Gpt_00357]
post-build configuration
[SRS_BSW_00405] BSW Modules shall support multiple [SWS_Gpt_00280] [SWS_Gpt_00357]
configuration sets
[SRS_BSW_00406] A static status variable denoting if a [SWS_Gpt_00220] [SWS_Gpt_00222]
BSW module is initialized shall be [SWS_Gpt_00223] [SWS_Gpt_00224]
initialized with value 0 before any [SWS_Gpt_00225] [SWS_Gpt_00226]
APIs of the BSW module is called [SWS_Gpt_00227] [SWS_Gpt_00228]
[SWS_Gpt_00229] [SWS_Gpt_00230]
[SWS_Gpt_00325] [SWS_Gpt_00398]
[SWS_Gpt_00402]
[SRS_BSW_00407] Each BSW module shall provide a [SWS_Gpt_00279]
function to read out the version
information of a dedicated module
implementation
[SRS_BSW_00414] Init functions shall have a pointer to a [SWS_Gpt_00280] [SWS_Gpt_00357]
configuration structure as single
parameter
[SRS_BSW_00438] Configuration data shall be defined in [SWS_Gpt_00280] [SWS_Gpt_00357]
a structure
5
4
Requirement Description Satisfied by
[SRS_BSW_00441] Naming convention for type, macro [SWS_Gpt_00360]
and function
[SRS_Gpt_12116] The GPT Driver shall provide the [SWS_Gpt_00008] [SWS_Gpt_00162]
functionality to deinitialize timer [SWS_Gpt_00281] [SWS_Gpt_00308]
channels to their power on reset state
[SRS_Gpt_12117] The GPT Driver shall provide a [SWS_Gpt_00010] [SWS_Gpt_00083]
synchronous service for reading the [SWS_Gpt_00282] [SWS_Gpt_00283]
current timer value of each timer
channel
[SRS_Gpt_12119] The GPT driver shall provide the [SWS_Gpt_00013] [SWS_Gpt_00285]
service for stopping each channel of
the timer
[SRS_Gpt_12120] The GPT Driver shall provide a [SWS_Gpt_00233]
notification per channel that is called
when the time period has elapsed
[SRS_Gpt_12121] The GPT Driver shall provide the [SWS_Gpt_00014] [SWS_Gpt_00286]
functionality to enable the call of a
notification function per channel
during the runtime
[SRS_Gpt_12122] The GPT Driver shall provide the [SWS_Gpt_00015] [SWS_Gpt_00287]
functionality to disable the call of a
notification function per channel
during the runtime
[SRS_Gpt_12128] The GPT driver shall provide a [SWS_Gpt_00274] [SWS_Gpt_00275]
service for starting a timer with [SWS_Gpt_00284]
specific parameters
[SRS_Gpt_12328] The GPT driver shall use the time [SWS_Gpt_00359]
unit ticks for all API services which
are related to GPT timer channels
[SRS_Gpt_13601] The GPT Driver shall be capable of [SWS_Gpt_00127]
performing wakeup events, whenever
a predefined wakeup period has
expired
[SRS_Gpt_13602] The GPT driver shall provide a [SWS_Gpt_00159] [SWS_Gpt_00160]
service for enabling / disabling the [SWS_Gpt_00289] [SWS_Gpt_00290]
wake-up capability of single timer
channels
[SRS_Gpt_13603] The GPT driver shall provide a [SWS_Gpt_00151] [SWS_Gpt_00152]
service for selecting the Wake-up [SWS_Gpt_00153] [SWS_Gpt_00288]
mode
[SRS_Gpt_13604] The GPT driver shall support special [SWS_Gpt_00382]
free running up counters, so-called
GPT Predef Timers
[SRS_Gpt_13605] Different types of GPT Predef Timers [SWS_Gpt_00383] [SWS_Gpt_00389]
shall be supported by the GPT driver
[SRS_Gpt_13606] The GPT driver shall make it possible [SWS_Gpt_00385]
to configure statically which GPT
Predef Timers are enabled
[SRS_Gpt_13607] The GPT Predef Timers shall be [SWS_Gpt_00390] [SWS_Gpt_00391]
started/stopped automatically by the [SWS_Gpt_00392] [SWS_Gpt_00393]
GPT driver
[SRS_Gpt_13608] The GPT driver shall provide a [SWS_Gpt_00394] [SWS_Gpt_00395]
synchronous service for reading the [SWS_Gpt_00397]
current timer value of each GPT
Predef Timer
5
4
Requirement Description Satisfied by
[SRS_SPAL_00157] All drivers and handlers of the [SWS_Gpt_00014] [SWS_Gpt_00015]
AUTOSAR Basic Software shall [SWS_Gpt_00405] [SWS_Gpt_00406]
implement notification mechanisms of
drivers and handlers
[SRS_SPAL_12057] All driver modules shall implement an [SWS_Gpt_00006] [SWS_Gpt_00280]
interface for initialization
[SRS_SPAL_12063] All driver modules shall only support [SWS_Gpt_00359]
raw value mode
[SRS_SPAL_12064] All driver modules shall raise an error [SWS_Gpt_00405]
if the change of the operation mode
leads to degradation of running
operations
[SRS_SPAL_12067] All driver modules shall set their [SWS_Gpt_00014] [SWS_Gpt_00015]
wake-up conditions depending on the [SWS_Gpt_00233]
selected operation mode
[SRS_SPAL_12069] All drivers of the SPAL that wake up [SWS_Gpt_00209] [SWS_Gpt_00292]
from a wake-up interrupt shall report
the wake-up reason
[SRS_SPAL_12125] All driver modules shall only initialize [SWS_Gpt_00068]
the configured resources
[SRS_SPAL_12129] The ISRs shall be responsible for [SWS_Gpt_00206] [SWS_Gpt_00327]
resetting the interrupt flags and
calling the according notification
function
[SRS_SPAL_12163] All driver modules shall implement an [SWS_Gpt_00008] [SWS_Gpt_00281]
interface for de-initialization
[SRS_SPAL_12169] All driver modules that provide [SWS_Gpt_00151] [SWS_Gpt_00288]
different operation modes shall
provide a service for mode selection
[SRS_SPAL_12263] The implementation of all driver [SWS_Gpt_00357]
modules shall allow the configuration
of specific module parameter types at
link time
[SRS_SPAL_12448] All driver modules shall have a [SWS_Gpt_00332]
specific behavior after a development
error detection
[SRS_SPAL_12461] Specific rules regarding initialization [SWS_Gpt_00352] [SWS_Gpt_00353]
of controller registers shall apply to all [SWS_Gpt_00354] [SWS_Gpt_00355]
driver implementations [SWS_Gpt_00356]
7 Functional specification
The GPT driver provides services for starting and stopping timer channels (logical timer
instances assigned to a timer hardware), individual for each channel by calling of:
• Gpt_StartTimer
• Gpt_StopTimer
The "target time" is passed as a parameter to Gpt_StartTimer. So, for each start
of a timer channel, the target time can be set individually. The states and the state
transitions of a timer channel are shown in 7.1
Both, the relative time elapsed and the time remaining can be queried by calling:
• Gpt_GetTimeElapsed
• Gpt_GetTimeRemaining
Figure 7.4: of time elapsed / time remaining for a timer channel in "continuous mode"
c(SRS_Gpt_13605)
[SWS_Gpt_00384] dA GPT Predef Timer shall have a maximum tick tolerance of +/- 1
tick to ensure accuracy of time based functionality.c()
Which GPT Predef Timer(s) can be enabled depends on clock and available timer
hardware (prescaler, width of timer register). It is recommended to enable all GPT
Predef Timers to ensure compatibility of time based functionality for all platforms.
It is recommended to use one hardware timer per tick duration and to supply the hard-
ware timer directly with the clock source "fclock = 1 / (tick duration)" by good choice of
clock and prescaler(s). By this, the values of the timer counter register can be used di-
rectly without any need of adaptation (computation) for performance reasons. A lower
bit timer can be derived from a higher bit timer by a simple software mask operation.
For implementation of GPT Predef Timers, special hardware features may be used:
• Timers may be cascaded asynchronously to use a timer as a prescaler
• Timers may be cascaded synchronously to extend the timer range (number of
bits)
• Timers with bit number greater than 32 bit may be used
• Assembler code may be used to perform 64 bit arithmetic, if necessary GPT
internal, e.g. if a 48 bit timer with tick duration 250 ns or 1 µs is used for all GPT
Predef Timers
[SWS_Gpt_00385] dIt shall be possible to configure which GPT Predef Timers are
enabled.c(SRS_Gpt_13606)
[SWS_Gpt_00386] dIf a GPT Predef Timer is enabled, the timer(s) with the same tick
duration and lower bit number(s) shall be enabled also.c()
Implementation specific configuration parameters are allowed if needed, e.g. to select
the used hardware unit. All enabled GPT Predef Timers run after calling of:
• Gpt_Init ([SWS_Gpt_00390])
• Gpt_SetMode(GPT_MODE_NORMAL) ([SWS_Gpt_00392])
All enabled GPT Predef Timers are stopped by calling of:
• Gpt_DeInit ([SWS_Gpt_00391])
• Gpt_SetMode(GPT_MODE_SLEEP) ([SWS_Gpt_00393])
The current time value of the GPT Predef Timers can be got by calling of:
• Gpt_GetPredefTimerValue ([SWS_Gpt_00394])
constitutes a classification scheme consisting of five error types which may occur in
BSW modules.
Based on this foundation, the following section specifies particular errors arranged in
the respective subsections below.
c()
c()
8 API specification
c(SRS_BSW_00348)
8.2.1 Gpt_ConfigType
8.2.2 Gpt_ChannelType
4
Range – – Implementation specific. But not
all values may be valid within this
type. This type shall be chosen in
order to have the most efficient
implementation on a specific
micro controller platform.
Description Numeric ID of a GPT channel.
Available via Gpt.h
c(SRS_BSW_00305)
8.2.3 Gpt_ValueType
8.2.4 Gpt_ModeType
c(SRS_BSW_00441, SRS_BSW_00305)
8.2.5 Gpt_PredefTimerType
c(SRS_Gpt_13605)
8.3.1 Gpt_GetVersionInfo
c(SRS_BSW_00407)
[SWS_Gpt_00338] dIf development error detection is enabled for the GPT module:
If the parameter VersionInfoPtr is a null pointer, the function Gpt_GetVersion-
Info shall raise the error GPT_E_PARAM_POINTER.c(SRS_BSW_00323)
8.3.2 Gpt_Init
If the GPT driver is not in operation mode "uninitialized", the function Gpt_Init shall
raise the error GPT_E_ALREADY_INITIALIZED.c()
[SWS_Gpt_00258] dThe function Gpt_Init shall disable all wakeup interrupts, con-
trolled by the GPT driver.c()
[SWS_Gpt_00339] dThe function Gpt_Init shall set the operation mode of the GPT
driver to "normal mode". This leads to a behavior like Gpt_SetMode is called with
parameter GPT_MODE_NORMAL.c()
[SWS_Gpt_00309] dA re-initialization of the GPT driver by executing the Gpt_Init
function requires a de-initialization before by executing a Gpt_DeInit.c()
[SWS_Gpt_00390] dThe function Gpt_Init shall start all enabled GPT Predef Timers
at value "0".c(SRS_Gpt_13607)
8.3.3 Gpt_DeInit
located by the runtime configuration set passed by the previous call of the function
Gpt_Init.c(SRS_Gpt_12116)
[SWS_Gpt_00194] dThe function Gpt_DeInit shall be pre compile time configurable
On/Off by the configuration parameter: GptDeInitApi.c(SRS_BSW_00171)
[SWS_Gpt_00363] dThe function Gpt_DeInit shall set the operation mode of the
GPT driver to "uninitialized".c()
[SWS_Gpt_00234] dIf any timer channel is in state "running", the function Gpt_-
DeInit shall raise the runtime error GPT_E_BUSY.c()
[SWS_Gpt_00220] dIf development error detection is enabled for the GPT module:
If the driver is not initialized, the function Gpt_DeInit shall raise the error GPT_E_-
UNINIT.c(SRS_BSW_00406)
[SWS_Gpt_00391] dThe function Gpt_DeInit shall stop all enabled GPT Predef
Timers.c(SRS_Gpt_13607)
8.3.4 Gpt_GetTimeElapsed
c(SRS_Gpt_12117)
[SWS_Gpt_00010] dThe function Gpt_GetTimeElapsed shall return the time al-
ready elapsed. When the Channel is in mode "one-shot mode", this is the value
relative to the point in time, the Channel has been started.c(SRS_Gpt_12117)
[SWS_Gpt_00361] dWhen the Channel is in mode "continuous mode", the return
value of Gpt_GetTimeElapsed is the value relative to the last recurrence (target
time reached) or to the start of the Channel before the first recurrence occurs.c()
[SWS_Gpt_00295] dIf the function Gpt_GetTimeElapsed is called on a timer Chan-
nel in state "initialized" (Channel started never before), the function shall return the
value "0".c()
8.3.5 Gpt_GetTimeRemaining
4
Sync/Async Synchronous
Reentrancy Reentrant
Parameters (in) Channel Numeric identifier of the GPT channel.
Parameters (inout) None
Parameters (out) None
Return value Gpt_ValueType Remaining timer value (in number of ticks)
Description Returns the time remaining until the target time is reached.
Available via Gpt.h
c(SRS_Gpt_12117)
[SWS_Gpt_00083] dThe function Gpt_GetTimeRemaining shall return the timer
value remaining until the target time will be reached next time. The remaining time
is the "target time" minus the time already elapsed.c(SRS_Gpt_12117)
[SWS_Gpt_00301] dIf the function Gpt_GetTimeRemaining is called on a timer
Channel in state "initialized" (Channel started never before), the function shall return
the value "0".c()
[SWS_Gpt_00303] dIf the function Gpt_GetTimeRemaining is called on a timer
Channel in state "stopped", the function shall return the remaining time value at the
moment of stopping.c()
[SWS_Gpt_00305] dIf the function Gpt_GetTimeRemaining is called on a Channel
configured for "one-shot mode" in state "expired" (timer has reached the target time),
the function shall return the value "0".c()
[SWS_Gpt_00114] dThe function Gpt_GetTimeRemaining shall be fully reentrant,
this means even for the same timer Channel.c()
[SWS_Gpt_00196] dThe function Gpt_GetTimeRemaining shall be pre compile
time configurable On/Off by the configuration parameter: GptTimeRemainingApi.c
(SRS_BSW_00171)
[SWS_Gpt_00223] dIf development error detection is enabled for GPT module:
If the driver is not initialized, the function Gpt_GetTimeRemaining shall raise the
error GPT_E_UNINIT.c(SRS_BSW_00406)
[SWS_Gpt_00211] dIf development error detection is enabled for GPT module:
If the parameter Channel is invalid (not within the range specified by configuration), the
function Gpt_GetTimeRemaining shall raise the error GPT_E_PARAM_CHANNEL.c()
State / Circumstance Timer channel state Return value Development error (if
enabled)
Driver uninitialized - 0 GPT_E_UNINIT
Driver initialized initialized 0 -
running remaining time -
5
4
State / Circumstance Timer channel state Return value Development error (if
enabled)
stopped remaining time at moment of -
stopping
expired (only one-shot 0 -
mode)
Invalid parameter "Channel" all 0 GPT_E_PARAM_CHANNEL
8.3.6 Gpt_StartTimer
c(SRS_Gpt_12128)
[SWS_Gpt_00274] dThe function Gpt_StartTimer shall start the selected timer
Channel with a defined target time.c(SRS_Gpt_12128)
[SWS_Gpt_00275] dIf configured and enabled, an interrupt notification or a wakeup
interrupt occurs, when the target time is reached.c(SRS_Gpt_12128)
[SWS_Gpt_00115] dThe function Gpt_StartTimer shall be reentrant, if the timer
Channels used in concurrent calls are different.c()
[SWS_Gpt_00364] dThe state of the selected timer Channel shall be changed to
"running" if Gpt_StartTimer is called.c()
[SWS_Gpt_00212] dIf development error detection is enabled for GPT module:
If the parameter Channel is invalid (not within the range specified by configuration),
the function Gpt_StartTimer shall raise the error GPT_E_PARAM_CHANNEL.c()
[SWS_Gpt_00218] dIf development error detection is enabled for GPT module:
The function Gpt_StartTimer shall raise the error GPT_E_PARAM_VALUE if the pa-
rameter Value is "0" or not within the allowed range (exceeding the maximum timer
resolution).c(SRS_BSW_00323)
[SWS_Gpt_00224] dIf development error detection is enabled for GPT module:
If the driver is not initialized, the function Gpt_StartTimer shall raise the error GPT_-
E_UNINIT.c(SRS_BSW_00406)
[SWS_Gpt_00084] dIf the function Gpt_StartTimer is called on a Channel in state
"running", the function shall raise the runtime error GPT_E_BUSY.c()
8.3.7 Gpt_StopTimer
c(SRS_Gpt_12119)
[SWS_Gpt_00013] dThe function Gpt_StopTimer shall stop the selected timer
Channel.c(SRS_Gpt_12119)
[SWS_Gpt_00343] dThe state of the selected timer Channel shall be changed to
"stopped" if Gpt_StopTimer is called.c()
[SWS_Gpt_00099] dIf development error detection is enabled for GPT module:
If the function Gpt_StopTimer is called on a Channel in state "initialized", "stopped"
or "expired", the function shall not raise a development error.c()
[SWS_Gpt_00344] dIf the function Gpt_StopTimer is called on a Channel in state
"initialized", "stopped" or "expired", the function shall leave without any action (no
change of the Channel state).c()
[SWS_Gpt_00116] dThe function Gpt_StopTimer shall be reentrant, if the timer
Channels used in concurrent calls are different.c()
[SWS_Gpt_00213] dIf development error detection is enabled for GPT module:
If the parameter Channel is invalid (not within the range specified by configuration),
the function Gpt_StopTimer shall raise the error GPT_E_PARAM_CHANNEL.c()
[SWS_Gpt_00225] dIf development error detection is enabled for GPT module:
If the driver is not initialized, the function Gpt_StopTimer shall raise the error GPT_-
E_UNINIT.c(SRS_BSW_00406)
8.3.8 Gpt_EnableNotification
c(SRS_Gpt_12121)
[SWS_Gpt_00014] dThe function Gpt_EnableNotification shall enable the in-
terrupt notification of the referenced Channel configured for notification (see also
[SWS_Gpt_00233]). The function shall save an attribute like "notification enabled" of
the Channel.c(SRS_SPAL_00157, SRS_SPAL_12067, SRS_Gpt_12121) Comment:
This attribute affects the interrupt notification always when the driver is in "normal
mode". In "sleep mode" the attribute has no influence.
[SWS_Gpt_00117] dThe function Gpt_EnableNotification shall be reentrant, if
the timer Channels used in concurrent calls are different.c()
[SWS_Gpt_00199] dThe function Gpt_EnableNotification shall be pre compile
time configurable On/Off by the configuration parameter: GptEnableDisableNoti-
ficationApi.c(SRS_BSW_00171)
[SWS_Gpt_00226] dIf development error detection is enabled for GPT module:
If the driver is not initialized, the function Gpt_EnableNotification shall raise the
error GPT_E_UNINIT.c(SRS_BSW_00406)
[SWS_Gpt_00214] dIf development error detection is enabled for GPT module:
If the parameter Channel is invalid (not within the range specified by configuration), the
function Gpt_EnableNotification shall raise the error GPT_E_PARAM_CHANNEL.c
()
[SWS_Gpt_00377] dIf development error detection is enabled for GPT module:
If no valid notification function is configured (GptNotification), the function Gpt_En-
ableNotification shall raise the error GPT_E_PARAM_CHANNEL.c()
8.3.9 Gpt_DisableNotification
c(SRS_Gpt_12122)
[SWS_Gpt_00015] dThe function Gpt_DisableNotification shall disable the in-
terrupt notification of the referenced Channel configured for notification (see also
[SWS_Gpt_00233]). The function shall save an attribute like "notification disabled" of
the Channel.c(SRS_SPAL_00157, SRS_Gpt_12122, SRS_SPAL_12067) Comment:
This attribute affects the interrupt notification always when the driver is in "normal
mode". In "sleep mode" the attribute has no influence.
[SWS_Gpt_00118] dThe function Gpt_DisableNotification shall be reentrant, if
the timer Channels used in concurrent calls are different.c()
[SWS_Gpt_00200] dThe function Gpt_DisableNotification shall be pre compile
time configurable On/Off by the configuration parameter: GptEnableDisableNotifica-
tionApi.c(SRS_BSW_00171)
[SWS_Gpt_00227] dIf development error detection is enabled for GPT module:
If the driver is not initialized, the function Gpt_DisableNotification shall raise the
error GPT_E_UNINIT.c(SRS_BSW_00406)
[SWS_Gpt_00217] dIf development error detection is enabled for GPT module:
If the parameter Channel is invalid (not within the range specified by configuration), the
function Gpt_DisableNotification shall raise the error GPT_E_PARAM_CHAN-
NEL.c()
[SWS_Gpt_00379] dIf development error detection is enabled for GPT module:
If no valid notification function is configured (GptNotification), the function Gpt_Dis-
ableNotification shall raise the error GPT_E_PARAM_CHANNEL.c()
8.3.10 Gpt_SetMode
c(SRS_SPAL_12169, SRS_Gpt_13603)
[SWS_Gpt_00151] dThe function Gpt_SetMode shall set the operation mode of the
GPT driver to the given Mode parameter.c(SRS_SPAL_12169, SRS_Gpt_13603)
[SWS_Gpt_00255] dThe function Gpt_SetMode is only available if the configuration
parameter GptReportWakeupSource is enabled.c()
[SWS_Gpt_00152] dIf the parameter Mode has the value GPT_MODE_NORMAL:
The function Gpt_SetMode shall enable the interrupt notification for all channels which
are configured for notification and the notification is enabled (stored attribute) via the
function Gpt_EnableNotification prior. All other interrupt notifications shall be
disabled.c(SRS_Gpt_13603)
[SWS_Gpt_00153] dIf the parameter Mode has the value GPT_MODE_SLEEP:
The function Gpt_SetMode shall enable the wakeup interrupts for all channels which
are configured for wakeup and the wakeup is enabled (stored attribute) via the function
8.3.11 Gpt_DisableWakeup
c(SRS_Gpt_13602)
[SWS_Gpt_00159] dThe function Gpt_DisableWakeup shall disable the wakeup in-
terrupt of the referenced Channel configured for wakeup. The function shall save an
attribute like "wakeup disabled" of the Channel.c(SRS_Gpt_13602) Comment: This
attribute affects the wakeup interrupt always when the driver is in "sleep mode". In
"normal mode" the attribute has no influence.
[SWS_Gpt_00157] dThe function Gpt_DisableWakeup is only feasible, if GptReport-
WakeupSource is statically configured available.c()
[SWS_Gpt_00155] dThe function Gpt_DisableWakeup shall be reentrant, if the timer
channels used in concurrent calls are different.c()
[SWS_Gpt_00202] dThe function Gpt_DisableWakeup shall be pre compile time
configurable On/Off by the configuration parameter: GptWakeupFunctional-
ityApi.c(SRS_BSW_00171)
[SWS_Gpt_00215] dIf development error detection is enabled for GPT module:
If the parameter Channel is invalid (not within the range specified by configuration)
or channel wakeup is not enabled by configuration (GptEnableWakeup), the function
Gpt_DisableWakeup shall raise the error GPT_E_PARAM_CHANNEL.c()
[SWS_Gpt_00229] dIf development error detection is enabled for GPT module:
If the driver is not initialized, the function Gpt_DisableWakeup shall raise the error
GPT_E_UNINIT.c(SRS_BSW_00406)
8.3.12 Gpt_EnableWakeup
c(SRS_Gpt_13602)
[SWS_Gpt_00160] dThe function Gpt_EnableWakeup shall enable the wakeup in-
terrupt of the referenced Channel configured for wakeup. The function shall save
an attribute like "wakeup enabled" of the channel.c(SRS_Gpt_13602) Comment: This
attribute affects the wakeup interrupt always when the driver is in "sleep mode". In
"normal mode" the attribute has no influence.
[SWS_Gpt_00158] dThe function Gpt_EnableWakeup is only feasible, if GptReport-
WakeupSource is statically configured available.c()
[SWS_Gpt_00156] dThe function Gpt_EnableWakeup shall be reentrant, if the timer
Channels used in concurrent calls are different.c()
[SWS_Gpt_00203] dThe function Gpt_EnableWakeup shall be pre compile time con-
figurable On/Off by the configuration parameter: GptWakeupFunctionalityApi.c
(SRS_BSW_00171)
[SWS_Gpt_00230] dIf development error detection is enabled for GPT module:
If the driver is not initialized, the function Gpt_EnableWakeup shall raise the error
GPT_E_UNINIT.c(SRS_BSW_00406)
[SWS_Gpt_00216] dIf development error detection is enabled for GPT module:
If the parameter Channel is invalid (not within the range specified by configuration)
or channel wakeup is not enabled by configuration (GptEnableWakeup), the function
Gpt_EnableWakeup shall raise the error GPT_E_PARAM_CHANNEL.c()
8.3.13 Gpt_CheckWakeup
c()
[SWS_Gpt_00321] dThe function Gpt_CheckWakeup shall check if a wakeup capable
GPT channel is the source for a wakeup event and call EcuM_SetWakeupEvent to
indicate a valid timer wakeup event to the ECU State Manager [5].c()
[SWS_Gpt_00322] dThe function Gpt_CheckWakeup is only feasible, if GptReport-
WakeupSource is statically configured available.c()
[SWS_Gpt_00323] dThe function Gpt_CheckWakeup shall be reentrant, by reason of
possible usage in concurrent interrupt service routines.c()
[SWS_Gpt_00324] dThe function Gpt_CheckWakeup shall be pre compile time con-
figurable On/Off by the configuration parameter: GptWakeupFunctionalityApi.c
()
[SWS_Gpt_00325] dIf development error detection is enabled for GPT module:
If the driver is not initialized, the function Gpt_CheckWakeup shall raise the error
GPT_E_UNINIT.c(SRS_BSW_00406)
8.3.14 Gpt_GetPredefTimerValue
Note: This section defines all interfaces, which are required to fulfill the core function-
ality of the module.
[SWS_Gpt_00405] d
API function Description
Det_ReportRuntimeError Service to report runtime errors.
c(SRS_SPAL_00157, SRS_SPAL_12064)
This section defines all interfaces, which are required to fulfill an optional functionality
of the module.
[SWS_Gpt_00406] Definition of optional interfaces in module Gpt d
API Function Header File Description
Det_ReportError Det.h Service to report development errors.
EcuM_CheckWakeup EcuM.h This function can be called to check the given
wakeup sources. It will pass the argument to the
integrator function EcuM_CheckWakeupHook. It can
also be called by the ISR of a wakeup source to set
up the PLL and check other wakeup sources that
may be connected to the same interrupt.
EcuM_SetWakeupEvent EcuM.h Sets the wakeup event.
c(SRS_SPAL_00157)
[SWS_Gpt_00326] dEcuM_CheckWakeup shall be called within the Interrupt Service
Routine, servicing the GPT channel wakeup event on wakeup-capable channels.c()
[SWS_Gpt_00327] dThe ISR’s, providing the wakeup events, shall be responsible for
resetting the interrupt flags (if needed by hardware).c(SRS_SPAL_12129)
In this section, all interfaces are listed where the target function could be configured.
The target function is usually a callback function. The names of this kind of interfaces
are not fixed because they are configurable.
c(SRS_BSW_00375, SRS_SPAL_12069)
The notification prototype Gpt_Notification_<channel> is for the notification call-
back function and shall be implemented by the user.
The GPT module’s environment shall declare a separate notification for each channel
to avoid parameters in notification services and to improve run time efficiency.
[SWS_Gpt_00086] dThe callback notifications Gpt_Notification_<channel>
shall be configurable as pointers to user defined functions within the configuration
structure.c()
[SWS_Gpt_00209] dEach channel shall provide its own notification if configured.c
(SRS_BSW_00375, SRS_SPAL_12069)
[SWS_Gpt_00093] dWhen disabled, the GPT Driver will send no notification.c()
[SWS_Gpt_00233] dThe GPT Driver shall invoke a notification whenever the defined
target time of the channel is reached.c(SRS_SPAL_12067, SRS_Gpt_12120)
[SWS_Gpt_00206] dThe ISR’s, providing the timer events, shall be responsible for re-
setting the interrupt flags (if needed by hardware) and calling the according notification
function.c(SRS_SPAL_12129)
[SWS_Gpt_00362] dFor all available channels, callback functions have to be declared
by the configuration tool.c()
9 Sequence diagrams
All functions except Gpt_Init, Gpt_DeInit, Gpt_GetVersionInfo and Gpt_SetMode are
synchronous and re-entrant.
9.1 Gpt_Init
The ECU State Manager (EcuM) is responsible for calling the init function.
«module» «module»
EcuM Gpt
Gpt_Init(const
Gpt_ConfigType*)
Gpt_Init()
Gpt_EnableNotification(Gpt_ChannelType)
Gpt_EnableNotification()
Gpt_StartTimer(Gpt_ChannelType,
Gpt_ValueType)
Gpt_StartTimer()
Timer has reached
target time (set by
Gpt_StartTimer) and
continuous running.
Gpt_Notification_Channel2()
Gpt_Notification_Channel2()
Gpt_GetTimeElapsed(Gpt_ValueType,
Gpt_ChannelType): Gpt_ValueType
Gpt_GetTimeElapsed()
Timer has reached
target time (set by
Gpt_StartTimer) and
continuous running.
Gpt_Notification_Channel2()
Gpt_Notification_Channel2()
Gpt_Notification_Channel2()
Gpt_Notification_Channel2()
Gpt_StopTimer(Gpt_ChannelType)
Gpt_StopTimer()
Gpt_EnableNotification(Gpt_ChannelType)
Gpt_EnableNotification()
Gpt_StartTimer(Gpt_ChannelType,
Gpt_ValueType)
Gpt_StartTimer()
Timer has reached target time
(set by Gpt_StartTimer)
Gpt_Notification_Channel1()
Gpt_Notification_Channel1()
Gpt_StartTimer(Gpt_ChannelType,
Gpt_ValueType)
Gpt_StartTimer()
Gpt_GetTimeRemaining(Gpt_ValueType,
Gpt_ChannelType): Gpt_ValueType
Gpt_StopTimer(Gpt_ChannelType)
Gpt_StopTimer()
Gpt_DeInit()
Gpt_DeInit()
Gpt_EnableNotification(Gpt_ChannelType)
Gpt_EnableNotification()
Gpt_StartTimer(Gpt_ChannelType,
Gpt_ValueType)
Gpt_StartTimer()
Gpt_Notification_<channel>()
Gpt_DisableNotification(Gpt_ChannelType)
Timer has reached
target time (set by
Gpt_DisableNotification() Gpt_StartTimer) and
continuous running.
Gpt_EnableNotification(Gpt_ChannelType)
Timer has reached
Gpt_EnableNotification() target time (set by
Gpt_StartTimer) and
continuous running.
Gpt_Notification_<channel>()
9.5 Wakeup
Note: Sequence charts on timer wakeup can be found in the ECU state manager
specification [5].
10 Configuration specification
In general, this chapter defines configuration parameters and their clustering into con-
tainers. In order to support the specification Chapter 10.1 describes fundamentals.
It also specifies a template (table) you shall use for the parameter specification. We
intend to leave Chapter 10.1 in the specification to guarantee comprehension.
Chapter 10.2 specifies the structure (containers) and the parameters of the module
GPT.
Chapter 10.3 specifies published information of the module GPT.
10.2.1 Gpt
Included Containers
Container Name Multiplicity Scope / Dependency
GptChannelConfigSet 1 This container is the base of a Configuration Set which contains
the configured GPT channels. This way, different configuration
sets can be defined for post-build process.
GptConfigurationOfOptApiServices 1 This container contains all configuration switches for configuring
optional API services of the GPT driver.
GptDriverConfiguration 1 This container contains the module-wide configuration
(parameters) of the GPT Driver
10.2.2 GptDriverConfiguration
4
GPT_PREDEF_ 16, 24 and 32bit timers enabled
TIMER_1US_16_24_32BIT_
ENABLED
GPT_PREDEF_TIMER_1US_ disabled
DISABLED
Post-Build Variant Value false
Value Configuration Class Pre-compile time X All Variants
Link time –
Post-build time –
Scope / Dependency scope: ECU
Included Containers
Container Name Multiplicity Scope / Dependency
GptClockReferencePoint 1..* This container contains a parameter, which represents a
reference to a container of the type McuClockReferencePoint
(defined in module MCU).
GptConfigurationOfOptApiServices:
EcucParamConfContainerDef
+container GptChannelConfigSet:
Gpt: EcucModuleDef upperMultiplicity = 1 GptChannelConfiguration:
EcucParamConfContainerDef +subContainer EcucParamConfContainerDef
upperMultiplicity = 1 lowerMultiplicity = 1
lowerMultiplicity = 0 lowerMultiplicity = 1 upperMultiplicity = *
+container upperMultiplicity = 1 lowerMultiplicity = 1
GptChannelEcucPartitionRef:
EcucReferenceDef +reference
lowerMultiplicity = 0
upperMultiplicity = *
+destination
+container
GptEcucPartitionRef: EcucPartition:
GptDriverConfiguration: +reference EcucReferenceDef +destination EcucParamConfContainerDef
EcucParamConfContainerDef
lowerMultiplicity = 0 lowerMultiplicity = 0
lowerMultiplicity = 1 upperMultiplicity = * upperMultiplicity = *
upperMultiplicity = 1
+destination
GptKernelEcucPartitionRef:
+reference
EcucReferenceDef
lowerMultiplicity = 0
upperMultiplicity = 1 GPT_PREDEF_TIMER_1US_DISABLED:
EcucEnumerationLiteralDef
+literal
GptPredefTimer1usEnablingGrade:
EcucEnumerationParamDef
+literal GPT_PREDEF_TIMER_1US_16BIT_ENABLED:
EcucEnumerationLiteralDef
+parameter
+literal GPT_PREDEF_TIMER_1US_16_24BIT_ENABLED:
EcucEnumerationLiteralDef
+literal
GPT_PREDEF_TIMER_1US_16_24_32BIT_ENABLED:
EcucEnumerationLiteralDef
+parameter GptPredefTimer100us32bitEnable:
EcucBooleanParamDef
GptDevErrorDetect:
+parameter EcucBooleanParamDef
defaultValue = false
+parameter
GptReportWakeupSource:
EcucBooleanParamDef
+subContainer GptClockReferencePoint:
EcucParamConfContainerDef
lowerMultiplicity = 1
upperMultiplicity = *
10.2.3 GptClockReferencePoint
No Included Containers
GptClockReferencePoint: McuClockReferencePoint:
EcucParamConfContainerDef +reference GptClockReference: +destination EcucParamConfContainerDef
EcucReferenceDef
lowerMultiplicity = 1 upperMultiplicity = *
upperMultiplicity = * lowerMultiplicity = 1
10.2.4 GptChannelConfigSet
Included Containers
Container Name Multiplicity Scope / Dependency
GptChannelConfiguration 1..* This container contains the channel specific configuration of the
GPT Driver.
10.2.5 GptChannelConfiguration
4
Post-Build Variant Value true
Value Configuration Class Pre-compile time X VARIANT-PRE-COMPILE
Link time –
Post-build time X VARIANT-POST-BUILD
Scope / Dependency scope: ECU
4
Value Configuration Class Pre-compile time X VARIANT-PRE-COMPILE
Link time –
Post-build time X VARIANT-POST-BUILD
Scope / Dependency scope: local
Included Containers
Container Name Multiplicity Scope / Dependency
GptWakeupConfiguration 0..1 Function pointer to callback function (for non-wakeup
notification).
+container +subContainer
GptChannelConfigSet: GptClockReferencePoint:
EcucParamConfContainerDef EcucParamConfContainerDef
lowerMultiplicity = 1 lowerMultiplicity = 1
upperMultiplicity = 1 upperMultiplicity = *
+destination
+subContainer
upperMultiplicity = *
lowerMultiplicity = 1
GptChannelId:
+parameter EcucIntegerParamDef
min = 0
max = 4294967295
symbolicNameValue = true
GptEnableWakeup:
+parameter EcucBooleanParamDef
GptNotification:
+parameter EcucFunctionNameDef
lowerMultiplicity = 0
upperMultiplicity = 1
GPT_CH_MODE_CONTINUOUS:
+literal
GptChannelMode: EcucEnumerationLiteralDef
+parameter EcucEnumerationParamDef
+literal GPT_CH_MODE_ONESHOT:
EcucEnumerationLiteralDef
GptWakeupConfiguration: GptWakeupSourceRef:
+reference
+subContainer EcucParamConfContainerDef EcucReferenceDef
GptChannelTickFrequency: EcuMWakeupSource:
+parameter EcucFloatParamDef EcucParamConfContainerDef
min = 0 lowerMultiplicity = 1
max = INF upperMultiplicity = 32
GptChannelTickValueMax:
+parameter EcucIntegerParamDef
min = 0
max = 18446744073709551615
GptChannelEcucPartitionRef: EcucPartition:
+reference +destination
EcucReferenceDef EcucParamConfContainerDef
lowerMultiplicity = 0 lowerMultiplicity = 0
upperMultiplicity = * upperMultiplicity = *
10.2.6 GptWakeupConfiguration
No Included Containers
10.2.7 GptConfigurationOfOptApiServices
4
Post-Build Variant Value false
Value Configuration Class Pre-compile time X All Variants
Link time –
Post-build time –
Scope / Dependency scope: local
No Included Containers
+parameter GptDeinitApi:
EcucBooleanParamDef
GptEnableDisableNotificationApi:
EcucBooleanParamDef +parameter
+parameter GptTimeElapsedApi:
EcucBooleanParamDef
GptWakeupFunctionalityApi: +parameter
EcucBooleanParamDef
GptTimeRemainingApi:
GptVersionInfoApi: +parameter +parameter EcucBooleanParamDef
EcucBooleanParamDef
defaultValue = false
lished within the header file of this module and need to be provided in the BSW Module
Description. The according module abbreviation can be found in the List of Basic Soft-
ware Modules [7].c()
Additional module-specific published parameters are listed below if applicable.