![]() |
MCUSW
|
This file contains generated pre compile configurations for GPT MCAL driver.
Go to the source code of this file.
GPT DEM Error codes to report | |
Pre-compile switches for enabling/disabling DEM events | |
| #define | GPT_E_HARDWARE_ERROR (DemConf_DemEventParameter_GPT_E_HARDWARE_ERROR) |
| Hardware failed. | |
| #define | GPT_REGISTER_READBACK_API (STD_ON) |
| Enable/disable GPT register read back API. | |
| #define | GptConf_GptChannelConfiguration_MCU_TIMER0 (0U) |
| Channel ID Configured channel ID(s) | |
| #define | GptConf_GptChannelConfiguration_MCU_TIMER1 (1U) |
| #define | GptConf_GptChannelConfiguration_MCU_TIMER2 (2U) |
| #define | GptConf_GptChannelConfiguration_MCU_TIMER3 (3U) |
| const struct Gpt_ConfigType_s | GptChannelConfigSet |
| GPT Configuration. | |
| const uint32 | Gpt_TimerBaseAddr [GPT_CH_GPTIMER_MAX] |
| Base Address of the timer peripherals. | |
| ISR (Gpt_Ch1Isr) | |
| GPT Channel ISR. | |
| ISR (Gpt_Ch2Isr) | |
| ISR (Gpt_Ch3Isr) | |
| ISR (Gpt_Ch4Isr) | |
Macros | |
| #define | GPT_CH_GPTIMER1 (0U) |
| GP timer 1 instance. | |
| #define | GPT_CH_GPTIMER2 (1U) |
| GP timer 2 instance. | |
| #define | GPT_CH_GPTIMER3 (2U) |
| GP timer 3 instance. | |
| #define | GPT_CH_GPTIMER4 (3U) |
| GP timer 4 instance. | |
| #define | GPT_CH_GPTIMER_MAX (4U) |
| maximum GP timer channels available | |
| #define | GPT_PRE_COMPILE_VARIANT (STD_OFF) |
| GPT Pre-Compile Build Variant flag. STD_ON for VariantPreCompile / STD_OFF for VariantPostBuild. | |
GPT Driver ISR category level | |
Definitions for GPT Driver ISR ISR category level. | |
| #define | GPT_ISR_VOID (0x00U) |
| void ISR type | |
| #define | GPT_ISR_CAT1 (0x01U) |
| Category 1 ISR type. | |
| #define | GPT_ISR_CAT2 (0x02U) |
| Category 2 ISR type. | |
| #define | GPT_DEV_ERROR_DETECT (STD_ON) |
| Enable/disable GPT dev detect error. | |
| #define | GPT_ISR_TYPE (GPT_ISR_CAT2) |
| ISR type. | |
| #define | GPT_REPORT_WAKEUP_SOURCE (STD_ON) |
| Enable/disable wakeup source in wakeup related APIs. | |
Pre-Compile Switches for API Services | |
| #define | GPT_VERSION_INFO_API (STD_ON) |
| Enable/disable GPT get version info API. | |
| #define | GPT_DEINIT_API (STD_ON) |
| Enable/disable GPT deinit API. | |
| #define | GPT_TIME_ELAPSED_API (STD_ON) |
| Enable/disable GPT get time elapsed API. | |
| #define | GPT_TIME_REMAINING_API (STD_ON) |
| Enable/disable GPT time remaining API. | |
| #define | GPT_ENABLE_DISABLE_NOTIFICATION_API (STD_ON) |
| Enable/disable GPT enable/disable GPT API. | |
| #define | GPT_WAKEUP_FUNCTIONALITY_API (STD_ON) |
| Enable/disable GPT wakeup functionality API. | |
| #define | GPT_MAX_CHANNELS (4U) |
| No. of channels configured for GPT driver. | |
| #define | GPT_PREDEF_TIMER_TYPE (GPT_PREDEF_TIMER_DISABLED) |
| Macro for enabling predefined timers This is in case to disable GPT Predef Timers if timers can not be supported by hardware reasons. | |
| #define | GPT_PREDEF_TIMER_1US_ENABLING_GRADE (GPT_PREDEF_TIMER_1US_DISABLED) |
| : Specifies the grade of enabling the GPT Predef Timers with 1us tick duration | |
| #define | GPT_TIMEOUT_DURATION (32000U) |
| GPT timeout. Each tick is 31.25us (for 32K Counter). Wait for 5s which comes to below value. | |