# 1 "../Generated/Src/Rtc_Drv_PBcfg.c" # 1 "" 1 # 1 "" 3 # 387 "" 3 # 1 "" 1 # 1 "" 2 # 1 "../Generated/Src/Rtc_Drv_PBcfg.c" 2 # 27 "../Generated/Src/Rtc_Drv_PBcfg.c" # 1 "../../../mcal/Gpt_ZX_K14xM/Inc\\Rtc_Drv.h" 1 # 29 "../../../mcal/Gpt_ZX_K14xM/Inc\\Rtc_Drv.h" # 1 "../../../mcal/Gpt_ZX_K14xM/Inc/Rtc_Drv_Types.h" 1 # 29 "../../../mcal/Gpt_ZX_K14xM/Inc/Rtc_Drv_Types.h" # 1 "../../../mcal/Base_ZX_K14xM/Inc\\Std_Types.h" 1 # 30 "../../../mcal/Base_ZX_K14xM/Inc\\Std_Types.h" # 1 "../../../mcal/Base_ZX_K14xM/Inc/Platform_Types.h" 1 # 86 "../../../mcal/Base_ZX_K14xM/Inc/Platform_Types.h" typedef unsigned char boolean; typedef unsigned char uint8; typedef unsigned short uint16; typedef unsigned int uint32; typedef unsigned long long uint64; typedef signed char sint8; typedef signed short sint16; typedef signed int sint32; typedef signed long long sint64; typedef unsigned long uint8_least; typedef unsigned long uint16_least; typedef unsigned long uint32_least; typedef signed long sint8_least; typedef signed long sint16_least; typedef signed long sint32_least; typedef float float32; typedef double float64; typedef void *VoidPtr; typedef const void *ConstVoidPtr; # 31 "../../../mcal/Base_ZX_K14xM/Inc\\Std_Types.h" 2 # 1 "../../../mcal/Base_ZX_K14xM/Inc/Compiler.h" 1 # 31 "../../../mcal/Base_ZX_K14xM/Inc/Compiler.h" # 1 "../../../mcal/Base_ZX_K14xM/Inc/Compiler_Cfg.h" 1 # 32 "../../../mcal/Base_ZX_K14xM/Inc/Compiler.h" 2 # 32 "../../../mcal/Base_ZX_K14xM/Inc\\Std_Types.h" 2 # 63 "../../../mcal/Base_ZX_K14xM/Inc\\Std_Types.h" typedef unsigned char StatusType; # 104 "../../../mcal/Base_ZX_K14xM/Inc\\Std_Types.h" typedef uint8 Std_ReturnType; typedef uint8 Std_TransformerClass; typedef uint8 Std_TransformerForwardCode; typedef uint8 Std_MessageTypeType; typedef uint8 Std_MessageResultType; typedef struct { uint16 vendorID; uint16 moduleID; uint8 sw_major_version; uint8 sw_minor_version; uint8 sw_patch_version; } Std_VersionInfoType; typedef struct { uint8 errorCode; Std_TransformerClass transformerClass; } Std_TransformerError; typedef struct { Std_TransformerForwardCode errorCode; Std_TransformerClass transformerClass; } Std_TransformerForward; typedef Std_ReturnType (*Std_ExtractProtocolHeaderFieldsType)(const uint8 *buffer, uint32 bufferLength, Std_MessageTypeType *messageType, Std_MessageResultType *messageResult); # 30 "../../../mcal/Gpt_ZX_K14xM/Inc/Rtc_Drv_Types.h" 2 # 1 "../../../mcal/McalLib_ZX_K14xM/Inc\\McalLib.h" 1 # 29 "../../../mcal/McalLib_ZX_K14xM/Inc\\McalLib.h" # 1 "../../../mcal/McalLib_ZX_K14xM/Inc/McalLib_Compiler.h" 1 # 30 "../../../mcal/McalLib_ZX_K14xM/Inc/McalLib_Compiler.h" # 1 "../Generated/inc\\McalLib_Cfg.h" 1 # 31 "../../../mcal/McalLib_ZX_K14xM/Inc/McalLib_Compiler.h" 2 # 273 "../../../mcal/McalLib_ZX_K14xM/Inc/McalLib_Compiler.h" static inline uint32 McalLib_ReadControlReg(void) { uint32 res; __asm("MRS %0,CONTROL" : "=r" (res)); return res; } # 290 "../../../mcal/McalLib_ZX_K14xM/Inc/McalLib_Compiler.h" static inline uint32 McalLib_ReadIpsrReg(void) { uint32 res; __asm("MRS %0,IPSR" : "=r" (res)); return res; } # 305 "../../../mcal/McalLib_ZX_K14xM/Inc/McalLib_Compiler.h" static inline uint32 McalLib_ReadPriMaskReg(void) { uint32 res; __asm("MRS %0,PRIMASK" : "=r" (res)); return res; } # 30 "../../../mcal/McalLib_ZX_K14xM/Inc\\McalLib.h" 2 # 184 "../../../mcal/McalLib_ZX_K14xM/Inc\\McalLib.h" typedef enum { MCALLIB_COUNTER_SOFTWARE, MCALLIB_COUNTER_OS, } McalLib_CounterType; typedef struct { uint32 CounterId; uint32 CounterFreq; } McalLib_ConfigType; # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\McalLib_MemMap.h" 1 # 876 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\McalLib_MemMap.h" #pragma clang section rodata = ".mcal_config_data" # 211 "../../../mcal/McalLib_ZX_K14xM/Inc\\McalLib.h" 2 extern const McalLib_ConfigType *const McalLib_PreDefinedConfigPtr[(1U)]; # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\McalLib_MemMap.h" 1 # 892 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\McalLib_MemMap.h" #pragma clang section rodata = "" # 216 "../../../mcal/McalLib_ZX_K14xM/Inc\\McalLib.h" 2 # 230 "../../../mcal/McalLib_ZX_K14xM/Inc\\McalLib.h" extern void Sys_SystemReset(void); # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\McalLib_MemMap.h" 1 # 1072 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\McalLib_MemMap.h" #pragma clang section text = ".mcal_code" # 234 "../../../mcal/McalLib_ZX_K14xM/Inc\\McalLib.h" 2 void McalLib_Init(void); # 254 "../../../mcal/McalLib_ZX_K14xM/Inc\\McalLib.h" Std_ReturnType McalLib_GetCounterValue(McalLib_CounterType Counter, uint32 *Value); # 270 "../../../mcal/McalLib_ZX_K14xM/Inc\\McalLib.h" Std_ReturnType McalLib_GetElapsedValue(McalLib_CounterType Counter, uint32 *const CounterValue, uint32 *ElapsedValue); # 282 "../../../mcal/McalLib_ZX_K14xM/Inc\\McalLib.h" uint32 McalLib_MicroSecToTicks(McalLib_CounterType Counter, uint32 MicroSecond); # 296 "../../../mcal/McalLib_ZX_K14xM/Inc\\McalLib.h" void McalLib_SetCounterFreq(McalLib_CounterType Counter, uint32 Freq); # 309 "../../../mcal/McalLib_ZX_K14xM/Inc\\McalLib.h" static inline void McalLib_Assert(const uint8 *File, uint32 Line) { (void)File; (void)Line; for (;;) { } } # 327 "../../../mcal/McalLib_ZX_K14xM/Inc\\McalLib.h" void McalLib_SuspendAllInterrupts(void); void McalLib_ResumeAllInterrupts(void); # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\McalLib_MemMap.h" 1 # 1088 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\McalLib_MemMap.h" #pragma clang section text = "" # 339 "../../../mcal/McalLib_ZX_K14xM/Inc\\McalLib.h" 2 # 31 "../../../mcal/Gpt_ZX_K14xM/Inc/Rtc_Drv_Types.h" 2 # 1 "../Generated/inc\\Rtc_Drv_Cfg.h" 1 # 28 "../Generated/inc\\Rtc_Drv_Cfg.h" # 1 "../Generated/inc/Rtc_Drv_PBcfg.h" 1 # 29 "../Generated/inc\\Rtc_Drv_Cfg.h" 2 # 32 "../../../mcal/Gpt_ZX_K14xM/Inc/Rtc_Drv_Types.h" 2 # 104 "../../../mcal/Gpt_ZX_K14xM/Inc/Rtc_Drv_Types.h" typedef void (*Rtc_Drv_CallbackType)(uint8 CallbackParam); typedef enum { RTC_DRV_SECONDS = 0U, RTC_DRV_32K_CLK } Rtc_Drv_ClockOutType; typedef enum { RTC_DRV_CLK_OSC32K_INT = 0U, RTC_DRV_CLK_OSC32K_EXT, RTC_DRV_CLK_LPO32K } Rtc_Drv_ClockSourceType; typedef enum { RTC_DRV_INT_OVERFLOW = 0U, RTC_DRV_INT_ALARM, RTC_DRV_INT_SECOND, RTC_DRV_INT_PERIODIC, RTC_DRV_INT_ALL } Rtc_Drv_InterruptType; typedef enum { RTC_DRV_SUCCESS = 0x00U, RTC_DRV_ERROR = 0x01U } Rtc_Drv_StatusType; typedef enum { RTC_DRV_SECOND_1 = 0U, RTC_DRV_SECOND_64, RTC_DRV_SECOND_32, RTC_DRV_SECOND_16, RTC_DRV_SECOND_8, RTC_DRV_SECOND_4, RTC_DRV_SECOND_2, RTC_DRV_SECOND_128 } Rtc_Drv_SecondIntMuxSelType; # 175 "../../../mcal/Gpt_ZX_K14xM/Inc/Rtc_Drv_Types.h" typedef struct { Rtc_Drv_ClockSourceType ClockSource; Rtc_Drv_ClockOutType ClockOutSelect; Rtc_Drv_InterruptType ModeSelect; Rtc_Drv_CallbackType Callback; uint8 CallbackParam; } Rtc_Drv_ConfigType; typedef struct { uint16 Year; uint16 Month; uint16 Day; uint16 Hour; uint16 Minutes; uint8 Seconds; } Rtc_Drv_TimedateType; typedef struct { Rtc_Drv_TimedateType AlarmTime; uint32 AlarmRepetitionInterval; uint32 AlarmRepeatsNumber; boolean RepeatForever; boolean AlarmIntEnable; Rtc_Drv_CallbackType AlarmCallback; uint8 AlarmCallbackParams; } Rtc_Drv_AlarmConfigType; typedef struct { Rtc_Drv_InterruptType ModeSelect; boolean AlarmInit; uint32 AlarmRepetitionInterval; volatile uint32 AlarmRepeatsNumber; boolean RepeatForever; boolean AlarmIntEnable; Rtc_Drv_CallbackType AlarmCallback; uint8 AlarmCallbackParams; volatile boolean IsAlarmMatchTimeNew; boolean ChannelInit; Rtc_Drv_CallbackType Callback; uint8 CallbackParam; } Rtc_Drv_StateType; # 30 "../../../mcal/Gpt_ZX_K14xM/Inc\\Rtc_Drv.h" 2 # 28 "../Generated/Src/Rtc_Drv_PBcfg.c" 2 # 1 "../../../mcal/Gpt_ZX_K14xM/Inc\\Gpt_Irq.h" 1 # 58 "../../../mcal/Gpt_ZX_K14xM/Inc\\Gpt_Irq.h" # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Gpt_MemMap.h" 1 # 1072 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Gpt_MemMap.h" #pragma clang section text = ".mcal_code" # 59 "../../../mcal/Gpt_ZX_K14xM/Inc\\Gpt_Irq.h" 2 # 68 "../../../mcal/Gpt_ZX_K14xM/Inc\\Gpt_Irq.h" void Gpt_TimeMatchCallback(uint8 Channel); # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Gpt_MemMap.h" 1 # 1088 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Gpt_MemMap.h" #pragma clang section text = "" # 72 "../../../mcal/Gpt_ZX_K14xM/Inc\\Gpt_Irq.h" 2 # 29 "../Generated/Src/Rtc_Drv_PBcfg.c" 2 # 89 "../Generated/Src/Rtc_Drv_PBcfg.c" # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Gpt_MemMap.h" 1 # 876 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Gpt_MemMap.h" #pragma clang section rodata = ".mcal_config_data" # 90 "../Generated/Src/Rtc_Drv_PBcfg.c" 2 # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Gpt_MemMap.h" 1 # 892 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Gpt_MemMap.h" #pragma clang section rodata = "" # 95 "../Generated/Src/Rtc_Drv_PBcfg.c" 2