![]() |
MCUSW
|
This component provides services for initialization and control of the ICU unit. The ICU module captures and measures signals. signal period time.
Sub Modules | |
| ICU Configuration | |
| ICU Driver Interrupt Handlers | |
ICU Driver ID Info | |
| #define | ICU_VENDOR_ID ((uint16) 44U) |
| Texas Instruments Vendor ID. More... | |
| #define | ICU_MODULE_ID ((uint16) 122U) |
| ICU Driver Module ID. More... | |
| #define | ICU_INSTANCE_ID ((uint8) 0U) |
| ICU Driver Instance ID. More... | |
ICU Driver Module SW Version Info | |
Defines for ICU Driver version used for compatibility checks | |
| #define | ICU_SW_MAJOR_VERSION (9U) |
| Driver Implementation Major Version. More... | |
| #define | ICU_SW_MINOR_VERSION (1U) |
| Driver Implementation Minor Version. More... | |
| #define | ICU_SW_PATCH_VERSION (0U) |
| Driver Implementation Patch Version. More... | |
ICU Driver Module AUTOSAR Version Info | |
Defines for ICU Driver AUTOSAR version used for compatibility checks | |
| #define | ICU_AR_RELEASE_MAJOR_VERSION (4U) |
| AUTOSAR Major version specification implemented by ICU Driver. More... | |
| #define | ICU_AR_RELEASE_MINOR_VERSION (3U) |
| AUTOSAR Minor version specification implemented by ICU Driver. More... | |
| #define | ICU_AR_RELEASE_REVISION_VERSION (1U) |
| AUTOSAR Patch version specification implemented by ICU Driver. More... | |
ICU Service IDs | |
The Service Id is one of the argument to Det_ReportError function and is used to identify the source of the error | |
| #define | ICU_INIT_ID ((uint8) 0x00U) |
| Icu_Init() API Service ID. More... | |
| #define | ICU_DEINIT_ID ((uint8) 0x01U) |
| Icu_DeInit() API Service ID. More... | |
| #define | ICU_SETMODE_ID ((uint8) 0x02U) |
| Icu_SetMode() API Service ID. More... | |
| #define | ICU_SETACTIVATIONCONDITION_ID ((uint8) 0x05U) |
| Icu_SetActivationCondition() API Service ID. More... | |
| #define | ICU_DISABLENOTIFICATION_ID ((uint8) 0x06U) |
| Icu_DisableNotification() API Service ID. More... | |
| #define | ICU_ENABLENOTIFICATION_ID ((uint8) 0x07U) |
| Icu_EnableNotification() API Service ID. More... | |
| #define | ICU_GETINPUTSTATE_ID ((uint8) 0x08U) |
| Icu_GetInputState() API Service ID. More... | |
| #define | ICU_STARTTIMESTAMP_ID ((uint8) 0x09U) |
| Icu_StartTimestamp() API Service ID. More... | |
| #define | ICU_STOPTIMESTAMP_ID ((uint8) 0x0AU) |
| Icu_StopTimestamp() API Service ID. More... | |
| #define | ICU_GETTIMESTAMPINDEX_ID ((uint8) 0x0BU) |
| Icu_GetTimeStampIndex() API Service ID. More... | |
| #define | ICU_RESETEDGECOUNT_ID ((uint8) 0x0CU) |
| Icu_ResetEdgeCount() API Service ID. More... | |
| #define | ICU_ENABLEEDGECOUNT_ID ((uint8) 0x0DU) |
| Icu_EnableEdgeCount() API Service ID. More... | |
| #define | ICU_ENABLEEDGEDETECTION_ID ((uint8) 0x16U) |
| Icu_EnableEdgeDetection() API Service ID. More... | |
| #define | ICU_DISABLEEDGEDETECTION_ID ((uint8) 0x17U) |
| Icu_DisableEdgeDetection() API Service ID. More... | |
| #define | ICU_DISABLEEDGECOUNT_ID ((uint8) 0x0EU) |
| Icu_DisableEdgeCount() API Service ID. More... | |
| #define | ICU_GETEDGENUMBERS_ID ((uint8) 0x0FU) |
| Icu_GetEdgeNumbers() API Service ID. More... | |
| #define | ICU_STARTSIGNALMEASUREMENT_ID ((uint8) 0x13U) |
| Icu_StartSignalMeasurement() API Service ID. More... | |
| #define | ICU_STOPSIGNALMEASUREMENT_ID ((uint8) 0x14U) |
| Icu_StopSignalMeasurement() API Service ID. More... | |
| #define | ICU_GETTIMEELAPSED_ID ((uint8) 0x10U) |
| Icu_GetTimeElapsed() API Service ID. More... | |
| #define | ICU_GETDUTYCYCLEVALUES_ID ((uint8) 0x11U) |
| Icu_GetDutyCycleValues() API Service ID. More... | |
| #define | ICU_GETVERSIONINFO_ID ((uint8) 0x12U) |
| Icu_GetVersionInfo() API Service ID. More... | |
| #define | ICU_SID_REGISTER_READBACK ((uint8) 0x18U) |
| Icu_Regesterreadback() API Serviece ID. More... | |
ICU Error Codes | |
| #define | ICU_E_PARAM_POINTER ((uint8) 0x0AU) |
| API service called with invalid pointer. More... | |
| #define | ICU_E_PARAM_CHANNEL ((uint8) 0x0BU) |
| API service called with invalid channel identifier or channel not configured. More... | |
| #define | ICU_E_PARAM_ACTIVATION ((uint8) 0x0CU) |
| API service calleed with an invalid or not feasible activation. More... | |
| #define | ICU_E_INIT_FAILED ((uint8) 0x0DU) |
| Init Function Failed. More... | |
| #define | ICU_E_PARAM_BUFFER_SIZE ((uint8) 0x0EU) |
| API service used with invalid Buffer size. More... | |
| #define | ICU_E_PARAM_MODE ((uint8) 0x0FU) |
| API service called with invalid mode. More... | |
| #define | ICU_E_UNINIT ((uint8) 0x14U) |
| API service calleed without module initialisation. More... | |
| #define | ICU_E_NOT_STARTED ((uint8) 0x16U) |
| Icu_StopTimestamp called on channel not started or already stopped. More... | |
| #define | ICU_E_BUSY_OPERATION ((uint8) 0x16U) |
| API service called while a running operation. More... | |
| #define | ICU_E_ALREADY_INITIALIZED ((uint8) 0x17U) |
| API service Icu_Init called when module already initialized. More... | |
| #define | ICU_E_PARAM_NOTIFY_INTERVAL ((uint8) 0x18U) |
| API service called when notify interval is invalid. More... | |
| #define | ICU_E_PARAM_VINFO ((uint8) 0x19U) |
| API service Icu_GetVersionInfo called and parameter is invalid. More... | |
ICU Driver State Values | |
| #define | ICU_STATUS_UNINIT ((uint8)(0U)) |
| ICU driver Status uninitialized. More... | |
| #define | ICU_STATUS_INIT ((uint8)(1U)) |
| ICU driver Status Initialized. More... | |
Macros to define Rising and Falling edge config for capture registers | |
| #define | ICU_FALLING ((uint8)(0U)) |
| Capture regsiter configuration for FALLING edge More... | |
| #define | ICU_RISING ((uint8)(1U)) |
| Capture regsiter configuration for RISING edge More... | |
| enum | Icu_ModeType { ICU_MODE_NORMAL, ICU_MODE_SLEEP } |
| This type defines a range of mode type. More... | |
| enum | Icu_InputStateType { ICU_ACTIVE, ICU_IDLE } |
| This type defines a input state of ICU driver. More... | |
| enum | Icu_ActivationType { ICU_RISING_EDGE, ICU_FALLING_EDGE, ICU_BOTH_EDGES } |
| This type defines Activation range. More... | |
| enum | Icu_MeasurementModeType { ICU_MODE_SIGNAL_EDGE_DETECT, ICU_MODE_SIGNAL_MEASUREMENT, ICU_MODE_TIMESTAMP, ICU_MODE_EDGE_COUNTER } |
| This type defines available measurement modes. More... | |
| enum | Icu_SignalMeasurementPropertyType { ICU_LOW_TIME, ICU_HIGH_TIME, ICU_PERIOD_TIME, ICU_DUTY_CYCLE } |
| This type defines Signal Measurement Property range. More... | |
| enum | Icu_TimestampBufferType { ICU_LINEAR_BUFFER, ICU_CIRCULAR_BUFFER } |
| This type defines TimeStamp Property range. More... | |
| typedef uint32 | Icu_ValueType |
| This type defines Value type. More... | |
| typedef uint32 | Icu_IndexType |
| This type defines return value Icu_GetTimeStampIndex. More... | |
| typedef uint32 | Icu_EdgeNumberType |
| This type defines return value of Icu-Icu_GetEdgeNumbers. More... | |
| typedef void(* | Icu_NotifyFuncType) (void) |
| Notification callback function pointer More... | |
| typedef uint8 | Icu_ChannelType |
| This type defines Channel type. More... | |
| typedef uint32 | Icu_ChannelPrescalerType |
| This type defines Prescaler type. More... | |
| AUTOMATIC | |
| ICU_PBCFG | ConfigPtr |
| Icu_ActivationType | Activation |
| Icu_ValueType * | BufferPtr |
| Icu_ValueType uint16 | BufferSize |
| Icu_ValueType uint16 uint16 | NotifyInterval |
| Icu_DutyCycleType * | DutyCycleValues |
| FUNC (void, ICU_CODE) Icu_Init(P2CONST(Icu_ConfigType | |
| Service for ICU initialization. More... | |
| FUNC (Icu_InputStateType, ICU_CODE) Icu_GetInputState(Icu_ChannelType Channel) | |
| Service for getting the ICU input status. More... | |
| FUNC (Icu_IndexType, ICU_CODE) Icu_GetTimestampIndex(Icu_ChannelType Channel) | |
| Service for reading the timestamp index of a givem channel. More... | |
| FUNC (Std_ReturnType, ICU_CODE) Icu_RegisterReadback(Icu_ChannelType IcuChannel | |
| P2VAR (Icu_RegisterReadbackType, AUTOMATIC, ICU_APPL_DATA) RegRbPtr) | |
| #define ICU_VENDOR_ID ((uint16) 44U) |
Texas Instruments Vendor ID.
| #define ICU_MODULE_ID ((uint16) 122U) |
ICU Driver Module ID.
| #define ICU_INSTANCE_ID ((uint8) 0U) |
ICU Driver Instance ID.
| #define ICU_SW_MAJOR_VERSION (9U) |
Driver Implementation Major Version.
| #define ICU_SW_MINOR_VERSION (1U) |
Driver Implementation Minor Version.
| #define ICU_SW_PATCH_VERSION (0U) |
Driver Implementation Patch Version.
| #define ICU_AR_RELEASE_MAJOR_VERSION (4U) |
AUTOSAR Major version specification implemented by ICU Driver.
| #define ICU_AR_RELEASE_MINOR_VERSION (3U) |
AUTOSAR Minor version specification implemented by ICU Driver.
| #define ICU_AR_RELEASE_REVISION_VERSION (1U) |
AUTOSAR Patch version specification implemented by ICU Driver.
| #define ICU_INIT_ID ((uint8) 0x00U) |
Icu_Init() API Service ID.
| #define ICU_DEINIT_ID ((uint8) 0x01U) |
Icu_DeInit() API Service ID.
| #define ICU_SETMODE_ID ((uint8) 0x02U) |
Icu_SetMode() API Service ID.
| #define ICU_SETACTIVATIONCONDITION_ID ((uint8) 0x05U) |
Icu_SetActivationCondition() API Service ID.
| #define ICU_DISABLENOTIFICATION_ID ((uint8) 0x06U) |
Icu_DisableNotification() API Service ID.
| #define ICU_ENABLENOTIFICATION_ID ((uint8) 0x07U) |
Icu_EnableNotification() API Service ID.
| #define ICU_GETINPUTSTATE_ID ((uint8) 0x08U) |
Icu_GetInputState() API Service ID.
| #define ICU_STARTTIMESTAMP_ID ((uint8) 0x09U) |
Icu_StartTimestamp() API Service ID.
| #define ICU_STOPTIMESTAMP_ID ((uint8) 0x0AU) |
Icu_StopTimestamp() API Service ID.
| #define ICU_GETTIMESTAMPINDEX_ID ((uint8) 0x0BU) |
Icu_GetTimeStampIndex() API Service ID.
| #define ICU_RESETEDGECOUNT_ID ((uint8) 0x0CU) |
Icu_ResetEdgeCount() API Service ID.
| #define ICU_ENABLEEDGECOUNT_ID ((uint8) 0x0DU) |
Icu_EnableEdgeCount() API Service ID.
| #define ICU_ENABLEEDGEDETECTION_ID ((uint8) 0x16U) |
Icu_EnableEdgeDetection() API Service ID.
| #define ICU_DISABLEEDGEDETECTION_ID ((uint8) 0x17U) |
Icu_DisableEdgeDetection() API Service ID.
| #define ICU_DISABLEEDGECOUNT_ID ((uint8) 0x0EU) |
Icu_DisableEdgeCount() API Service ID.
| #define ICU_GETEDGENUMBERS_ID ((uint8) 0x0FU) |
Icu_GetEdgeNumbers() API Service ID.
| #define ICU_STARTSIGNALMEASUREMENT_ID ((uint8) 0x13U) |
Icu_StartSignalMeasurement() API Service ID.
| #define ICU_STOPSIGNALMEASUREMENT_ID ((uint8) 0x14U) |
Icu_StopSignalMeasurement() API Service ID.
| #define ICU_GETTIMEELAPSED_ID ((uint8) 0x10U) |
Icu_GetTimeElapsed() API Service ID.
| #define ICU_GETDUTYCYCLEVALUES_ID ((uint8) 0x11U) |
Icu_GetDutyCycleValues() API Service ID.
| #define ICU_GETVERSIONINFO_ID ((uint8) 0x12U) |
Icu_GetVersionInfo() API Service ID.
| #define ICU_SID_REGISTER_READBACK ((uint8) 0x18U) |
Icu_Regesterreadback() API Serviece ID.
| #define ICU_E_PARAM_POINTER ((uint8) 0x0AU) |
API service called with invalid pointer.
| #define ICU_E_PARAM_CHANNEL ((uint8) 0x0BU) |
API service called with invalid channel identifier or channel not configured.
| #define ICU_E_PARAM_ACTIVATION ((uint8) 0x0CU) |
API service calleed with an invalid or not feasible activation.
| #define ICU_E_INIT_FAILED ((uint8) 0x0DU) |
Init Function Failed.
| #define ICU_E_PARAM_BUFFER_SIZE ((uint8) 0x0EU) |
API service used with invalid Buffer size.
| #define ICU_E_PARAM_MODE ((uint8) 0x0FU) |
API service called with invalid mode.
| #define ICU_E_UNINIT ((uint8) 0x14U) |
API service calleed without module initialisation.
| #define ICU_E_NOT_STARTED ((uint8) 0x16U) |
Icu_StopTimestamp called on channel not started or already stopped.
| #define ICU_E_BUSY_OPERATION ((uint8) 0x16U) |
API service called while a running operation.
| #define ICU_E_ALREADY_INITIALIZED ((uint8) 0x17U) |
API service Icu_Init called when module already initialized.
| #define ICU_E_PARAM_NOTIFY_INTERVAL ((uint8) 0x18U) |
API service called when notify interval is invalid.
| #define ICU_E_PARAM_VINFO ((uint8) 0x19U) |
API service Icu_GetVersionInfo called and parameter is invalid.
| #define ICU_STATUS_UNINIT ((uint8)(0U)) |
ICU driver Status uninitialized.
| #define ICU_STATUS_INIT ((uint8)(1U)) |
ICU driver Status Initialized.
| #define ICU_FALLING ((uint8)(0U)) |
Capture regsiter configuration for FALLING edge
| #define ICU_RISING ((uint8)(1U)) |
Capture regsiter configuration for RISING edge
| typedef uint32 Icu_ValueType |
This type defines Value type.
| typedef uint32 Icu_IndexType |
This type defines return value Icu_GetTimeStampIndex.
| typedef uint32 Icu_EdgeNumberType |
This type defines return value of Icu-Icu_GetEdgeNumbers.
| typedef void(* Icu_NotifyFuncType) (void) |
Notification callback function pointer
| typedef uint8 Icu_ChannelType |
This type defines Channel type.
| typedef uint32 Icu_ChannelPrescalerType |
This type defines Prescaler type.
| enum Icu_ModeType |
| enum Icu_InputStateType |
| enum Icu_ActivationType |
| FUNC | ( | void | , |
| ICU_CODE | |||
| ) |
Service for ICU initialization.
This function sets the ICU mode.
This function (re-)enables the wakeup capability of the given ICU channel.
This function disables the wakeup capability of a single ICU channel.
This function checks if a wakeup capable ICU channel is the source for a wakeup event and calls the ECU state manager service EcuM_SetWakeupEvent in case of a valid ICU channel wakeup event.
Service for reading the coherent active time and period time of given channel.
Service for stopping the measurement of signals.
Service for starting the measurement of signals.
Service for disabling the detection of edges of the given channel.
Service for enabling/re-enabling the detection of edges of the given channel.
Service for disabling the couting of edges of the given channel.
Service enabling the counting of edges of a given channel.
Service for resets the value of the counted edges to zero.
Service for stopping the timestamp measurement.
Service for starts the captuing of timer values on the edges.
Service for enabling notification.
Service for disabling notification.
Service for setting Activation Condition.
Service for ICU de-initialization.
* Service name : Icu_Init * Syntax : Icu_Init(const Icu_ConfigType* ConfigPtr) * Mode : Supervisor Mode (Privileged Mode) * Service ID[hex] : 0x00 * Sync/Async : Synchronous * Reentrancy : Non Reentrant * Parameters (in) : Pointer to the configuration * Parameters (out) : None * Return value : void * Description : Initializes internal variables * and the ECAP unit of the micro controller. * The function can be called on task level. *
* Service name : Icu_DeInit * Syntax : Icu_DeInit(void) * Mode : Supervisor Mode (Privileged Mode) * Service ID[hex] : 0x01 * Sync/Async : Synchronous * Reentrancy : Non Reentrant * Parameters (in) : None * Parameters (out) : None * Return value : void * Description : DeInit ECAP module *
* Service name : Icu_SetActivationCondition * Syntax : Icu_SetActivationCondition(Icu_ChannelType Channel, * Icu_ActivationType Activation) * Mode : Supervisor Mode (Privileged Mode) * Service ID[hex] : 0x05 * Sync/Async : Synchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (in) : Icu_ActivationType Activation * Parameters (out) : None * Return value : void * Description : This service sets the Activation edge for channel * Type of activation (if supported by hardware) * ICU_RISING_EDGE, ICU_FALLING_EDGE, ICU_BOTH_EDGES *
* Service name : Icu_DisableNotification * Syntax : Icu_DisableNotification(Icu_ChannelType Channel) * Mode : Supervisor Mode (Privileged Mode) * Service ID[hex] : 0x06 * Sync/Async : Synchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (out) : None * Return value : void * Description : This service disables the notificaiton of a channel *
* Service name : Icu_EnableNotification * Syntax : Icu_EnableNotification(Icu_ChannelType Channel) * Mode : Supervisor Mode (Privileged Mode) * Service ID[hex] : 0x07 * Sync/Async : Synchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (out) : None * Return value : void * Description : This service enables the notificaiton of a channel *
* Service name : Icu_StartTimestamp * Syntax : Icu_StartTimestamp(Icu_ChannelType Channel, * Icu_ValueType* BufferPtr, * uint16 BufferSize, * uint16 NotifyInterval) * Mode : Supervisor Mode (Privileged Mode) * Service ID[hex] : 0x09 * Sync/Async : Asynchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (in) : uint16 BufferSize * Parameters (in) : uint16 NotifyInterval * Parameters (out) : Icu_ValueType* BufferPtr * Return value : void * Description : This service starts the capturing of timer values on the edges *
* Service name : Icu_StopTimestamp * Syntax : Icu_StopTimestamp(Icu_ChannelType Channel) * Mode : Supervisor Mode (Privileged Mode) * Service ID[hex] : 0x0A * Sync/Async : Synchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (out) : None * Return value : void * Description : This service stops timestamp measurement of the given channel. *
* Service name : Icu_ResetEdgeCount * Syntax : Icu_ResetEdgeCount(Icu_ChannelType Channel) * Mode : User Mode (Non-Privileged Mode) * Service ID[hex] : 0x0C * Sync/Async : Synchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (out) : None * Return value : void * Description : This service resets the value of the counted edges to zero. *
* Service name : Icu_EnableEdgeCount * Syntax : Icu_EnableEdgeCount(Icu_ChannelType Channel) * Mode : Supervisor Mode (Privileged Mode) * Service ID[hex] : 0x0D * Sync/Async : Synchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (out) : None * Return value : void * Description : This service enables the couting of edges of the given channel. *
* Service name : Icu_DisableEdgeCount * Syntax : Icu_DisableEdgeCount(Icu_ChannelType Channel) * Mode : Supervisor Mode (Privileged Mode) * Service ID[hex] : 0x0E * Sync/Async : Synchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (out) : None * Return value : void * Description : This service disables the couting of edges of a given channel. *
* Service name : Icu_EnableEdgeDetection * Syntax : Icu_EnableEdgeDetection(Icu_ChannelType Channel) * Mode : Supervisor Mode (Privileged Mode) * Service ID[hex] : 0x16 * Sync/Async : Synchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (out) : None * Return value : void * Description : This service enables/re-enables the detection of edges of a channel. *
* Service name : Icu_EnableEdgeDetection * Syntax : Icu_EnableEdgeDetection(Icu_ChannelType Channel) * Mode : Supervisor Mode (Privileged Mode) * Service ID[hex] : 0x17 * Sync/Async : Synchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (out) : None * Return value : void * Description : This service disables the detection of edges of a channel. *
* Service name : Icu_StartSignalMeasurement * Syntax : Icu_StartSignalMeasurement(Icu_ChannelType Channel) * Mode : Supervisor Mode (Privileged Mode) * Service ID[hex] : 0x13 * Sync/Async : Asynchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (out) : None * Return value : void * Description : This service starts the measurement of signals of a given channel. *
* Service name : Icu_StopSignalMeasurement * Syntax : Icu_StopSignalMeasurement(Icu_ChannelType Channel) * Mode : Supervisor Mode (Privileged Mode) * Service ID[hex] : 0x14 * Sync/Async : Synchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (out) : None * Return value : void * Description : This service stops the measurement of signals of a given channel. *
* Service name : Icu_GetTimeElapsed * Syntax : Icu_GetTimeElapsed(Icu_ChannelType Channel, * Icu_DutyCycleType* DutyCycleValues) * Mode : User Mode (Non-Privileged Mode) * Service ID[hex] : 0x11 * Sync/Async : Synchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (out) : Icu_DutyCycleType* DutyCycleValues * Return value : void * Description : This service reads active time and period of given channel. *
* Service name : Icu_CheckWakeup
* Syntax : void Icu_CheckWakeup(EcuM_WakeupSourceType WakeupSource)
* Service ID[hex] : 0x19
* Sync/Async : Synchronous
* Reentrancy : Reentrant(limited according to ICU050)
* Parameters (in) : WakeupSource
* Informatin on wakeup source to be checked.
The associated ICU channel can be determined from configuration data
* Parameters (inout) : None
* Parameters (out) : None
* Return value : None
* Description : Checks if a wakeup capable ICU channel is the source for a wakeup event and
* calls the ECU state manager service EcuM_SetWakeupEvent in case of a valid ICU
* channel wakeup event.
* * Service name : Icu_DisableWakeup * Syntax : void Icu_DisableWakeup(Icu_ChannelType Channel) * Service ID[hex] : 0x20 * Sync/Async : Synchronous * Reentrancy : Reentrant(limited according to ICU050) * Parameters (in) : Channel * Numeric identifier of the ICU channel * Parameters (inout) : None * Parameters (out) : None * Return value : None * Description : This function disables the wakeup capability of a single ICU channel. *
* Service name : Icu_EnableWakeup * Syntax : void Icu_EnableWakeup(Icu_ChannelType Channel) * Service ID[hex] : 0x21 * Sync/Async : Synchronous * Reentrancy : Reentrant(limited according to ICU050) * Parameters (in) : Channel * Numeric identifier of the ICU channel * Parameters (inout) : None * Parameters (out) : None * Return value : None * Description : This function (re-)enables the wakeup capability of the given ICU channel. *
* Service name : Icu_SetMode * Syntax : void Icu_SetMode(Icu_ModeType Mode) * Service ID[hex] : 0x22 * Sync/Async : Synchronous * Reentrancy : Non Reentrant * Parameters (in) : Mode * ICU_MODE_NORMAL: Normal operation, all used interrupts are enabled * according to the notification requests. * ICU_MODE_SLEEP: Reduced power mode. In sleep mode only those * notifications are available which are configured as wakeup capable. * Parameters (inout) : None * Parameters (out) : None * Return value : None * Description : This function sets the ICU mode. *
| FUNC | ( | Icu_InputStateType | , |
| ICU_CODE | |||
| ) |
Service for getting the ICU input status.
* Service name : Icu_GetInputState * Syntax : Icu_GetInputState(Icu_ChannelType Channel) * Mode : User Mode (Non-Privileged Mode) * Service ID[hex] : 0x08 * Sync/Async : Synchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (out) : None * Return value : void * Description : This service returns the status of the ICU input *
| FUNC | ( | Icu_IndexType | , |
| ICU_CODE | |||
| ) |
Service for reading the timestamp index of a givem channel.
Service for reading the elasped time for the given channel.
Service for reading the number of counted edges.
* Service name : Icu_GetTimestampIndex * Syntax : Icu_GetTimestampIndex(Icu_ChannelType Channel) * Mode : User Mode (Non-Privileged Mode) * Service ID[hex] : 0x0B * Sync/Async : Synchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (out) : None * Return value : void * Description : This service reads the timestamp index of a given channel. *
* Service name : Icu_GetEdgeNumbers * Syntax : Icu_GetEdgeNumbers(Icu_ChannelType Channel) * Mode : User Mode (Non-Privileged Mode) * Service ID[hex] : 0x0F * Sync/Async : Synchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (out) : None * Return value : void * Description : This service reads the number of counted edges. *
* Service name : Icu_GetTimeElapsed * Syntax : Icu_GetTimeElapsed(Icu_ChannelType Channel) * Mode : User Mode (Non-Privileged Mode) * Service ID[hex] : 0x10 * Sync/Async : Synchronous * Reentrancy : Reentrant * Parameters (in) : Icu_ChannelType Channel * Parameters (out) : None * Return value : void * Description : This service reads elasped time for a given channel. *
| FUNC | ( | Std_ReturnType | , |
| ICU_CODE | |||
| ) |
| P2VAR | ( | Icu_RegisterReadbackType | , |
| AUTOMATIC | , | ||
| ICU_APPL_DATA | |||
| ) |
| AUTOMATIC |
| ICU_PBCFG ConfigPtr |
| Icu_ActivationType Activation |
| Icu_ValueType* BufferPtr |
| Icu_ValueType uint16 BufferSize |
| Icu_ValueType uint16 uint16 NotifyInterval |
| Icu_DutyCycleType* DutyCycleValues |