-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSSC_Infineon.patch
More file actions
33 lines (33 loc) · 922 Bytes
/
SSC_Infineon.patch
File metadata and controls
33 lines (33 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- ecatslv.c
+++ ecatslv.c
@@ -1995,30 +1995,3 @@
-/*ECATCHANGE_START(V5.13) ECAT1*/
- /*Get Sync mapped to AL Event indication*/
- {
#if ESC_32BIT_ACCESS || ESC_16BIT_ACCESS
- UINT32 u32TmpVar = 0;
- HW_EscReadDWord(u32TmpVar, ESC_PDI_CONFIGURATION);
- if ((u32TmpVar & ESC_SYNC0_MAPPED_TO_ALEVENT) > 0)
- {
- u16ALEventMask |= SYNC0_EVENT;
- }
-
- if ((u32TmpVar & ESC_SYNC1_MAPPED_TO_ALEVENT) > 0)
- {
- u16ALEventMask |= SYNC1_EVENT;
- }
#else
- UINT8 u8TmpVar = 0;
- HW_EscReadByte(u8TmpVar, ESC_PDI_CONFIGURATION);
- if ((u8TmpVar & ESC_SYNC0_MAPPED_TO_ALEVENT) > 0)
- {
- u16ALEventMask |= SYNC0_EVENT;
- }
-
- if ((u8TmpVar & ESC_SYNC1_MAPPED_TO_ALEVENT) > 0)
- {
- u16ALEventMask |= SYNC1_EVENT;
- }
#endif
- }
-/*ECATCHANGE_END(V5.13) ECAT1*/