# 1 "../Generated/Src/Port_PBcfg.c" # 1 "" 1 # 1 "" 3 # 387 "" 3 # 1 "" 1 # 1 "" 2 # 1 "../Generated/Src/Port_PBcfg.c" 2 # 27 "../Generated/Src/Port_PBcfg.c" # 1 "../../../mcal/Port_ZX_K14xM/Inc\\Port.h" 1 # 29 "../../../mcal/Port_ZX_K14xM/Inc\\Port.h" # 1 "../../../mcal/Port_ZX_K14xM/Inc/Port_Types.h" 1 # 29 "../../../mcal/Port_ZX_K14xM/Inc/Port_Types.h" # 1 "../../../mcal/Port_ZX_K14xM/Inc/Port_Drvw_Types.h" 1 # 30 "../../../mcal/Port_ZX_K14xM/Inc/Port_Drvw_Types.h" # 1 "../../../mcal/Port_ZX_K14xM/Inc/Port_Drv_Types.h" 1 # 30 "../../../mcal/Port_ZX_K14xM/Inc/Port_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); # 31 "../../../mcal/Port_ZX_K14xM/Inc/Port_Drv_Types.h" 2 # 1 "../Generated/inc\\Port_Drv_Cfg.h" 1 # 30 "../Generated/inc\\Port_Drv_Cfg.h" # 1 "../Generated/inc/Port_Drv_PBcfg.h" 1 # 31 "../Generated/inc\\Port_Drv_Cfg.h" 2 # 68 "../Generated/inc\\Port_Drv_Cfg.h" # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 33 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.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; } # 34 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 2 # 876 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section rodata = ".mcal_config_data" # 69 "../Generated/inc\\Port_Drv_Cfg.h" 2 # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 892 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section rodata = "" # 78 "../Generated/inc\\Port_Drv_Cfg.h" 2 # 32 "../../../mcal/Port_ZX_K14xM/Inc/Port_Drv_Types.h" 2 # 77 "../../../mcal/Port_ZX_K14xM/Inc/Port_Drv_Types.h" typedef enum { PORT_DRV_PULL_DISABLED = 0U, PORT_DRV_PULL_DOWN = 2U, PORT_DRV_PULL_UP = 3U, } Port_Drv_PullConfigType; typedef enum { PORT_DRV_PIN_MODE_ALT0 = 0U, PORT_DRV_PIN_MODE_GPIO = 1U, PORT_DRV_PIN_MODE_ALT2 = 2U, PORT_DRV_PIN_MODE_ALT3 = 3U, PORT_DRV_PIN_MODE_ALT4 = 4U, PORT_DRV_PIN_MODE_ALT5 = 5U, PORT_DRV_PIN_MODE_ALT6 = 6U, PORT_DRV_PIN_MODE_ALT7 = 7U } Port_Drv_PortMuxType; typedef enum { PORT_DRV_PIN_IN = 0U, PORT_DRV_PIN_OUT = 1U, } Port_Drv_DirectionType; typedef enum { PORT_DRV_PORT_A = 0U, PORT_DRV_PORT_B, PORT_DRV_PORT_C, PORT_DRV_PORT_D, PORT_DRV_PORT_E } Port_Drv_PortIdType; typedef enum { PORT_DRV_FAST_RATE = 0U, PORT_DRV_SLOW_RATE } Port_Drv_SlewRateType; typedef enum { PORT_DRV_LEVEL_LOW = 0U, PORT_DRV_LEVEL_HIGH } Port_Drv_GpioLvlType; typedef enum { PORT_DRV_GPIO_0 = 0U, PORT_DRV_GPIO_1, PORT_DRV_GPIO_2, PORT_DRV_GPIO_3, PORT_DRV_GPIO_4, PORT_DRV_GPIO_5, PORT_DRV_GPIO_6, PORT_DRV_GPIO_7, PORT_DRV_GPIO_8, PORT_DRV_GPIO_9, PORT_DRV_GPIO_10, PORT_DRV_GPIO_11, PORT_DRV_GPIO_12, PORT_DRV_GPIO_13, PORT_DRV_GPIO_14, PORT_DRV_GPIO_15, PORT_DRV_GPIO_16, PORT_DRV_GPIO_17, PORT_DRV_GPIO_18, PORT_DRV_GPIO_19, PORT_DRV_GPIO_20, PORT_DRV_GPIO_21, PORT_DRV_GPIO_22, PORT_DRV_GPIO_23, PORT_DRV_GPIO_24, PORT_DRV_GPIO_25, PORT_DRV_GPIO_26, PORT_DRV_GPIO_27, PORT_DRV_GPIO_28, PORT_DRV_GPIO_29, PORT_DRV_GPIO_30, PORT_DRV_GPIO_31 } Port_Drv_GpioNoType; typedef struct { Port_Drv_PortIdType PortId; Port_Drv_GpioNoType GpioNo; Port_Drv_PullConfigType PullConfig; Port_Drv_PortMuxType PinMode; Port_Drv_DirectionType Direction; Port_Drv_SlewRateType SlewRate; boolean PassiveFilter; boolean FilterEnable; uint8 FilterConfig; boolean OpenDrainConfig; Port_Drv_GpioLvlType InitValue; } Port_Drv_ConfigType; # 31 "../../../mcal/Port_ZX_K14xM/Inc/Port_Drvw_Types.h" 2 # 1 "../Generated/inc\\Port_Drvw_Cfg.h" 1 # 31 "../Generated/inc\\Port_Drvw_Cfg.h" # 1 "../Generated/inc/Port_Drvw_PBcfg.h" 1 # 32 "../Generated/inc\\Port_Drvw_Cfg.h" 2 # 82 "../Generated/inc\\Port_Drvw_Cfg.h" # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 876 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section rodata = ".mcal_config_data" # 83 "../Generated/inc\\Port_Drvw_Cfg.h" 2 # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 892 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section rodata = "" # 89 "../Generated/inc\\Port_Drvw_Cfg.h" 2 # 32 "../../../mcal/Port_ZX_K14xM/Inc/Port_Drvw_Types.h" 2 # 77 "../../../mcal/Port_ZX_K14xM/Inc/Port_Drvw_Types.h" typedef uint32 Port_Drvw_PinType; typedef uint8 Port_Drvw_PinModeType; # 97 "../../../mcal/Port_ZX_K14xM/Inc/Port_Drvw_Types.h" typedef enum { PORT_DRVW_PORT_A = 0U, PORT_DRVW_PORT_B, PORT_DRVW_PORT_C, PORT_DRVW_PORT_D, PORT_DRVW_PORT_E } Port_Drvw_PortIdType; typedef enum { PORT_DRVW_GPIO_0 = 0U, PORT_DRVW_GPIO_1, PORT_DRVW_GPIO_2, PORT_DRVW_GPIO_3, PORT_DRVW_GPIO_4, PORT_DRVW_GPIO_5, PORT_DRVW_GPIO_6, PORT_DRVW_GPIO_7, PORT_DRVW_GPIO_8, PORT_DRVW_GPIO_9, PORT_DRVW_GPIO_10, PORT_DRVW_GPIO_11, PORT_DRVW_GPIO_12, PORT_DRVW_GPIO_13, PORT_DRVW_GPIO_14, PORT_DRVW_GPIO_15, PORT_DRVW_GPIO_16, PORT_DRVW_GPIO_17, PORT_DRVW_GPIO_18, PORT_DRVW_GPIO_19, PORT_DRVW_GPIO_20, PORT_DRVW_GPIO_21, PORT_DRVW_GPIO_22, PORT_DRVW_GPIO_23, PORT_DRVW_GPIO_24, PORT_DRVW_GPIO_25, PORT_DRVW_GPIO_26, PORT_DRVW_GPIO_27, PORT_DRVW_GPIO_28, PORT_DRVW_GPIO_29, PORT_DRVW_GPIO_30, PORT_DRVW_GPIO_31 } Port_Drvw_GpioNoType; typedef enum { PORT_DRVW_PIN_IN = 0U, PORT_DRVW_PIN_OUT, } Port_Drvw_DirectionType; typedef enum { PORT_DRVW_LEVEL_LOW = 0U, PORT_DRVW_LEVEL_HIGH } Port_Drvw_GpioLvlType; typedef enum { PORT_DRVW_FAST_RATE = 0U, PORT_DRVW_SLOW_RATE } Port_Drvw_SlewRateType; typedef enum { PORT_DRVW_PULL_DISABLED = 0U, PORT_DRVW_PULL_DOWN = 2U, PORT_DRVW_PULL_UP = 3U, } Port_Drvw_PullConfigType; typedef struct { Port_Drvw_DirectionType PinDirection; uint8 PinOutputLevel; Port_Drvw_SlewRateType PinSlewRate; Port_Drvw_PullConfigType PinPullConfig; } Port_Drvw_UnconfigPinAttrType; typedef struct { uint16 Pin; uint8 PinOutputLevel; Port_Drvw_DirectionType PinDirection; boolean GPIO; boolean DirectionChangebility; boolean ModeChangebility; } Port_Drvw_ConfigPinAttrType; typedef struct { uint16 NumConfigPins; uint16 NumUnconfigPins; const uint16 *UnconfigPinList; const Port_Drvw_UnconfigPinAttrType *UnconfigPinConfigAttr; const Port_Drvw_ConfigPinAttrType *ConfigPinAttr; const Port_Drv_ConfigType *DrvConfigPtr; } Port_Drvw_ConfigType; # 30 "../../../mcal/Port_ZX_K14xM/Inc/Port_Types.h" 2 # 1 "../Generated/inc\\Port_Cfg.h" 1 # 29 "../Generated/inc\\Port_Cfg.h" # 1 "../Generated/inc/Port_PBcfg.h" 1 # 30 "../Generated/inc\\Port_Cfg.h" 2 # 31 "../../../mcal/Port_ZX_K14xM/Inc/Port_Types.h" 2 # 77 "../../../mcal/Port_ZX_K14xM/Inc/Port_Types.h" typedef uint32 Port_PinType; typedef uint8 Port_PinModeType; # 103 "../../../mcal/Port_ZX_K14xM/Inc/Port_Types.h" typedef enum { PORT_PIN_IN = 0U, PORT_PIN_OUT, } Port_PinDirectionType; typedef struct { uint16 Pin; uint8 PinOutputLevel; Port_PinDirectionType PinDirection; boolean GPIO; boolean DirectionChangebility; boolean ModeChangebility; } Port_PinConfigType; typedef struct { uint16 NumConfigPins; const uint32 *Port_PinsPartitionTable; const uint8 *Port_PartitionTable; const Port_Drvw_ConfigType *DrvwConfigPtr; } Port_ConfigType; # 30 "../../../mcal/Port_ZX_K14xM/Inc\\Port.h" 2 # 101 "../../../mcal/Port_ZX_K14xM/Inc\\Port.h" # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 848 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section rodata = ".mcal_config_data" # 102 "../../../mcal/Port_ZX_K14xM/Inc\\Port.h" 2 extern const Port_ConfigType *const Port_PreDefinedConfigPtr[1]; # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 864 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section rodata = "" # 105 "../../../mcal/Port_ZX_K14xM/Inc\\Port.h" 2 # 122 "../../../mcal/Port_ZX_K14xM/Inc\\Port.h" # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 1072 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section text = ".mcal_code" # 123 "../../../mcal/Port_ZX_K14xM/Inc\\Port.h" 2 # 132 "../../../mcal/Port_ZX_K14xM/Inc\\Port.h" void Port_Init(const Port_ConfigType *ConfigPtr); # 143 "../../../mcal/Port_ZX_K14xM/Inc\\Port.h" void Port_SetPinDirection(Port_PinType Pin, Port_PinDirectionType Direction); # 155 "../../../mcal/Port_ZX_K14xM/Inc\\Port.h" void Port_SetPinMode(Port_PinType Pin, Port_PinModeType Mode); # 166 "../../../mcal/Port_ZX_K14xM/Inc\\Port.h" void Port_GetVersionInfo(Std_VersionInfoType *versioninfo); # 176 "../../../mcal/Port_ZX_K14xM/Inc\\Port.h" void Port_RefreshPortDirection(void); # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 1088 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section text = "" # 180 "../../../mcal/Port_ZX_K14xM/Inc\\Port.h" 2 # 28 "../Generated/Src/Port_PBcfg.c" 2 # 1 "../../../mcal/Port_ZX_K14xM/Inc\\Port_Drvw.h" 1 # 79 "../../../mcal/Port_ZX_K14xM/Inc\\Port_Drvw.h" # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 876 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section rodata = ".mcal_config_data" # 80 "../../../mcal/Port_ZX_K14xM/Inc\\Port_Drvw.h" 2 extern const Port_Drvw_ConfigType Port_DrvwConfig; # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 892 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section rodata = "" # 87 "../../../mcal/Port_ZX_K14xM/Inc\\Port_Drvw.h" 2 # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 1072 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section text = ".mcal_code" # 95 "../../../mcal/Port_ZX_K14xM/Inc\\Port_Drvw.h" 2 void Port_Drvw_Init(const Port_Drvw_ConfigType *DrvwConfigPtr); # 118 "../../../mcal/Port_ZX_K14xM/Inc\\Port_Drvw.h" Std_ReturnType Port_Drvw_CheckPinDirectionChangeable(Port_Drvw_PinType PinIndex, const Port_Drvw_ConfigType *DrvwConfigPtr); # 133 "../../../mcal/Port_ZX_K14xM/Inc\\Port_Drvw.h" Std_ReturnType Port_Drvw_CheckPinModeChangeable(Port_Drvw_PinType PinIndex, const Port_Drvw_ConfigType *DrvwConfigPtr); # 149 "../../../mcal/Port_ZX_K14xM/Inc\\Port_Drvw.h" void Port_Drvw_SetPinDirection(Port_Drvw_PinType PinIndex, Port_Drvw_DirectionType Direction, const Port_Drvw_ConfigType *DrvwConfigPtr); # 164 "../../../mcal/Port_ZX_K14xM/Inc\\Port_Drvw.h" void Port_Drvw_SetPinMode(Port_Drvw_PinType PinIndex, Port_Drvw_PinModeType PinMode, const Port_Drvw_ConfigType *DrvwConfigPtr); # 175 "../../../mcal/Port_ZX_K14xM/Inc\\Port_Drvw.h" void Port_Drvw_RefreshPortDirection(const Port_Drvw_ConfigType *DrvwConfigPtr); # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 1088 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section text = "" # 179 "../../../mcal/Port_ZX_K14xM/Inc\\Port_Drvw.h" 2 # 29 "../Generated/Src/Port_PBcfg.c" 2 # 88 "../Generated/Src/Port_PBcfg.c" # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 764 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section rodata = ".mcal_config_data" # 89 "../Generated/Src/Port_PBcfg.c" 2 static const uint8 Port_PartitionInfoTable[(1U)] = { 1 }; # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 780 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section rodata = "" # 98 "../Generated/Src/Port_PBcfg.c" 2 # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 820 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section rodata = ".mcal_config_data" # 101 "../Generated/Src/Port_PBcfg.c" 2 static const uint32 Port_PinsPartitionInfoTable[((uint16)70)] = { (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 , (uint32)1 }; # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 836 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section rodata = "" # 179 "../Generated/Src/Port_PBcfg.c" 2 # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 876 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section rodata = ".mcal_config_data" # 182 "../Generated/Src/Port_PBcfg.c" 2 static const Port_ConfigType Port_Config = { ((uint16)70), Port_PinsPartitionInfoTable, Port_PartitionInfoTable, &Port_DrvwConfig }; const Port_ConfigType * const Port_PreDefinedConfigPtr[1] = { &Port_Config }; # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" 1 # 892 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Port_MemMap.h" #pragma clang section rodata = "" # 202 "../Generated/Src/Port_PBcfg.c" 2