# 1 "../Generated/Src/Flash_Drv_PBcfg.c" # 1 "" 1 # 1 "" 3 # 387 "" 3 # 1 "" 1 # 1 "" 2 # 1 "../Generated/Src/Flash_Drv_PBcfg.c" 2 # 26 "../Generated/Src/Flash_Drv_PBcfg.c" # 1 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" 1 # 29 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" # 1 "../../../mcal/Fls_ZX_K14xM/Inc/Flash_Drv_Types.h" 1 # 29 "../../../mcal/Fls_ZX_K14xM/Inc/Flash_Drv_Types.h" # 1 "../Generated/inc\\Flash_Drv_Cfg.h" 1 # 30 "../../../mcal/Fls_ZX_K14xM/Inc/Flash_Drv_Types.h" 2 # 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); # 31 "../../../mcal/Fls_ZX_K14xM/Inc/Flash_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 # 32 "../../../mcal/Fls_ZX_K14xM/Inc/Flash_Drv_Types.h" 2 # 1 "../../../mcal/MemIf_ZX_K14xM/Inc\\MemIf.h" 1 # 46 "../../../mcal/MemIf_ZX_K14xM/Inc\\MemIf.h" typedef enum { MEMIF_UNINIT = 0U, MEMIF_IDLE, MEMIF_BUSY, MEMIF_BUSY_INTERNAL }MemIf_StatusType; typedef enum { MEMIF_JOB_OK = 0U, MEMIF_JOB_FAILED, MEMIF_JOB_PENDING, MEMIF_JOB_CANCELED, MEMIF_BLOCK_INCONSISTENT, MEMIF_BLOCK_INVALID }MemIf_JobResultType; typedef enum { MEMIF_MODE_SLOW = 0U, MEMIF_MODE_FAST }MemIf_ModeType; # 33 "../../../mcal/Fls_ZX_K14xM/Inc/Flash_Drv_Types.h" 2 # 87 "../../../mcal/Fls_ZX_K14xM/Inc/Flash_Drv_Types.h" typedef void (*Flash_Drv_StartAccessNotifType)(void); typedef void (*Flash_Drv_FinishAccessNotifType)(void); typedef void (*Flash_Drv_AcPtrType)(void (*CallBack)(void)); typedef void (*Flash_Drv_CallBackType)(void); typedef enum { FLASH_DRV_SUCCESS = 0U, FLASH_DRV_BUSY = 1U, FLASH_DRV_CMD_ABORTED = 2U, FLASH_DRV_ERR = 3U, FLASH_DRV_ERR_TIMEOUT = 4U, FLASH_DRV_ERR_INPUT_PARAM = 5U, FLASH_DRV_ERR_BLANK_CHECK = 6U, FLASH_DRV_ERR_COMPARE = 7U, FLASH_DRV_ERR_ECC_S = 8U, FLASH_DRV_ERR_ECC_M = 9U, FLASH_DRV_ERR_HW_FAIL = 10U, } Flash_Drv_ReturnType; typedef enum { FLASH_DRV_STATUS_FAIL = 0x00000001U, FLASH_DRV_STATUS_CMDABT = 0x00000004U, FLASH_DRV_STATUS_ACCERR = 0x00000020U, FLASH_DRV_STATUS_PREABT = 0x00000040U, FLASH_DRV_STATUS_CCIF = 0x00000080U, FLASH_DRV_STATUS_CMDWRF = 0x00000800U, FLASH_DRV_STATUS_DFDIF = 0x00010000U, FLASH_DRV_STATUS_SFDIF = 0x00020000U, FLASH_DRV_STATUS_DBG_ERSALL_DIS = 0x40000000U }Flash_Drv_StatusType; typedef enum { FLASH_DRV_READ_IDLE = 0U, FLASH_DRV_READ_BUSY = 1U, FLASH_DRV_READ_ERROR = 2U, } Flash_Drv_ReadStatusType; typedef struct { Flash_Drv_ReadStatusType Status; uint32 Address; } Flash_Drv_ReadStateType; typedef struct { Flash_Drv_StartAccessNotifType StartNotifPtr; Flash_Drv_FinishAccessNotifType FinishNotifPtr; uint32 IgnoreBusErrStartAddr; uint32 IgnoreBusErrEndAddr; } Flash_Drv_ConfigType; typedef struct { boolean AsyncFlag; Flash_Drv_CallBackType CallBack; Flash_Drv_AcPtrType AcFunc; } Flash_Drv_CmdActionType; # 30 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" 2 # 79 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" 1 # 904 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" #pragma clang section rodata = ".mcal_config_data" # 80 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" 2 extern const Flash_Drv_ConfigType Flash_DrvConfig; # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" 1 # 920 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" #pragma clang section rodata = "" # 83 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" 2 # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" 1 # 1436 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" #pragma clang section bss = ".mcal_bss" # 86 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" 2 # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" 1 # 1452 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" #pragma clang section bss = "" # 94 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" 2 # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" 1 # 1492 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" #pragma clang section bss = ".mcal_bss" # 97 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" 2 extern Flash_Drv_ReadStateType Flash_Drv_ReadState; # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" 1 # 1508 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" #pragma clang section bss = "" # 100 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" 2 # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" 1 # 1100 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" #pragma clang section text = ".mcal_code" # 107 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" 2 # 118 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" Flash_Drv_ReturnType Flash_Drv_Init(const Flash_Drv_ConfigType* ConfigPtr); # 131 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" Flash_Drv_ReturnType Flash_Drv_Abort(void); # 146 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" Flash_Drv_ReturnType Flash_Drv_EraseSector(const uint32 Addr, const Flash_Drv_CmdActionType * CmdActPtr); # 166 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" Flash_Drv_ReturnType Flash_Drv_Write(const uint32 FlashAddr, const uint32 Len, const uint8 *SourceAddrPtr, const Flash_Drv_CmdActionType * CmdActPtr); # 183 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" Flash_Drv_ReturnType Flash_Drv_Read(uint32 SrcAddr, uint8 const *DestAddrPtr, uint32 Length); # 198 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" Flash_Drv_ReturnType Flash_Drv_Compare(uint32 SrcAddr, const uint8 *CompareBufPtr, uint32 Length); # 212 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" Flash_Drv_ReturnType Flash_Drv_CheckBlank(uint32 SrcAddr, uint32 Length); # 228 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" Flash_Drv_ReturnType Flash_Drv_PollEraseWriteStatus(void); # 241 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" uint32 Flash_Drv_GetBlockNumFromAddr(uint32 Address); # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" 1 # 1116 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" #pragma clang section text = "" # 245 "../../../mcal/Fls_ZX_K14xM/Inc\\Flash_Drv.h" 2 # 27 "../Generated/Src/Flash_Drv_PBcfg.c" 2 # 68 "../Generated/Src/Flash_Drv_PBcfg.c" # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" 1 # 1100 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" #pragma clang section text = ".mcal_code" # 69 "../Generated/Src/Flash_Drv_PBcfg.c" 2 # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" 1 # 1116 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" #pragma clang section text = "" # 73 "../Generated/Src/Flash_Drv_PBcfg.c" 2 # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" 1 # 904 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" #pragma clang section rodata = ".mcal_config_data" # 80 "../Generated/Src/Flash_Drv_PBcfg.c" 2 const Flash_Drv_ConfigType Flash_DrvConfig = { .StartNotifPtr = ((void *)0), .FinishNotifPtr = ((void *)0), .IgnoreBusErrStartAddr = 0x0U, .IgnoreBusErrEndAddr = 0xfffffff0U }; # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" 1 # 920 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Fls_MemMap.h" #pragma clang section rodata = "" # 91 "../Generated/Src/Flash_Drv_PBcfg.c" 2