# 1 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" # 1 "" 1 # 1 "" 3 # 387 "" 3 # 1 "" 1 # 1 "" 2 # 1 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" 2 # 26 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" # 1 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" 1 # 28 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" # 1 "../../../mcal/Dio_ZX_K14xM/Inc/Dio_Types.h" 1 # 28 "../../../mcal/Dio_ZX_K14xM/Inc/Dio_Types.h" # 1 "../../../mcal/Dio_ZX_K14xM/Inc/Dio_Drvw_Types.h" 1 # 28 "../../../mcal/Dio_ZX_K14xM/Inc/Dio_Drvw_Types.h" # 1 "../../../mcal/Dio_ZX_K14xM/Inc/Gpio_Drv_Types.h" 1 # 28 "../../../mcal/Dio_ZX_K14xM/Inc/Gpio_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); # 29 "../../../mcal/Dio_ZX_K14xM/Inc/Gpio_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 # 30 "../../../mcal/Dio_ZX_K14xM/Inc/Gpio_Drv_Types.h" 2 # 69 "../../../mcal/Dio_ZX_K14xM/Inc/Gpio_Drv_Types.h" typedef uint32 Gpio_Drv_PinsChannelType; typedef uint8 Gpio_Drv_PinsLevelType; # 29 "../../../mcal/Dio_ZX_K14xM/Inc/Dio_Drvw_Types.h" 2 # 1 "../Generated/inc\\Dio_Drvw_Cfg.h" 1 # 30 "../../../mcal/Dio_ZX_K14xM/Inc/Dio_Drvw_Types.h" 2 # 88 "../../../mcal/Dio_ZX_K14xM/Inc/Dio_Drvw_Types.h" typedef uint8 Dio_Drvw_PortType; typedef uint16 Dio_Drvw_ChannelType; typedef uint32 Dio_Drvw_PortLevelType; typedef uint8 Dio_Drvw_LevelType; typedef struct { Dio_Drvw_PortType PortId; uint8 BitOffset; Dio_Drvw_PortLevelType GroupMask; } Dio_Drvw_ChannelGroupType; typedef struct { uint8 ChannelGroupNum; const Dio_Drvw_ChannelGroupType *ChannelGroupListPtr; const uint32 *ChannelPartitionMapPtr; const uint32 *PortPartitionMapPtr; } Dio_Drvw_ConfigType; # 29 "../../../mcal/Dio_ZX_K14xM/Inc/Dio_Types.h" 2 # 1 "../Generated/inc\\Dio_Cfg.h" 1 # 30 "../../../mcal/Dio_ZX_K14xM/Inc/Dio_Types.h" 2 # 86 "../../../mcal/Dio_ZX_K14xM/Inc/Dio_Types.h" typedef Dio_Drvw_PortType Dio_PortType; typedef Dio_Drvw_ChannelType Dio_ChannelType; typedef Dio_Drvw_PortLevelType Dio_PortLevelType; typedef Dio_Drvw_LevelType Dio_LevelType; typedef Dio_Drvw_ChannelGroupType Dio_ChannelGroupType; typedef Dio_Drvw_ConfigType Dio_ConfigType; # 127 "../../../mcal/Dio_ZX_K14xM/Inc/Dio_Types.h" typedef uint32 Dio_PointerSizeType; # 29 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" 2 # 96 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Dio_MemMap.h" 1 # 848 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Dio_MemMap.h" #pragma clang section rodata = ".mcal_config_data" # 97 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" 2 extern const Dio_ConfigType *const Dio_PreDefinedConfigPtr; # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Dio_MemMap.h" 1 # 864 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Dio_MemMap.h" #pragma clang section rodata = "" # 100 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" 2 extern const Dio_PortLevelType Dio_AvailablePinsForWrite[((uint16)0x5U)];extern const Dio_PortLevelType Dio_AvailablePinsForRead[((uint16)0x5U)]; # 112 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Dio_MemMap.h" 1 # 1072 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Dio_MemMap.h" #pragma clang section text = ".mcal_code" # 113 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" 2 # 122 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" void Dio_GetVersionInfo(Std_VersionInfoType *VersionInfo); # 141 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" Dio_LevelType Dio_FlipChannel(Dio_ChannelType ChannelId); # 156 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" void Dio_MaskedWritePort(Dio_PortType PortId, Dio_PortLevelType Level, Dio_PortLevelType Mask); # 170 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" Dio_LevelType Dio_ReadChannel(Dio_ChannelType ChannelId); # 182 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" Dio_PortLevelType Dio_ReadPort(Dio_PortType PortId); # 193 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" Dio_PortLevelType Dio_ReadChannelGroup(const Dio_ChannelGroupType *ChannelGroupIdPtr); # 203 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" void Dio_WriteChannel(Dio_ChannelType ChannelId, Dio_LevelType Level); # 215 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" void Dio_WritePort(Dio_PortType PortId, Dio_PortLevelType Level); # 228 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" void Dio_WriteChannelGroup(const Dio_ChannelGroupType *ChannelGroupIdPtr, Dio_PortLevelType Level); # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Dio_MemMap.h" 1 # 1088 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Dio_MemMap.h" #pragma clang section text = "" # 235 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio.h" 2 # 27 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" 2 # 1 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio_Drvw.h" 1 # 79 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio_Drvw.h" # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Dio_MemMap.h" 1 # 1072 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Dio_MemMap.h" #pragma clang section text = ".mcal_code" # 80 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio_Drvw.h" 2 # 93 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio_Drvw.h" Dio_Drvw_LevelType Dio_Drvw_FlipChannel(Dio_Drvw_ChannelType ChannelId); # 107 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio_Drvw.h" void Dio_Drvw_MaskedWritePort(Dio_Drvw_PortType PortId, Dio_Drvw_PortLevelType Level, Dio_Drvw_PortLevelType Mask); # 120 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio_Drvw.h" Dio_Drvw_LevelType Dio_Drvw_ReadChannel(Dio_Drvw_ChannelType ChannelId); # 130 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio_Drvw.h" Dio_Drvw_PortLevelType Dio_Drvw_ReadPort(Dio_Drvw_PortType PortId); # 140 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio_Drvw.h" Dio_Drvw_PortLevelType Dio_Drvw_ReadChannelGroup(const Dio_Drvw_ChannelGroupType *ChannelGroupIdPtr); # 151 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio_Drvw.h" void Dio_Drvw_WriteChannel(Dio_Drvw_ChannelType ChannelId, Dio_Drvw_LevelType Level); # 160 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio_Drvw.h" void Dio_Drvw_WritePort(Dio_Drvw_PortType PortId, Dio_Drvw_PortLevelType Level); # 171 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio_Drvw.h" void Dio_Drvw_WriteChannelGroup(const Dio_Drvw_ChannelGroupType *ChannelGroupIdPtr, Dio_Drvw_PortLevelType Level); # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Dio_MemMap.h" 1 # 1088 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Dio_MemMap.h" #pragma clang section text = "" # 177 "../../../mcal/Dio_ZX_K14xM/Inc\\Dio_Drvw.h" 2 # 28 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" 2 # 1 "../../../mcal/Det_ZX_K14xM/Inc\\Det.h" 1 # 61 "../../../mcal/Det_ZX_K14xM/Inc\\Det.h" void Det_Init(void); Std_ReturnType Det_ReportError(uint16 ModuleId, uint8 InstanceId, uint8 ApiId, uint8 ErrorId); Std_ReturnType Det_ReportRuntimeError(uint16 ModuleId, uint8 InstanceId, uint8 ApiId, uint8 ErrorId); Std_ReturnType Det_ReportTransientFault(uint16 ModuleId, uint8 InstanceId, uint8 ApiId, uint8 FaultId); void Det_Start(void); # 31 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" 2 # 124 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Dio_MemMap.h" 1 # 1072 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Dio_MemMap.h" #pragma clang section text = ".mcal_code" # 125 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" 2 static inline Std_ReturnType Dio_CheckWriteChannel(Dio_ChannelType ChannelId, uint8 ServiceId); static inline Std_ReturnType Dio_CheckReadChannel(Dio_ChannelType ChannelId, uint8 ServiceId); static inline Std_ReturnType Dio_CheckWritePort(Dio_PortType PortId, uint8 ServiceId); static inline Std_ReturnType Dio_CheckReadPort(Dio_PortType PortId, uint8 ServiceId); static inline Std_ReturnType Dio_CheckWriteChannelGroup(const Dio_ChannelGroupType *ChannelGroupPtr, uint8 ServiceId); static inline Std_ReturnType Dio_CheckReadChannelGroup(const Dio_ChannelGroupType *ChannelGroupPtr, uint8 ServiceId); # 173 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" static inline Std_ReturnType Dio_CheckReadChannel(Dio_ChannelType ChannelId, uint8 ServiceId) { Std_ReturnType Valid = (Std_ReturnType)0x01U; uint8 CoreId = (uint8)(0U); if (((((Dio_ChannelType)(ChannelId) <= ((uint32)159U))) && ((Dio_PortLevelType)0U != (Dio_AvailablePinsForRead[((ChannelId) >> (5U))] & ((((uint32)1U) << (((uint16)ChannelId)&((uint32)0x1FU))))))) && ((uint32)1U == ((Dio_PreDefinedConfigPtr->ChannelPartitionMapPtr[ChannelId] & ((uint32)1U << CoreId)) >> CoreId))) { Valid = (Std_ReturnType)0x00U; } else { (void)Det_ReportError((uint16)120U, ((uint8)0x00U), (uint8) (ServiceId), (uint8)( ((uint8)0x0AU)));; } return Valid; } # 212 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" static inline Std_ReturnType Dio_CheckWriteChannel(Dio_ChannelType ChannelId, uint8 ServiceId) { Std_ReturnType Valid = (Std_ReturnType)0x01U; uint8 CoreId = (uint8)(0U); if (((((Dio_ChannelType)(ChannelId) <= ((uint32)159U))) && ((Dio_PortLevelType)0U != (Dio_AvailablePinsForWrite[((ChannelId) >> (5U))] & ((((uint32)1U) << (((uint16)ChannelId)&((uint32)0x1FU))))))) && (((uint32)1U == ((Dio_PreDefinedConfigPtr->ChannelPartitionMapPtr[ChannelId] & ((uint32)1U << CoreId)) >> CoreId)))) { Valid = (Std_ReturnType)0x00U; } else { (void)Det_ReportError((uint16)120U, ((uint8)0x00U), (uint8) (ServiceId), (uint8)( ((uint8)0x0AU)));; } return Valid; } # 251 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" static inline Std_ReturnType Dio_CheckReadPort(Dio_PortType PortId, uint8 ServiceId) { Std_ReturnType Valid = (Std_ReturnType)0x01U; uint8 CoreId = (uint8)(0U); if ((((uint8)(PortId) < ((uint16)0x5U)) && (Dio_AvailablePinsForRead[(uint8)(PortId)] != ((Dio_PortLevelType)0x0U))) && ((uint32)1U == ((Dio_PreDefinedConfigPtr->PortPartitionMapPtr[PortId] & ((uint32)1U << CoreId)) >> CoreId))) { Valid = (Std_ReturnType)0x00U; } else { (void)Det_ReportError((uint16)120U, ((uint8)0x00U), (uint8) (ServiceId), (uint8)( ((uint8)0x14U)));; } return Valid; } # 289 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" static inline Std_ReturnType Dio_CheckWritePort(Dio_PortType PortId, uint8 ServiceId) { Std_ReturnType Valid = (Std_ReturnType)0x01U; uint8 CoreId = (uint8)(0U); if ((((uint8)(PortId) < ((uint16)0x5U)) && (Dio_AvailablePinsForWrite[(uint8)(PortId)] != ((Dio_PortLevelType)0x0U))) && ((uint32)1U == ((Dio_PreDefinedConfigPtr->PortPartitionMapPtr[PortId] & ((uint32)1U << CoreId)) >> CoreId))) { Valid = (Std_ReturnType)0x00U; } else { (void)Det_ReportError((uint16)120U, ((uint8)0x00U), (uint8) (ServiceId), (uint8)( ((uint8)0x14U)));; } return Valid; } # 329 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" static inline Std_ReturnType Dio_CheckWriteChannelGroup(const Dio_ChannelGroupType *ChannelGroupPtr, uint8 ServiceId) { Std_ReturnType Valid = (Std_ReturnType)0x01U; if (((void *)0) == ChannelGroupPtr) { (void)Det_ReportError((uint16)120U, ((uint8)0x00U), (uint8) (ServiceId), (uint8)( ((uint8)0x20U)));; } else { if ((((Dio_PointerSizeType)(ChannelGroupPtr)) >= ((Dio_PointerSizeType)Dio_PreDefinedConfigPtr->ChannelGroupListPtr)) && (((Dio_PointerSizeType)(ChannelGroupPtr)) <= (Dio_PointerSizeType)(&Dio_PreDefinedConfigPtr ->ChannelGroupListPtr[Dio_PreDefinedConfigPtr->ChannelGroupNum - 1U])) && ((uint8)(ChannelGroupPtr->PortId) < ((uint16)0x5U)) && ((uint8)(ChannelGroupPtr->BitOffset) <= ((uint8)0x1FU)) && (Dio_AvailablePinsForWrite[(uint8)(ChannelGroupPtr->PortId)] != ((Dio_PortLevelType)0x0U))) { Valid = (Std_ReturnType)0x00U; } else { (void)Det_ReportError((uint16)120U, ((uint8)0x00U), (uint8) (ServiceId), (uint8)( ((uint8)0x1FU)));; } } return Valid; } # 379 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" static inline Std_ReturnType Dio_CheckReadChannelGroup(const Dio_ChannelGroupType *ChannelGroupPtr, uint8 ServiceId) { Std_ReturnType Valid = (Std_ReturnType)0x01U; if (((void *)0) == ChannelGroupPtr) { (void)Det_ReportError((uint16)120U, ((uint8)0x00U), (uint8) (ServiceId), (uint8)( ((uint8)0x20U)));; } else { if ((((Dio_PointerSizeType)(ChannelGroupPtr)) >= ((Dio_PointerSizeType)Dio_PreDefinedConfigPtr->ChannelGroupListPtr)) && (((Dio_PointerSizeType)(ChannelGroupPtr)) <= (Dio_PointerSizeType)(&Dio_PreDefinedConfigPtr ->ChannelGroupListPtr[Dio_PreDefinedConfigPtr->ChannelGroupNum - 1U])) && ((uint8)(ChannelGroupPtr->PortId) < ((uint16)0x5U)) && ((uint8)(ChannelGroupPtr->BitOffset) <= ((uint8)0x1FU)) && (Dio_AvailablePinsForRead[(uint8)(ChannelGroupPtr->PortId)] != ((Dio_PortLevelType)0x0U))) { Valid = (Std_ReturnType)0x00U; } else { (void)Det_ReportError((uint16)120U, ((uint8)0x00U), (uint8) (ServiceId), (uint8)( ((uint8)0x1FU)));; } } return Valid; } # 463 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" void Dio_GetVersionInfo(Std_VersionInfoType *VersionInfo) { if (((void *)0) == VersionInfo) { (void)Det_ReportError((uint16)120U, ((uint8)0x00U), ((uint8)0x12U), ((uint8)0x20U)); } else { VersionInfo->vendorID = (uint16)0x00B3U; VersionInfo->moduleID = (uint16)120U; VersionInfo->sw_major_version = (uint8)1U; VersionInfo->sw_minor_version = (uint8)2U; VersionInfo->sw_patch_version = (uint8)0U; } } # 499 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" Dio_LevelType Dio_FlipChannel(Dio_ChannelType ChannelId) { Dio_LevelType ChannelLevel = (Dio_LevelType)0x00U; if ((Std_ReturnType)0x00U == Dio_CheckWriteChannel(ChannelId, ((uint8)0x11U))) { ChannelLevel = Dio_Drvw_FlipChannel(ChannelId); } return ChannelLevel; } # 528 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" void Dio_MaskedWritePort(Dio_PortType PortId, Dio_PortLevelType Level, Dio_PortLevelType Mask) { if ((Std_ReturnType)0x00U == Dio_CheckWritePort(PortId, ((uint8)0x13U))) { Dio_Drvw_MaskedWritePort(PortId, Level, Mask); } } # 554 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" Dio_LevelType Dio_ReadChannel(Dio_ChannelType ChannelId) { Dio_LevelType ChannelLevel = (Dio_LevelType)0x00U; if ((Std_ReturnType)0x00U == Dio_CheckReadChannel(ChannelId, ((uint8)0x00U))) { ChannelLevel = Dio_Drvw_ReadChannel(ChannelId); } return ChannelLevel; } # 577 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" void Dio_WriteChannel(Dio_ChannelType ChannelId, Dio_LevelType Level) { if ((Std_ReturnType)0x00U == Dio_CheckWriteChannel(ChannelId, ((uint8)0x01U))) { Dio_Drvw_WriteChannel(ChannelId, Level); } } # 599 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" Dio_PortLevelType Dio_ReadPort(Dio_PortType PortId) { Dio_PortLevelType PortLevel = (Dio_PortLevelType)0x00U; if ((Std_ReturnType)0x00U == Dio_CheckReadPort(PortId, ((uint8)0x02U))) { PortLevel = Dio_Drvw_ReadPort(PortId); } return PortLevel; } # 624 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" void Dio_WritePort(Dio_PortType PortId, Dio_PortLevelType Level) { if ((Std_ReturnType)0x00U == Dio_CheckWritePort(PortId, ((uint8)0x03U))) { Dio_Drvw_WritePort(PortId, Level); } } # 646 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" void Dio_WriteChannelGroup(const Dio_ChannelGroupType *ChannelGroupIdPtr, Dio_PortLevelType Level) { if ((Std_ReturnType)0x00U == Dio_CheckWriteChannelGroup(ChannelGroupIdPtr, ((uint8)0x05U))) { Dio_Drvw_WriteChannelGroup(ChannelGroupIdPtr, Level); # 667 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" } } # 681 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" Dio_PortLevelType Dio_ReadChannelGroup(const Dio_ChannelGroupType *ChannelGroupIdPtr) { Dio_PortLevelType PortLevel = (Dio_PortLevelType)0x00U; if ((Std_ReturnType)0x00U == Dio_CheckReadChannelGroup(ChannelGroupIdPtr, ((uint8)0x04U))) { PortLevel = Dio_Drvw_ReadChannelGroup(ChannelGroupIdPtr); # 706 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" } return PortLevel; } # 1 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Dio_MemMap.h" 1 # 1088 "../../../mcal/Base_ZX_K14xM/Inc/MemMap\\Dio_MemMap.h" #pragma clang section text = "" # 717 "../../../mcal/Dio_ZX_K14xM/Src/Dio.c" 2