Infineon MOTIX™ MCU TLE988x/9x Device Family SDK
ccu7.h
Go to the documentation of this file.
1 /*
2  ***********************************************************************************************************************
3  *
4  * Copyright (c) Infineon Technologies AG
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without modification,are permitted provided that the
8  * following conditions are met:
9  *
10  * Redistributions of source code must retain the above copyright notice, this list of conditions and the following
11  * disclaimer.
12  *
13  * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
14  * following disclaimer in the documentation and/or other materials provided with the distribution.
15  *
16  * Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote
17  * products derived from this software without specific prior written permission.
18  *
19  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
20  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24  * WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
25  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26  *
27  **********************************************************************************************************************/
43 /* Generated by generate_functions_02_xlsx2func.py, version 1.0.1 on 10. Feb 2021
44  * from File 'ccu7.xlsx', version 0.1.0
45  */
46 
47 /*******************************************************************************
48 ** Author(s) Identity **
49 ********************************************************************************
50 ** Initials Name **
51 ** ---------------------------------------------------------------------------**
52 ** JO Julia Ott **
53 ** BG Blandine Guillot **
54 ** DM Daniel Mysliwitz **
55 *******************************************************************************/
56 
57 /*******************************************************************************
58 ** Revision Control History **
59 ********************************************************************************
60 ** V0.1.0: 2020-07-10, JO: Initial version **
61 ** V0.2.0: 2020-08-03, JO: Corrected functions CCU7_getT12Freq_Hz and **
62 ** CCU7_setT12Freq_Hz **
63 ** V0.2.1: 2020-08-11, JO: EP-449: Added typecasts to avoid ARMCC v6 **
64 ** warnings **
65 ** V0.2.2: 2020-10-06, BG: EP-492: Removed MISRA 2012 errors **
66 ** V0.2.3: 2020-10-15, JO: EP-523: Updated parameter names **
67 ** V0.2.4: 2020-10-21, BG: EP-539: Considered the enable checkbox in CW in **
68 ** the initialization function **
69 ** V0.2.5: 2020-10-22, JO: EP-539: Added variable s8_returnCode to function **
70 ** CCU7_enModule **
71 ** V0.2.6: 2020-11-12, JO: EP-590: Removed \param none and \return none to **
72 ** avoid doxygen warning **
73 ** Added end of group for doxygen **
74 ** V0.2.7: 2020-11-20, BG: EP-610: Corrected MISRA 2012 errors **
75 ** The following rules are globally deactivated: **
76 ** - Info 774: Boolean within 'if' always evaluates **
77 ** to False/True **
78 ** V0.2.8: 2020-12-16, JO: EP-651: Corrected wrong typecasts in case **
79 ** CCU7_T12_CLK contains a decimal point **
80 ** V0.2.9: 2020-12-18, BG: EP-652: Corrected name of error code variable **
81 ** V0.3.0: 2020-12-18, JO: EP-607: Use CCU7_T12_CLK_HZ insted of **
82 ** CCU7_T12_CLK for further calculation **
83 ** V0.3.1: 2021-02-02, JO: EP-555: Applied split of register fields **
84 ** T12MODEN, T13MODEN, PSL **
85 ** V0.3.2: 2021-02-02, JO: EP-593: Applied renaming of CCU7_DT_CLK to **
86 ** CCU7_DT_CLK_MHz **
87 ** Corrected functions CCU7_setDeadTime_ns and **
88 ** CCU7_getDeadTime_ns to use the correct clock **
89 ** V0.3.3: 2021-02-10, JO: EP-696: Changed from anonymous to named typedefs **
90 ** to prevent MISRA warning **
91 ** V0.3.4: 2021-02-19, JO: EP-709: Corrected functions CCU7_disModule, **
92 ** CCU7_getHallPatternSampled, and **
93 ** CCU7_setT13Modulation **
94 ** V0.3.5: 2021-03-05, JO: EP-730: Removed leading 't' in enum values **
95 ** V0.3.6: 2021-04-06, BG: EP-760: Replaced if instructions to check if the **
96 ** module is enabled with preprocessor directives to**
97 ** avoid compiler warnings **
98 ** V0.3.7: 2021-04-23, BG: EP-779: Corrected typos **
99 ** V0.3.8: 2021-11-12, JO: EP-937: Updated copyright and branding **
100 ** V0.3.9: 2022-06-23, JO: EP-1150: Removed ARMCC V6.18 warnings **
101 ** V0.4.0: 2022-11-17, JO: EP-1342: Updated enum documentation to remove **
102 ** doxygen warning **
103 *******************************************************************************/
104 
105 #ifndef _CCU7_H
106 #define _CCU7_H
107 
108 /*******************************************************************************
109 ** Includes **
110 *******************************************************************************/
111 
112 #include "types.h"
113 #include "tle989x.h"
114 #include "tle_variants.h"
115 #include "ccu7_defines.h"
116 
117 /*******************************************************************************
118 ** Global Type Declarations **
119 *******************************************************************************/
120 
126 typedef enum CCU7_HallSync
127 {
137 
144 {
152 
159 {
164 
165 /*******************************************************************************
166 ** Global Macro Declarations **
167 *******************************************************************************/
168 #define CCU7_MODCTR_T12MODEN_Pos (0x0U)
169 #define CCU7_MODCTR_T12MODEN_Msk (0x3FU)
170 #define CCU7_MODCTR_T13MODEN_Pos (0x8U)
171 #define CCU7_MODCTR_T13MODEN_Msk (0x3F00U)
172 
173 /*******************************************************************************
174 ** Global Type Declarations **
175 *******************************************************************************/
176 
177 /*******************************************************************************
178 ** Global Function Declarations **
179 *******************************************************************************/
180 
181 sint8 CCU7_init(void);
182 sint8 CCU7_enModule(void);
183 sint8 CCU7_disModule(void);
185 INLINE void CCU7_setT12PerVal(uint16 u16_value);
201 INLINE sint8 CCU7_setDeadTime_ns(uint8 u8_channel, uint32 u32_deadTimeRise_ns, uint32 u32_deadTimeFall_ns) ;
202 INLINE sint8 CCU7_getDeadTime_ns(uint8 u8_channel, uint32 *u32p_DeadTimeRise_ns, uint32 *u32p_DeadTimeFall_ns) ;
206 INLINE void CCU7_setCC70AValShadow(uint16 u16_value);
207 INLINE void CCU7_setCC71AValShadow(uint16 u16_value);
208 INLINE void CCU7_setCC72AValShadow(uint16 u16_value);
212 INLINE void CCU7_setC70BValShadow(uint16 u16_value);
213 INLINE void CCU7_setC71BValShadow(uint16 u16_value);
214 INLINE void CCU7_setC72BValShadow(uint16 u16_value);
219 INLINE void CCU7_setT13PerVal(uint16 u16_value);
221 INLINE void CCU7_setT14PerVal(uint16 u16_value);
223 INLINE void CCU7_setT15PerVal(uint16 u16_value);
225 INLINE void CCU7_setT16PerVal(uint16 u16_value);
231 INLINE void CCU7_setC73ValShadow(uint16 u16_value);
232 INLINE void CCU7_setC74ValShadow(uint16 u16_value);
233 INLINE void CCU7_setC75ValShadow(uint16 u16_value);
234 INLINE void CCU7_setC76ValShadow(uint16 u16_value);
238 INLINE void CCU7_enT12SingleShot(void);
239 INLINE void CCU7_disT12SingleShot(void);
240 INLINE void CCU7_enT13SingleShot(void);
241 INLINE void CCU7_disT13SingleShot(void);
242 INLINE void CCU7_enT14SingleShot(void);
243 INLINE void CCU7_disT14SingleShot(void);
244 INLINE void CCU7_enT15SingleShot(void);
245 INLINE void CCU7_disT15SingleShot(void);
246 INLINE void CCU7_enT16SingleShot(void);
247 INLINE void CCU7_disT16SingleShot(void);
248 INLINE void CCU7_stopT12(void);
249 INLINE void CCU7_startT12(void);
250 INLINE void CCU7_stopT13(void);
251 INLINE void CCU7_startT13(void);
252 INLINE void CCU7_stopT14(void);
253 INLINE void CCU7_startT14(void);
254 INLINE void CCU7_stopT15(void);
255 INLINE void CCU7_startT15(void);
256 INLINE void CCU7_stopT16(void);
257 INLINE void CCU7_startT16(void);
258 INLINE void CCU7_setT12Modulation(uint8 u8_value);
259 INLINE void CCU7_enMultiChMode(void);
260 INLINE void CCU7_disMultiChMode(void);
261 INLINE void CCU7_setT13Modulation(uint8 u8_value);
262 INLINE void CCU7_enTrap(void);
263 INLINE void CCU7_disTrap(void);
265 INLINE void CCU7_enTrapPin(void);
266 INLINE void CCU7_disTrapPin(void);
277 INLINE void CCU7_enLostBitEventInt(void);
305 INLINE void CCU7_clrTrapIntSts(void);
308 INLINE void CCU7_clrHallIdleIntSts(void);
322 INLINE void CCU7_enT12OneMatchInt(void);
323 INLINE void CCU7_disT12OneMatchInt(void);
324 INLINE void CCU7_enT12PerMatchInt(void);
325 INLINE void CCU7_disT12PerMatchInt(void);
326 INLINE void CCU7_enT13CmpMatchInt(void);
327 INLINE void CCU7_disT13CmpMatchInt(void);
328 INLINE void CCU7_enT13PerMatchInt(void);
329 INLINE void CCU7_disT13PerMatchInt(void);
330 INLINE void CCU7_enTrapCondInt(void);
331 INLINE void CCU7_disTrapCondInt(void);
336 INLINE void CCU7_enHallIdleInt(void);
337 INLINE void CCU7_disHallIdleInt(void);
376 INLINE void CCU7_enT14CmpMatchInt(void);
377 INLINE void CCU7_disT14CmpMatchInt(void);
378 INLINE void CCU7_enT14PerMatchInt(void);
379 INLINE void CCU7_disT14PerMatchInt(void);
380 INLINE void CCU7_enT15CmpMatchInt(void);
381 INLINE void CCU7_disT15CmpMatchInt(void);
382 INLINE void CCU7_enT15PerMatchInt(void);
383 INLINE void CCU7_disT15PerMatchInt(void);
384 INLINE void CCU7_enT16CmpMatchInt(void);
385 INLINE void CCU7_disT16CmpMatchInt(void);
386 INLINE void CCU7_enT16PerMatchInt(void);
387 INLINE void CCU7_disT16PerMatchInt(void);
393 
394 /*******************************************************************************
395 ** Deprecated Function Declarations **
396 *******************************************************************************/
400 void CCU7_setCC70AIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
401 
405 void CCU7_setCC71AIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
406 
410 void CCU7_setCC72AIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
411 
415 void CCU7_setCHEIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
416 
420 void CCU7_setErrorIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
421 
425 void CCU7_setT12IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
426 
430 void CCU7_setT13IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
431 
435 void CCU7_setC70BIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
436 
440 void CCU7_setC71BIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
441 
445 void CCU7_setC72BIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
446 
450 void CCU7_setT14IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
451 
455 void CCU7_setT15IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
456 
460 void CCU7_setT16IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
461 
462 
463 /*******************************************************************************
464 ** Global Inline Function Definitions **
465 *******************************************************************************/
471 {
472  return (uint16)CCU7->T12.bit.T12CV;
473 }
474 
480 {
481  CCU7->T12PR.bit.T12PV = u16_value;
482 }
483 
489 {
490  return (uint16)CCU7->T12PR.bit.T12PV;
491 }
492 
504 {
505  sint8 s8_returnCode;
506  uint32 u32_period_tick;
507  s8_returnCode = ERR_LOG_SUCCESS;
508  u32_period_tick = (uint32)(CCU7_T12_CLK_HZ / u32_freq_hz);
509 
510  if (CCU7->TCTR0.bit.CTM == 1)
511  {
512  /* Center aligned mode --> /2 */
513  u32_period_tick = u32_period_tick / 2u;
514  }
515 
516  u32_period_tick = u32_period_tick - 1u;
517 
518  if (u32_period_tick <= 0xFFFFu)
519  {
520  CCU7_setT12PerVal((uint16)u32_period_tick);
521  }
522  else
523  {
524  s8_returnCode = ERR_LOG_CODE_PARAM_OUT_OF_RANGE;
525  }
526 
527  return s8_returnCode;
528 }
529 
537 {
538  uint32 u32_period_Hz;
539  uint32 u32_period_tick = (uint32)((uint32)CCU7_getT12PerVal() + 1u);
540 
541  if (CCU7->TCTR0.bit.CTM == 1u)
542  {
543  /* Center aligned mode --> *2 */
544  u32_period_tick = u32_period_tick * 2u;
545  }
546 
547  u32_period_Hz = (uint32)(CCU7_T12_CLK_HZ / u32_period_tick);
548  return u32_period_Hz;
549 }
550 
556 {
557  CCU7->T12DT0_VAL.bit.DTM_RISE = u8_value;
558 }
559 
565 {
566  return (uint8)CCU7->T12DT0_VAL.bit.DTM_RISE;
567 }
568 
574 {
575  CCU7->T12DT0_VAL.bit.DTM_FALL = u8_value;
576 }
577 
583 {
584  return (uint8)CCU7->T12DT0_VAL.bit.DTM_FALL;
585 }
586 
592 {
593  CCU7->T12DT1_VAL.bit.DTM_RISE = u8_value;
594 }
595 
601 {
602  return (uint8)CCU7->T12DT1_VAL.bit.DTM_RISE;
603 }
604 
610 {
611  CCU7->T12DT1_VAL.bit.DTM_FALL = u8_value;
612 }
613 
619 {
620  return (uint8)CCU7->T12DT1_VAL.bit.DTM_FALL;
621 }
622 
628 {
629  CCU7->T12DT2_VAL.bit.DTM_RISE = u8_value;
630 }
631 
637 {
638  return (uint8)CCU7->T12DT2_VAL.bit.DTM_RISE;
639 }
640 
646 {
647  CCU7->T12DT2_VAL.bit.DTM_FALL = u8_value;
648 }
649 
655 {
656  return (uint8)CCU7->T12DT2_VAL.bit.DTM_FALL;
657 }
658 
675 INLINE sint8 CCU7_setDeadTime_ns(uint8 u8_channel, uint32 u32_deadTimeRise_ns, uint32 u32_deadTimeFall_ns)
676 {
677  sint8 s8_returnCode;
678  /* Local variables for dead time ticks */
679  uint32 deadTimeRise_ticks;
680  uint32 deadTimeFall_ticks;
681  s8_returnCode = ERR_LOG_SUCCESS;
682  /* Conversion of dead time [us] into dead time [ticks], division by 1000 to achieve correct unit */
683  deadTimeRise_ticks = (uint32)((u32_deadTimeRise_ns * CCU7_DT_CLK_MHz) / 1000);
684  deadTimeFall_ticks = (uint32)((u32_deadTimeFall_ns * CCU7_DT_CLK_MHz) / 1000);
685 
686  if ((deadTimeRise_ticks <= 255u) && (deadTimeFall_ticks <= 255u))
687  {
688  switch (u8_channel)
689  {
690  case 0:
691  {
692  CCU7_setCh0DeadTimeRise_ticks((uint8)deadTimeRise_ticks);
693  CCU7_setCh0DeadTimeFall_ticks((uint8)deadTimeFall_ticks);
694  break;
695  }
696 
697  case 1:
698  {
699  CCU7_setCh1DeadTimeRise_ticks((uint8)deadTimeRise_ticks);
700  CCU7_setCh1DeadTimeFall_ticks((uint8)deadTimeFall_ticks);
701  break;
702  }
703 
704  case 2:
705  {
706  CCU7_setCh2DeadTimeRise_ticks((uint8)deadTimeRise_ticks);
707  CCU7_setCh2DeadTimeFall_ticks((uint8)deadTimeFall_ticks);
708  break;
709  }
710 
711  default:
712  {
713  s8_returnCode = ERR_LOG_CODE_PARAM_OUT_OF_RANGE;
714  break;
715  }
716  }
717  }
718  else
719  {
720  s8_returnCode = ERR_LOG_CODE_PARAM_OUT_OF_RANGE;
721  }
722 
723  return s8_returnCode;
724 }
725 
738 INLINE sint8 CCU7_getDeadTime_ns(uint8 u8_channel, uint32 *u32p_DeadTimeRise_ns, uint32 *u32p_DeadTimeFall_ns)
739 {
740  sint8 s8_returnCode;
741  /* Local variables for dead time ticks */
742  uint32 deadTimeRise_ticks = 0;
743  uint32 deadTimeFall_ticks = 0;
744  s8_returnCode = ERR_LOG_SUCCESS;
745 
746  if ((PtrRangeCheck(u32p_DeadTimeRise_ns) == true) && (PtrRangeCheck(u32p_DeadTimeFall_ns) == true))
747  {
748  switch (u8_channel)
749  {
750  case 0:
751  {
752  deadTimeRise_ticks = CCU7_getCh0DeadTimeRise_ticks();
753  deadTimeFall_ticks = CCU7_getCh0DeadTimeFall_ticks();
754  break;
755  }
756 
757  case 1:
758  {
759  deadTimeRise_ticks = CCU7_getCh1DeadTimeRise_ticks();
760  deadTimeFall_ticks = CCU7_getCh1DeadTimeFall_ticks();
761  break;
762  }
763 
764  case 2:
765  {
766  deadTimeRise_ticks = CCU7_getCh2DeadTimeRise_ticks();
767  deadTimeFall_ticks = CCU7_getCh2DeadTimeFall_ticks();
768  break;
769  }
770 
771  default:
772  {
773  s8_returnCode = ERR_LOG_CODE_PARAM_OUT_OF_RANGE;
774  }
775  }
776 
777  if (s8_returnCode == ERR_LOG_SUCCESS)
778  {
779  *u32p_DeadTimeRise_ns = (uint32)((deadTimeRise_ticks * 1000) / CCU7_DT_CLK_MHz);
780  *u32p_DeadTimeFall_ns = (uint32)((deadTimeFall_ticks * 1000) / CCU7_DT_CLK_MHz);
781  }
782  }
783  else
784  {
785  s8_returnCode = ERR_LOG_CODE_PARAM_OUT_OF_RANGE;
786  }
787 
788  return s8_returnCode;
789 }
790 
796 {
797  return (uint16)CCU7->CC70R.bit.CCV;
798 }
799 
805 {
806  return (uint16)CCU7->CC71R.bit.CCV;
807 }
808 
814 {
815  return (uint16)CCU7->CC72R.bit.CCV;
816 }
817 
823 {
824  CCU7->CC70SR.bit.CCS = u16_value;
825 }
826 
832 {
833  CCU7->CC71SR.bit.CCS = u16_value;
834 }
835 
841 {
842  CCU7->CC72SR.bit.CCS = u16_value;
843 }
844 
850 {
851  return (uint16)CCU7->CC70BR.bit.CV;
852 }
853 
859 {
860  return (uint16)CCU7->CC71BR.bit.CV;
861 }
862 
868 {
869  return (uint16)CCU7->CC72BR.bit.CV;
870 }
871 
877 {
878  CCU7->CC70BSR.bit.CS = u16_value;
879 }
880 
886 {
887  CCU7->CC71BSR.bit.CS = u16_value;
888 }
889 
895 {
896  CCU7->CC72BSR.bit.CS = u16_value;
897 }
898 
904 {
905  return (uint16)CCU7->T13R.bit.T1xCV;
906 }
907 
913 {
914  return (uint16)CCU7->T14R.bit.T1xCV;
915 }
916 
922 {
923  return (uint16)CCU7->T15R.bit.T1xCV;
924 }
925 
931 {
932  return (uint16)CCU7->T16R.bit.T1xCV;
933 }
934 
940 {
941  CCU7->T13PR.bit.T1xPV = u16_value;
942 }
943 
949 {
950  return (uint16)CCU7->T13PR.bit.T1xPV;
951 }
952 
958 {
959  CCU7->T14PR.bit.T1xPV = u16_value;
960 }
961 
967 {
968  return (uint16)CCU7->T14PR.bit.T1xPV;
969 }
970 
976 {
977  CCU7->T15PR.bit.T1xPV = u16_value;
978 }
979 
985 {
986  return (uint16)CCU7->T15PR.bit.T1xPV;
987 }
988 
994 {
995  CCU7->T16PR.bit.T1xPV = u16_value;
996 }
997 
1003 {
1004  return (uint16)CCU7->T16PR.bit.T1xPV;
1005 }
1006 
1012 {
1013  return (uint16)CCU7->C73R.bit.CCV;
1014 }
1015 
1021 {
1022  return (uint16)CCU7->C74R.bit.CCV;
1023 }
1024 
1030 {
1031  return (uint16)CCU7->C75R.bit.CCV;
1032 }
1033 
1039 {
1040  return (uint16)CCU7->C76R.bit.CCV;
1041 }
1042 
1048 {
1049  CCU7->C73SR.bit.CCS = u16_value;
1050 }
1051 
1057 {
1058  CCU7->C74SR.bit.CCS = u16_value;
1059 }
1060 
1066 {
1067  CCU7->C75SR.bit.CCS = u16_value;
1068 }
1069 
1075 {
1076  CCU7->C76SR.bit.CCS = u16_value;
1077 }
1078 
1087 {
1089 }
1090 
1106 {
1107  /* CCU7->CMPSTAT_2 contains C70B, C71B, C72B, C74ST, C75ST, C76ST, CC70ST, CC71ST, and CC72ST */
1108  /* Shift CCU7->CMPSTAT.bit.CC73ST to bit position 11 (unused in CCU7->CMPSTAT_2) */
1109  return (uint16)((uint16)CCU7->CMPSTAT_2.reg | ((uint16)CCU7->CMPSTAT.bit.CC73ST << 11u));
1110 }
1111 
1117 {
1118  CCU7->T12MSEL.bit.HSYNC = (uint8)e_value;
1119 }
1120 
1124 {
1125  CCU7->TCTR2.bit.T12SSC = 1u;
1126 }
1127 
1131 {
1132  CCU7->TCTR2.bit.T12SSC = 0u;
1133 }
1134 
1138 {
1139  CCU7->TCTR2.bit.T13SSC = 1u;
1140 }
1141 
1145 {
1146  CCU7->TCTR2.bit.T13SSC = 0u;
1147 }
1148 
1152 {
1153  CCU7->TCTR24.bit.T1xSSC = 1u;
1154 }
1155 
1159 {
1160  CCU7->TCTR24.bit.T1xSSC = 0u;
1161 }
1162 
1166 {
1167  CCU7->TCTR25.bit.T1xSSC = 1u;
1168 }
1169 
1173 {
1174  CCU7->TCTR25.bit.T1xSSC = 0u;
1175 }
1176 
1180 {
1181  CCU7->TCTR26.bit.T1xSSC = 1u;
1182 }
1183 
1187 {
1188  CCU7->TCTR26.bit.T1xSSC = 0u;
1189 }
1190 
1194 {
1195  CCU7->TCTR4.bit.T12RR = 1u;
1196 }
1197 
1201 {
1202  CCU7->TCTR4.bit.T12RS = 1u;
1203 }
1204 
1208 {
1209  CCU7->TCTR4.bit.T13RR = 1u;
1210 }
1211 
1215 {
1216  CCU7->TCTR4.bit.T13RS = 1u;
1217 }
1218 
1222 {
1223  CCU7->TCTR44.bit.T1xRR = 1u;
1224 }
1225 
1229 {
1230  CCU7->TCTR44.bit.T1xRS = 1u;
1231 }
1232 
1236 {
1237  CCU7->TCTR45.bit.T1xRR = 1u;
1238 }
1239 
1243 {
1244  CCU7->TCTR45.bit.T1xRS = 1u;
1245 }
1246 
1250 {
1251  CCU7->TCTR46.bit.T1xRR = 1u;
1252 }
1253 
1257 {
1258  CCU7->TCTR46.bit.T1xRS = 1u;
1259 }
1260 
1266 {
1267  CCU7->MODCTR.reg = (CCU7->MODCTR.reg & (~CCU7_MODCTR_T12MODEN_Msk)) | ((uint32)u8_value << CCU7_MODCTR_T12MODEN_Pos);
1268 }
1269 
1273 {
1274  CCU7->MODCTR.bit.MCMEN = 1u;
1275 }
1276 
1280 {
1281  CCU7->MODCTR.bit.MCMEN = 0u;
1282 }
1283 
1289 {
1290  CCU7->MODCTR.reg = (CCU7->MODCTR.reg & (~CCU7_MODCTR_T13MODEN_Msk)) | ((uint32)u8_value << CCU7_MODCTR_T13MODEN_Pos);
1291 }
1292 
1296 {
1297  CCU7->TRPCTR.bit.TRPEN = (uint8)0x3F;
1298 }
1299 
1303 {
1304  CCU7->TRPCTR.bit.TRPEN = 0u;
1305 }
1306 
1314 {
1315  uint8 u8_trpen = 0u;
1316 
1317  if ((uint8)CCU7->TRPCTR.bit.TRPEN == 0x3Fu)
1318  {
1319  /* all bits set */
1320  u8_trpen = 1u;
1321  }
1322 
1323  return u8_trpen;
1324 }
1325 
1329 {
1330  CCU7->TRPCTR.bit.TRPPEN = 1u;
1331 }
1332 
1336 {
1337  CCU7->TRPCTR.bit.TRPPEN = 0u;
1338 }
1339 
1345 {
1346  CCU7->MCMOUTS.bit.MCMPS = u8_value;
1347 }
1348 
1352 {
1353  CCU7->MCMOUTS.bit.STRMCM = 1u;
1354 }
1355 
1361 {
1362  CCU7->MCMOUTS.bit.EXPHS = u8_value;
1363 }
1364 
1370 {
1371  CCU7->MCMOUTS.bit.CURHS = u8_value;
1372 }
1373 
1377 {
1378  CCU7->MCMOUTS.bit.STRHP = 1u;
1379 }
1380 
1386 {
1387  return (uint8)CCU7->MCMOUT.bit.MCMP;
1388 }
1389 
1395 {
1396  CCU7->MCMCTR.bit.SWSEL = (uint8)e_value;
1397 }
1398 
1404 {
1405  CCU7->MCMCTR.bit.SWSYN = (uint8)e_value;
1406 }
1407 
1411 {
1412  CCU7->IMON.bit.LBE = 1u;
1413 }
1414 
1420 {
1421  return (uint8)CCU7->IMON.bit.LBE;
1422 }
1423 
1427 {
1428  CCU7->LI.bit.LBEEN = 1u;
1429 }
1430 
1434 {
1435  CCU7->LI.bit.LBEEN = 0u;
1436 }
1437 
1443 {
1444  return (uint8)CCU7->IS.bit.ICC70R;
1445 }
1446 
1452 {
1453  return (uint8)CCU7->IS.bit.ICC70F;
1454 }
1455 
1461 {
1462  return (uint8)CCU7->IS.bit.ICC71R;
1463 }
1464 
1470 {
1471  return (uint8)CCU7->IS.bit.ICC71F;
1472 }
1473 
1479 {
1480  return (uint8)CCU7->IS.bit.ICC72R;
1481 }
1482 
1488 {
1489  return (uint8)CCU7->IS.bit.ICC72F;
1490 }
1491 
1497 {
1498  return (uint8)CCU7->IS.bit.T12OM;
1499 }
1500 
1506 {
1507  return (uint8)CCU7->IS.bit.T12PM;
1508 }
1509 
1515 {
1516  return (uint8)CCU7->IS.bit.T13CM;
1517 }
1518 
1524 {
1525  return (uint8)CCU7->IS.bit.T13PM;
1526 }
1527 
1533 {
1534  return (uint8)CCU7->IS.bit.TRPF;
1535 }
1536 
1542 {
1543  return (uint8)CCU7->IS.bit.TRPS;
1544 }
1545 
1551 {
1552  return (uint8)CCU7->IS.bit.CHE;
1553 }
1554 
1560 {
1561  return (uint8)CCU7->IS.bit.WHE;
1562 }
1563 
1569 {
1570  return (uint8)CCU7->IS.bit.IDLE;
1571 }
1572 
1578 {
1579  return (uint8)CCU7->IS.bit.STR;
1580 }
1581 
1585 {
1586  CCU7->ISR.bit.RCC70R = 1u;
1587 }
1588 
1592 {
1593  CCU7->ISR.bit.RCC70F = 1u;
1594 }
1595 
1599 {
1600  CCU7->ISR.bit.RCC71R = 1u;
1601 }
1602 
1606 {
1607  CCU7->ISR.bit.RCC71F = 1u;
1608 }
1609 
1613 {
1614  CCU7->ISR.bit.RCC72R = 1u;
1615 }
1616 
1620 {
1621  CCU7->ISR.bit.RCC72F = 1u;
1622 }
1623 
1627 {
1628  CCU7->ISR.bit.RT12OM = 1u;
1629 }
1630 
1634 {
1635  CCU7->ISR.bit.RT12PM = 1u;
1636 }
1637 
1641 {
1642  CCU7->ISR.bit.RT13CM = 1u;
1643 }
1644 
1648 {
1649  CCU7->ISR.bit.RT13PM = 1u;
1650 }
1651 
1655 {
1656  CCU7->ISR.bit.RTRPF = 1u;
1657 }
1658 
1662 {
1663  CCU7->ISR.bit.RCHE = 1u;
1664 }
1665 
1669 {
1670  CCU7->ISR.bit.RWHE = 1u;
1671 }
1672 
1676 {
1677  CCU7->ISR.bit.RIDLE = 1u;
1678 }
1679 
1683 {
1684  CCU7->ISR.bit.RSTR = 1u;
1685 }
1686 
1690 {
1691  CCU7->IEN.bit.ENCC70R = 1u;
1692 }
1693 
1697 {
1698  CCU7->IEN.bit.ENCC70R = 0u;
1699 }
1700 
1704 {
1705  CCU7->IEN.bit.ENCC70F = 1u;
1706 }
1707 
1711 {
1712  CCU7->IEN.bit.ENCC70F = 0u;
1713 }
1714 
1718 {
1719  CCU7->IEN.bit.ENCC71R = 1u;
1720 }
1721 
1725 {
1726  CCU7->IEN.bit.ENCC71R = 0u;
1727 }
1728 
1732 {
1733  CCU7->IEN.bit.ENCC71F = 1u;
1734 }
1735 
1739 {
1740  CCU7->IEN.bit.ENCC71F = 0u;
1741 }
1742 
1746 {
1747  CCU7->IEN.bit.ENCC72R = 1u;
1748 }
1749 
1753 {
1754  CCU7->IEN.bit.ENCC72R = 0u;
1755 }
1756 
1760 {
1761  CCU7->IEN.bit.ENCC72F = 1u;
1762 }
1763 
1767 {
1768  CCU7->IEN.bit.ENCC72F = 0u;
1769 }
1770 
1774 {
1775  CCU7->IEN.bit.ENT12OM = 1u;
1776 }
1777 
1781 {
1782  CCU7->IEN.bit.ENT12OM = 0u;
1783 }
1784 
1788 {
1789  CCU7->IEN.bit.ENT12PM = 1u;
1790 }
1791 
1795 {
1796  CCU7->IEN.bit.ENT12PM = 0u;
1797 }
1798 
1802 {
1803  CCU7->IEN.bit.ENT13CM = 1u;
1804 }
1805 
1809 {
1810  CCU7->IEN.bit.ENT13CM = 0u;
1811 }
1812 
1816 {
1817  CCU7->IEN.bit.ENT13PM = 1u;
1818 }
1819 
1823 {
1824  CCU7->IEN.bit.ENT13PM = 0u;
1825 }
1826 
1830 {
1831  CCU7->IEN.bit.ENTRPF = 1u;
1832 }
1833 
1837 {
1838  CCU7->IEN.bit.ENTRPF = 0u;
1839 }
1840 
1844 {
1845  CCU7->IEN.bit.ENCHE = 1u;
1846 }
1847 
1851 {
1852  CCU7->IEN.bit.ENCHE = 0u;
1853 }
1854 
1858 {
1859  CCU7->IEN.bit.ENWHE = 1u;
1860 }
1861 
1865 {
1866  CCU7->IEN.bit.ENWHE = 0u;
1867 }
1868 
1872 {
1873  CCU7->IEN.bit.ENIDLE = 1u;
1874 }
1875 
1879 {
1880  CCU7->IEN.bit.ENIDLE = 0u;
1881 }
1882 
1886 {
1887  CCU7->IEN.bit.ENSTR = 1u;
1888 }
1889 
1893 {
1894  CCU7->IEN.bit.ENSTR = 0u;
1895 }
1896 
1902 {
1903  return (uint8)CCU7->IS_2.bit.ICC70BR;
1904 }
1905 
1911 {
1912  return (uint8)CCU7->IS_2.bit.ICC70BF;
1913 }
1914 
1920 {
1921  return (uint8)CCU7->IS_2.bit.ICC71BR;
1922 }
1923 
1929 {
1930  return (uint8)CCU7->IS_2.bit.ICC71BF;
1931 }
1932 
1938 {
1939  return (uint8)CCU7->IS_2.bit.ICC72BR;
1940 }
1941 
1947 {
1948  return (uint8)CCU7->IS_2.bit.ICC72BF;
1949 }
1950 
1956 {
1957  return (uint8)CCU7->IS_2.bit.T14CM;
1958 }
1959 
1965 {
1966  return (uint8)CCU7->IS_2.bit.T14PM;
1967 }
1968 
1974 {
1975  return (uint8)CCU7->IS_2.bit.T15CM;
1976 }
1977 
1983 {
1984  return (uint8)CCU7->IS_2.bit.T15PM;
1985 }
1986 
1992 {
1993  return (uint8)CCU7->IS_2.bit.T16CM;
1994 }
1995 
2001 {
2002  return (uint8)CCU7->IS_2.bit.T16PM;
2003 }
2004 
2008 {
2009  CCU7->ISR_2.bit.RCC70BR = 1u;
2010 }
2011 
2015 {
2016  CCU7->ISR_2.bit.RCC70BF = 1u;
2017 }
2018 
2022 {
2023  CCU7->ISR_2.bit.RCC71BR = 1u;
2024 }
2025 
2029 {
2030  CCU7->ISR_2.bit.RCC71BF = 1u;
2031 }
2032 
2036 {
2037  CCU7->ISR_2.bit.RCC72BR = 1u;
2038 }
2039 
2043 {
2044  CCU7->ISR_2.bit.RCC72BF = 1u;
2045 }
2046 
2050 {
2051  CCU7->ISR_2.bit.RT14CM = 1u;
2052 }
2053 
2057 {
2058  CCU7->ISR_2.bit.RT14PM = 1u;
2059 }
2060 
2064 {
2065  CCU7->ISR_2.bit.RT15CM = 1u;
2066 }
2067 
2071 {
2072  CCU7->ISR_2.bit.RT15PM = 1u;
2073 }
2074 
2078 {
2079  CCU7->ISR_2.bit.RT16CM = 1u;
2080 }
2081 
2085 {
2086  CCU7->ISR_2.bit.RT16PM = 1u;
2087 }
2088 
2092 {
2093  CCU7->IEN_2.bit.ENCC70BR = 1u;
2094 }
2095 
2099 {
2100  CCU7->IEN_2.bit.ENCC70BR = 0u;
2101 }
2102 
2106 {
2107  CCU7->IEN_2.bit.ENCC70BF = 1u;
2108 }
2109 
2113 {
2114  CCU7->IEN_2.bit.ENCC70BF = 0u;
2115 }
2116 
2120 {
2121  CCU7->IEN_2.bit.ENCC71BR = 1u;
2122 }
2123 
2127 {
2128  CCU7->IEN_2.bit.ENCC71BR = 0u;
2129 }
2130 
2134 {
2135  CCU7->IEN_2.bit.ENCC71BF = 1u;
2136 }
2137 
2141 {
2142  CCU7->IEN_2.bit.ENCC71BF = 0u;
2143 }
2144 
2148 {
2149  CCU7->IEN_2.bit.ENCC72BR = 1u;
2150 }
2151 
2155 {
2156  CCU7->IEN_2.bit.ENCC72BR = 0u;
2157 }
2158 
2162 {
2163  CCU7->IEN_2.bit.ENCC72BF = 1u;
2164 }
2165 
2169 {
2170  CCU7->IEN_2.bit.ENCC72BF = 0u;
2171 }
2172 
2176 {
2177  CCU7->IEN_2.bit.ENT14CM = 1u;
2178 }
2179 
2183 {
2184  CCU7->IEN_2.bit.ENT14CM = 0u;
2185 }
2186 
2190 {
2191  CCU7->IEN_2.bit.ENT14PM = 1u;
2192 }
2193 
2197 {
2198  CCU7->IEN_2.bit.ENT14PM = 0u;
2199 }
2200 
2204 {
2205  CCU7->IEN_2.bit.ENT15CM = 1u;
2206 }
2207 
2211 {
2212  CCU7->IEN_2.bit.ENT15CM = 0u;
2213 }
2214 
2218 {
2219  CCU7->IEN_2.bit.ENT15PM = 1u;
2220 }
2221 
2225 {
2226  CCU7->IEN_2.bit.ENT15PM = 0u;
2227 }
2228 
2232 {
2233  CCU7->IEN_2.bit.ENT16CM = 1u;
2234 }
2235 
2239 {
2240  CCU7->IEN_2.bit.ENT16CM = 0u;
2241 }
2242 
2246 {
2247  CCU7->IEN_2.bit.ENT16PM = 1u;
2248 }
2249 
2253 {
2254  CCU7->IEN_2.bit.ENT16PM = 0u;
2255 }
2256 
2260 {
2261  CCU7->TCTR3.bit.T12STR = 1u;
2262 }
2263 
2267 {
2268  CCU7->TCTR3.bit.T13STR = 1u;
2269 }
2270 
2274 {
2275  CCU7->TCTR3.bit.T14STR = 1u;
2276 }
2277 
2281 {
2282  CCU7->TCTR3.bit.T15STR = 1u;
2283 }
2284 
2288 {
2289  CCU7->TCTR3.bit.T16STR = 1u;
2290 }
2291 
2294 #endif /* _CCU7_H */
2295 
#define ERR_LOG_SUCCESS
Definition: error_codes.h:69
INLINE void CCU7_startT12(void)
Start T12.
Definition: ccu7.h:1200
INLINE uint16 CCU7_getT14PerVal(void)
Get T14 Period Value.
Definition: ccu7.h:966
INLINE void CCU7_enT12SingleShot(void)
Enable T12 Single Shot Control.
Definition: ccu7.h:1123
INLINE sint8 CCU7_setT12Freq_Hz(uint32 u32_freq_hz)
Set T12 Period in Hz This function sets the T12 period value based on the input parameter u32_freq_hz...
Definition: ccu7.h:503
INLINE void CCU7_disC72BCmpMatchFallInt(void)
Disable Compare-Match Falling Edge Interrupt for C72B.
Definition: ccu7.h:2168
INLINE void CCU7_setC74ValShadow(uint16 u16_value)
Set Shadow Register for C74 Compare Value.
Definition: ccu7.h:1056
INLINE void CCU7_disCC71ACmpMatchFallInt(void)
Disable Capture, Compare-Match Falling Edge Interrupt for CC71A.
Definition: ccu7.h:1738
INLINE uint8 CCU7_getTrapIntSts(void)
Get Trap State (Synchronized to the event selected by CCU7-TRPCTR.bit.TRPM0 and CCU7-TRPCTR....
Definition: ccu7.h:1541
INLINE void CCU7_setT12ShadowTransferReq(void)
Set T12 Shadow Transfer Request.
Definition: ccu7.h:2259
INLINE void CCU7_disC70BCmpMatchFallInt(void)
Disable Compare-Match Falling Edge Interrupt for C70B.
Definition: ccu7.h:2112
INLINE void CCU7_enMultiChMode(void)
Enable Multi-Channel Mode.
Definition: ccu7.h:1272
INLINE uint8 CCU7_getT12PerMatchIntSts(void)
Get T12 Period-Match Flag.
Definition: ccu7.h:1505
INLINE void CCU7_disT15SingleShot(void)
Disable T15 Single Shot Control.
Definition: ccu7.h:1172
INLINE void CCU7_disT16CmpMatchInt(void)
Disable Interrupt for T16 Compare-Match.
Definition: ccu7.h:2238
INLINE void CCU7_setC75ValShadow(uint16 u16_value)
Set Shadow Register for C75 Compare Value.
Definition: ccu7.h:1065
INLINE void CCU7_enT14PerMatchInt(void)
Enable Interrupt for T14 Period-Match.
Definition: ccu7.h:2189
INLINE uint16 CCU7_getT15PerVal(void)
Get T15 Period Value.
Definition: ccu7.h:984
INLINE void CCU7_disT14SingleShot(void)
Disable T14 Single Shot Control.
Definition: ccu7.h:1158
INLINE void CCU7_disCC71ACmpMatchRiseInt(void)
Disable Capture, Compare-Match Rising Edge Interrupt for CC71A.
Definition: ccu7.h:1724
INLINE void CCU7_clrTrapIntSts(void)
Clear Trap Flag.
Definition: ccu7.h:1654
INLINE uint16 CCU7_getC70BVal(void)
Get C70B Compare Value.
Definition: ccu7.h:849
INLINE void CCU7_disTrap(void)
Disable Trap Control.
Definition: ccu7.h:1302
INLINE void CCU7_setCh2DeadTimeRise_ticks(uint8 u8_value)
Set Dead-Time for Channel 2 rise in ticks.
Definition: ccu7.h:627
INLINE void CCU7_clrT12PerMatchIntSts(void)
Clear T12 Period-Match Flag.
Definition: ccu7.h:1633
INLINE void CCU7_setHallSync(tCCU7_HallSync e_value)
Set Hall Synchronization.
Definition: ccu7.h:1116
INLINE void CCU7_setMultiChModeShadowTransferReq(void)
Set Shadow Transfer Request for Multi-Channel Mode.
Definition: ccu7.h:1351
INLINE void CCU7_enC71BCmpMatchRiseInt(void)
Enable Compare-Match Rising Edge Interrupt for C71B.
Definition: ccu7.h:2119
void CCU7_setC71BIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Interrupt Node Pointer for C71B Interrupts.
INLINE void CCU7_disMultiChMode(void)
Disable Multi-Channel Mode.
Definition: ccu7.h:1279
INLINE uint8 CCU7_getT14PerMatchIntSts(void)
Get T14 Period-Match Flag.
Definition: ccu7.h:1964
CCU7_MultiChMode_SWSEL
This enum lists the CCU7 Multi Channel Mode Switching Selection. Used in function CCU7_setMultiChMode...
Definition: ccu7.h:144
INLINE void CCU7_setHallShadowTransferReq(void)
Set Shadow Transfer Request for the Hall Pattern.
Definition: ccu7.h:1376
INLINE void CCU7_disC71BCmpMatchFallInt(void)
Disable Compare-Match Falling Edge Interrupt for C71B.
Definition: ccu7.h:2140
INLINE void CCU7_stopT13(void)
Stop T13.
Definition: ccu7.h:1207
INLINE void CCU7_clrT13PerMatchIntSts(void)
Clear T13 Period-Match Flag.
Definition: ccu7.h:1647
void CCU7_setC72BIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Interrupt Node Pointer for C72B Interrupts.
INLINE void CCU7_enT15PerMatchInt(void)
Enable Interrupt for T15 Period-Match.
Definition: ccu7.h:2217
INLINE void CCU7_disHallEventCorrectInt(void)
Disable Interrupt for Correct Hall Event.
Definition: ccu7.h:1850
INLINE void CCU7_clrC72BCmpMatchRiseIntSts(void)
Clear Compare-Match Rising Edge Flag for C72B.
Definition: ccu7.h:2035
INLINE uint16 CCU7_getT13CntVal(void)
Get T13 Counter Value.
Definition: ccu7.h:903
INLINE sint8 CCU7_setDeadTime_ns(uint8 u8_channel, uint32 u32_deadTimeRise_ns, uint32 u32_deadTimeFall_ns)
Set the dead time values (rise/fall) for one Channel. This function sets the deadtime counter to a va...
Definition: ccu7.h:675
INLINE void CCU7_setCh0DeadTimeFall_ticks(uint8 u8_value)
Set Dead-Time for Channel 0 fall in ticks.
Definition: ccu7.h:573
INLINE uint8 CCU7_getTrapCond(void)
Get Trap Flag (Trap condition fulfilled)
Definition: ccu7.h:1532
INLINE uint8 CCU7_getCh1DeadTimeRise_ticks(void)
Get Dead-Time for Channel 1 rise in ticks.
Definition: ccu7.h:600
INLINE uint8 CCU7_getHallEventCorrectIntSts(void)
Get Correct Hall Event Flag.
Definition: ccu7.h:1550
INLINE void CCU7_disT16SingleShot(void)
Disable T16 Single Shot Control.
Definition: ccu7.h:1186
INLINE uint16 CCU7_getT13PerVal(void)
Get T13 Period Value.
Definition: ccu7.h:948
INLINE void CCU7_clrHallIdleIntSts(void)
Clear Hall Idle Flag.
Definition: ccu7.h:1675
INLINE uint8 CCU7_getCC72ACmpMatchRiseIntSts(void)
Get Capture, Compare-Match Rising Edge Flag for CC72A.
Definition: ccu7.h:1478
INLINE void CCU7_disT12PerMatchInt(void)
Disable Interrupt for T12 Period-Match.
Definition: ccu7.h:1794
INLINE uint16 CCU7_getC74Val(void)
Get C74 Compare Value.
Definition: ccu7.h:1020
INLINE void CCU7_clrCC72ACmpMatchRiseIntSts(void)
Clear Capture, Compare-Match Rising Edge Flag for CC72A.
Definition: ccu7.h:1612
INLINE void CCU7_clrT14CmpMatchIntSts(void)
Clear T14 Compare-Match Flag.
Definition: ccu7.h:2049
INLINE void CCU7_stopT14(void)
Stop T14.
Definition: ccu7.h:1221
INLINE void CCU7_stopT15(void)
Stop T15.
Definition: ccu7.h:1235
INLINE void CCU7_clrHallEventWrongIntSts(void)
Clear Wrong Hall Event Flag.
Definition: ccu7.h:1668
INLINE uint8 CCU7_getT16PerMatchIntSts(void)
Get T16 Period-Match Flag.
Definition: ccu7.h:2000
INLINE uint16 CCU7_getC73Val(void)
Get C73 Compare Value.
Definition: ccu7.h:1011
INLINE uint8 CCU7_getC71BCmpMatchFallIntSts(void)
Get Compare-Match Falling Edge Flag for C71B.
Definition: ccu7.h:1928
INLINE void CCU7_enCC71ACmpMatchFallInt(void)
Enable Capture, Compare-Match Falling Edge Interrupt for CC71A.
Definition: ccu7.h:1731
INLINE void CCU7_disT16PerMatchInt(void)
Disable Interrupt for T16 Period-Match.
Definition: ccu7.h:2252
INLINE uint16 CCU7_getC72BVal(void)
Get C72B Compare Value.
Definition: ccu7.h:867
INLINE void CCU7_enT15SingleShot(void)
Enable T15 Single Shot Control.
Definition: ccu7.h:1165
void CCU7_setT15IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Interrupt Node Pointer for T15 Interrupts.
INLINE void CCU7_setT12PerVal(uint16 u16_value)
Set T12 Period Value.
Definition: ccu7.h:479
INLINE uint16 CCU7_getT15CntVal(void)
Get T15 Counter Value.
Definition: ccu7.h:921
#define CCU7_MODCTR_T12MODEN_Msk
Definition: ccu7.h:169
INLINE void CCU7_clrCC70ACmpMatchRiseIntSts(void)
Clear Capture, Compare-Match Rising Edge Flag for CC70A.
Definition: ccu7.h:1584
sint8 CCU7_enModule(void)
Enable the CCU7 module by calling the CCU7_init() function.
Definition: ccu7.c:134
INLINE void CCU7_clrT13CmpMatchIntSts(void)
Clear T13 Compare-Match Flag.
Definition: ccu7.h:1640
INLINE void CCU7_enT13SingleShot(void)
Enable T13 Single Shot Control.
Definition: ccu7.h:1137
INLINE void CCU7_stopT16(void)
Stop T16.
Definition: ccu7.h:1249
INLINE void CCU7_enCC71ACmpMatchRiseInt(void)
Enable Capture, Compare-Match Rising Edge Interrupt for CC71A.
Definition: ccu7.h:1717
void CCU7_setT14IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Interrupt Node Pointer for T14 Interrupts.
INLINE void CCU7_enC70BCmpMatchFallInt(void)
Enable Compare-Match Falling Edge Interrupt for C70B.
Definition: ccu7.h:2105
INLINE uint8 CCU7_getHallIdleIntSts(void)
Get Hall Idle State Flag.
Definition: ccu7.h:1568
INLINE void CCU7_setCh1DeadTimeRise_ticks(uint8 u8_value)
Set Dead-Time for Channel 1 rise in ticks.
Definition: ccu7.h:591
enum CCU7_MultiChMode_SWSEL tCCU7_MultiChMode_SWSEL
INLINE void CCU7_enT14SingleShot(void)
Enable T14 Single Shot Control.
Definition: ccu7.h:1151
INLINE void CCU7_setC71BValShadow(uint16 u16_value)
Set Shadow Register for C71B Compare Value.
Definition: ccu7.h:885
INLINE void CCU7_enC70BCmpMatchRiseInt(void)
Enable Compare-Match Rising Edge Interrupt for C70B.
Definition: ccu7.h:2091
INLINE uint8 CCU7_getC70BCmpMatchFallIntSts(void)
Get Compare-Match Falling Edge Flag for C70B.
Definition: ccu7.h:1910
INLINE void CCU7_enMultiChModeShadowTransferReqInt(void)
Enable Multi-Channel Mode Shadow Transfer Interrupt.
Definition: ccu7.h:1885
INLINE void CCU7_clrT15PerMatchIntSts(void)
Clear T15 Period-Match Flag.
Definition: ccu7.h:2070
INLINE void CCU7_enHallEventWrongInt(void)
Enable Interrupt for Wrong Hall Event.
Definition: ccu7.h:1857
INLINE uint8 CCU7_getCh2DeadTimeFall_ticks(void)
Get Dead-Time for Channel 2 fall in ticks.
Definition: ccu7.h:654
INLINE void CCU7_setT14ShadowTransferReq(void)
Set T14 Shadow Transfer Request.
Definition: ccu7.h:2273
INLINE uint8 CCU7_getCh2DeadTimeRise_ticks(void)
Get Dead-Time for Channel 2 rise in ticks.
Definition: ccu7.h:636
INLINE void CCU7_startT15(void)
Start T15.
Definition: ccu7.h:1242
INLINE void CCU7_clrCC70ACmpMatchFallIntSts(void)
Clear Capture, Compare-Match Falling Edge Flag for CC70A.
Definition: ccu7.h:1591
INLINE void CCU7_clrT16CmpMatchIntSts(void)
Clear T16 Compare-Match Flag.
Definition: ccu7.h:2077
INLINE void CCU7_setCh1DeadTimeFall_ticks(uint8 u8_value)
Set Dead-Time for Channel 1 fall in ticks.
Definition: ccu7.h:609
INLINE uint16 CCU7_getCC71AVal(void)
Get CC71A Capture/Compare Value.
Definition: ccu7.h:804
INLINE void CCU7_setC76ValShadow(uint16 u16_value)
Set Shadow Register for C76 Compare Value.
Definition: ccu7.h:1074
INLINE void CCU7_enTrapCondInt(void)
Enable Interrupt for Trap Flag (Trap condition fulfilled)
Definition: ccu7.h:1829
INLINE void CCU7_disT15PerMatchInt(void)
Disable Interrupt for T15 Period-Match.
Definition: ccu7.h:2224
INLINE void CCU7_setT13PerVal(uint16 u16_value)
Set T13 Period Value.
Definition: ccu7.h:939
INLINE void CCU7_startT13(void)
Start T13.
Definition: ccu7.h:1214
INLINE void CCU7_setCC70AValShadow(uint16 u16_value)
Set Shadow Register for CC70A Capture/Compare Value.
Definition: ccu7.h:822
INLINE void CCU7_clrT15CmpMatchIntSts(void)
Clear T15 Compare-Match Flag.
Definition: ccu7.h:2063
INLINE void CCU7_clrCC72ACmpMatchFallIntSts(void)
Clear Capture, Compare-Match Falling Edge Flag for CC72A.
Definition: ccu7.h:1619
INLINE void CCU7_enC72BCmpMatchRiseInt(void)
Enable Compare-Match Rising Edge Interrupt for C72B.
Definition: ccu7.h:2147
INLINE void CCU7_disTrapPin(void)
Disable Trap Pin.
Definition: ccu7.h:1335
INLINE uint8 CCU7_getT13PerMatchIntSts(void)
Get T13 Period-Match Flag.
Definition: ccu7.h:1523
INLINE void CCU7_startT16(void)
Start T16.
Definition: ccu7.h:1256
INLINE void CCU7_enC72BCmpMatchFallInt(void)
Enable Compare-Match Falling Edge Interrupt for C72B.
Definition: ccu7.h:2161
INLINE void CCU7_startT14(void)
Start T14.
Definition: ccu7.h:1228
INLINE uint16 CCU7_getT14CntVal(void)
Get T14 Counter Value.
Definition: ccu7.h:912
INLINE void CCU7_stopT12(void)
Stop T12.
Definition: ccu7.h:1193
void CCU7_setCC71AIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Interrupt Node Pointer for CC71A Interrupts.
INLINE void CCU7_setMultiChModeShadowTransferTrig(tCCU7_MultiChMode_SWSEL e_value)
Set Switching Selection.
Definition: ccu7.h:1394
INLINE void CCU7_enCC70ACmpMatchRiseInt(void)
Enable Capture, Compare-Match Rising Edge Interrupt for CC70A.
Definition: ccu7.h:1689
INLINE void CCU7_disHallEventWrongInt(void)
Disable Interrupt for Wrong Hall Event.
Definition: ccu7.h:1864
INLINE void CCU7_disT13CmpMatchInt(void)
Disable Interrupt for T13 Compare-Match.
Definition: ccu7.h:1808
INLINE uint8 CCU7_getCC71ACmpMatchFallIntSts(void)
Get Capture, Compare-Match Falling Edge Flag for CC71A.
Definition: ccu7.h:1469
void CCU7_setCC72AIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Interrupt Node Pointer for CC72A Interrupts.
enum CCU7_MultiChMode_SWSYN tCCU7_MultiChMode_SWSYN
INLINE uint8 CCU7_getCh0DeadTimeFall_ticks(void)
Get Dead-Time for Channel 0 fall in ticks.
Definition: ccu7.h:582
INLINE void CCU7_setCC72AValShadow(uint16 u16_value)
Set Shadow Register for CC72A Capture/Compare Value.
Definition: ccu7.h:840
INLINE void CCU7_setC72BValShadow(uint16 u16_value)
Set Shadow Register for C72B Compare Value.
Definition: ccu7.h:894
INLINE void CCU7_disLostBitEventInt(void)
Disable Interrupt for Lost Bit Event - LBEEN.
Definition: ccu7.h:1433
INLINE void CCU7_enT12PerMatchInt(void)
Enable Interrupt for T12 Period-Match.
Definition: ccu7.h:1787
INLINE void CCU7_enT15CmpMatchInt(void)
Enable Interrupt for T15 Compare-Match.
Definition: ccu7.h:2203
INLINE uint8 CCU7_getC70BCmpMatchRiseIntSts(void)
Get Compare-Match Rising Edge Flag for C70B.
Definition: ccu7.h:1901
INLINE void CCU7_disT14CmpMatchInt(void)
Disable Interrupt for T14 Compare-Match.
Definition: ccu7.h:2182
INLINE void CCU7_setMultiChModeShadowTransferSync(tCCU7_MultiChMode_SWSYN e_value)
Set Switching Synchronization.
Definition: ccu7.h:1403
INLINE void CCU7_setT14PerVal(uint16 u16_value)
Set T14 Period Value.
Definition: ccu7.h:957
INLINE void CCU7_enHallEventCorrectInt(void)
Enable Interrupt for Correct Hall Event.
Definition: ccu7.h:1843
INLINE uint16 CCU7_getT12PerVal(void)
Get T12 Period Value.
Definition: ccu7.h:488
INLINE uint8 CCU7_getT15PerMatchIntSts(void)
Get T15 Period-Match Flag.
Definition: ccu7.h:1982
INLINE void CCU7_disT14PerMatchInt(void)
Disable Interrupt for T14 Period-Match.
Definition: ccu7.h:2196
sint8 CCU7_disModule(void)
Disable the CCU7 module by performing the following steps: stop T12 stop T13, T14,...
Definition: ccu7.c:149
INLINE void CCU7_clrC70BCmpMatchRiseIntSts(void)
Clear Compare-Match Rising Edge Flag for C70B.
Definition: ccu7.h:2007
void CCU7_setCHEIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Interrupt Node Pointer for the CHE Interrupt.
INLINE void CCU7_setCh0DeadTimeRise_ticks(uint8 u8_value)
Set Dead-Time for Channel 0 rise in ticks.
Definition: ccu7.h:555
INLINE uint8 CCU7_getC72BCmpMatchFallIntSts(void)
Get Compare-Match Falling Edge Flag for C72B.
Definition: ccu7.h:1946
INLINE uint8 CCU7_getHallPatternSampled(void)
Get Sampled Hall Pattern.
Definition: ccu7.h:1086
INLINE uint8 CCU7_getCh0DeadTimeRise_ticks(void)
Get Dead-Time for Channel 0 rise in ticks.
Definition: ccu7.h:564
INLINE void CCU7_setT15PerVal(uint16 u16_value)
Set T15 Period Value.
Definition: ccu7.h:975
INLINE uint16 CCU7_getT12CntVal(void)
Get T12 Counter Value.
Definition: ccu7.h:470
INLINE void CCU7_clrC72BCmpMatchFallIntSts(void)
Clear Compare-Match Falling Edge Flag for C72B.
Definition: ccu7.h:2042
INLINE void CCU7_setHallPatternCurrentShadow(uint8 u8_value)
Set Current Hall Pattern Shadow.
Definition: ccu7.h:1369
INLINE void CCU7_enCC70ACmpMatchFallInt(void)
Enable Capture, Compare-Match Falling Edge Interrupt for CC70A.
Definition: ccu7.h:1703
INLINE void CCU7_clrT12OneMatchIntSts(void)
Clear T12 One-Match Flag.
Definition: ccu7.h:1626
void CCU7_setT16IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Interrupt Node Pointer for T16 Interrupts.
INLINE uint16 CCU7_getT16PerVal(void)
Get T16 Period Value.
Definition: ccu7.h:1002
INLINE void CCU7_clrC71BCmpMatchRiseIntSts(void)
Clear Compare-Match Rising Edge Flag for C71B.
Definition: ccu7.h:2021
INLINE uint16 CCU7_getT16CntVal(void)
Get T16 Counter Value.
Definition: ccu7.h:930
INLINE void CCU7_clrC70BCmpMatchFallIntSts(void)
Clear Compare-Match Falling Edge Flag for C70B.
Definition: ccu7.h:2014
INLINE uint8 CCU7_getT16CmpMatchIntSts(void)
Get T16 Compare-Match Flag.
Definition: ccu7.h:1991
INLINE void CCU7_setHallPatternExpectedShadow(uint8 u8_value)
Set Expected Hall Pattern Shadow.
Definition: ccu7.h:1360
INLINE void CCU7_disTrapCondInt(void)
Disable Interrupt for Trap Flag (Trap condition fulfilled)
Definition: ccu7.h:1836
INLINE uint8 CCU7_getCC70ACmpMatchFallIntSts(void)
Get Capture, Compare-Match Falling Edge Flag for CC70A.
Definition: ccu7.h:1451
void CCU7_setT12IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Interrupt Node Pointer for T12 Interrupts.
INLINE uint8 CCU7_getT15CmpMatchIntSts(void)
Get T15 Compare-Match Flag.
Definition: ccu7.h:1973
INLINE void CCU7_setC70BValShadow(uint16 u16_value)
Set Shadow Register for C70B Compare Value.
Definition: ccu7.h:876
INLINE void CCU7_enT16CmpMatchInt(void)
Enable Interrupt for T16 Compare-Match.
Definition: ccu7.h:2231
INLINE uint16 CCU7_getC71BVal(void)
Get C71B Compare Value.
Definition: ccu7.h:858
INLINE void CCU7_disT13SingleShot(void)
Disable T13 Single Shot Control.
Definition: ccu7.h:1144
INLINE uint8 CCU7_getT14CmpMatchIntSts(void)
Get T14 Compare-Match Flag.
Definition: ccu7.h:1955
INLINE void CCU7_clrC71BCmpMatchFallIntSts(void)
Clear Compare-Match Falling Edge Flag for C71B.
Definition: ccu7.h:2028
INLINE uint8 CCU7_getT13CmpMatchIntSts(void)
Get T13 Compare-Match Flag.
Definition: ccu7.h:1514
INLINE void CCU7_enT16SingleShot(void)
Enable T16 Single Shot Control.
Definition: ccu7.h:1179
INLINE uint8 CCU7_getMultiChModeShadowTransferReqIntSts(void)
Get Multi-Channel Mode Shadow Transfer Request Flag.
Definition: ccu7.h:1577
INLINE void CCU7_clrT16PerMatchIntSts(void)
Clear T16 Period-Match Flag.
Definition: ccu7.h:2084
INLINE void CCU7_disC72BCmpMatchRiseInt(void)
Disable Compare-Match Rising Edge Interrupt for C72B.
Definition: ccu7.h:2154
INLINE uint8 CCU7_getCh1DeadTimeFall_ticks(void)
Get Dead-Time for Channel 1 fall in ticks.
Definition: ccu7.h:618
INLINE uint8 CCU7_getT12OneMatchIntSts(void)
Get T12 One-Match Flag.
Definition: ccu7.h:1496
INLINE void CCU7_enT14CmpMatchInt(void)
Enable Interrupt for T14 Compare-Match.
Definition: ccu7.h:2175
INLINE uint8 CCU7_getCC72ACmpMatchFallIntSts(void)
Get Capture, Compare-Match Falling Edge Flag for CC72A.
Definition: ccu7.h:1487
INLINE uint8 CCU7_getHallEventWrongIntSts(void)
Get Wrong Hall Event Flag.
Definition: ccu7.h:1559
INLINE void CCU7_clrT14PerMatchIntSts(void)
Clear T14 Period-Match Flag.
Definition: ccu7.h:2056
INLINE void CCU7_clrHallEventCorrectIntSts(void)
Clear Correct Hall Event Flag.
Definition: ccu7.h:1661
INLINE uint16 CCU7_getCmpSts(void)
Get Compare State Bits for C70B, C71B, C72B, C74ST, C75ST, C76ST, CC70AST, CC71AST,...
Definition: ccu7.h:1105
INLINE void CCU7_disC70BCmpMatchRiseInt(void)
Disable Compare-Match Rising Edge Interrupt for C70B.
Definition: ccu7.h:2098
sint8 CCU7_init(void)
Initialize the CCU7 module.
Definition: ccu7.c:63
INLINE void CCU7_setT16PerVal(uint16 u16_value)
Set T16 Period Value.
Definition: ccu7.h:993
INLINE uint8 CCU7_getCC70ACmpMatchRiseIntSts(void)
Get Capture, Compare-Match Rising Edge Flag for CC70A.
Definition: ccu7.h:1442
INLINE void CCU7_enT13PerMatchInt(void)
Enable Interrupt for T13 Period-Match.
Definition: ccu7.h:1815
void CCU7_setErrorIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Interrupt Node Pointer for Error Interrupts.
INLINE void CCU7_clrCC71ACmpMatchFallIntSts(void)
Clear Capture, Compare-Match Falling Edge Flag for CC71A.
Definition: ccu7.h:1605
void CCU7_setC70BIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Interrupt Node Pointer for C70B Interrupts.
INLINE void CCU7_setT12Modulation(uint8 u8_value)
Set T12 Modulation.
Definition: ccu7.h:1265
INLINE void CCU7_enLostBitEventInt(void)
Enable Interrupt for Lost Bit Event - LBEEN.
Definition: ccu7.h:1426
INLINE uint8 CCU7_getCC71ACmpMatchRiseIntSts(void)
Get Capture, Compare-Match Rising Edge Flag for CC71A.
Definition: ccu7.h:1460
INLINE void CCU7_enT13CmpMatchInt(void)
Enable Interrupt for T13 Compare-Match.
Definition: ccu7.h:1801
INLINE void CCU7_disT12OneMatchInt(void)
Disable Interrupt for T12 One-Match.
Definition: ccu7.h:1780
INLINE void CCU7_enHallIdleInt(void)
Enable Hall Idle Interrupt.
Definition: ccu7.h:1871
INLINE void CCU7_disCC70ACmpMatchFallInt(void)
Disable Capture, Compare-Match Falling Edge Interrupt for CC70A.
Definition: ccu7.h:1710
INLINE void CCU7_enT12OneMatchInt(void)
Enable Interrupt for T12 One-Match.
Definition: ccu7.h:1773
INLINE void CCU7_setT15ShadowTransferReq(void)
Set T15 Shadow Transfer Request.
Definition: ccu7.h:2280
INLINE uint16 CCU7_getCC70AVal(void)
Get CC70A Capture/Compare Value.
Definition: ccu7.h:795
CCU7_HallSync
This enum lists the CCU7 Hall Synch Configuration. Used in function CCU7_setHallSync.
Definition: ccu7.h:127
INLINE void CCU7_setCC71AValShadow(uint16 u16_value)
Set Shadow Register for CC71A Capture/Compare Value.
Definition: ccu7.h:831
void CCU7_setT13IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Interrupt Node Pointer for T13 Interrupts.
INLINE uint8 CCU7_getC72BCmpMatchRiseIntSts(void)
Get Compare-Match Rising Edge Flag for C72B.
Definition: ccu7.h:1937
INLINE void CCU7_clrMultiChModeShadowTransferReqIntSts(void)
Clear Multi-Channel Mode STR Flag.
Definition: ccu7.h:1682
INLINE void CCU7_clrLostBitEventSts(void)
Clear Lost Bit Event Flag.
Definition: ccu7.h:1410
INLINE void CCU7_enTrapPin(void)
Enable Trap Pin.
Definition: ccu7.h:1328
INLINE void CCU7_enCC72ACmpMatchRiseInt(void)
Enable Capture, Compare-Match Rising Edge Interrupt for CC72A.
Definition: ccu7.h:1745
INLINE void CCU7_setCh2DeadTimeFall_ticks(uint8 u8_value)
Set Dead-Time for Channel 2 fall in ticks.
Definition: ccu7.h:645
INLINE void CCU7_enC71BCmpMatchFallInt(void)
Enable Compare-Match Falling Edge Interrupt for C71B.
Definition: ccu7.h:2133
INLINE void CCU7_setT13ShadowTransferReq(void)
Set T13 Shadow Transfer Request.
Definition: ccu7.h:2266
INLINE uint16 CCU7_getC75Val(void)
Get C75 Compare Value.
Definition: ccu7.h:1029
INLINE uint32 CCU7_getT12Freq_Hz(void)
Get T12 Period in Hz This function returns the T12 period value related to the constant CCU7_T12_CLK_...
Definition: ccu7.h:536
CCU7_MultiChMode_SWSYN
This enum lists the CCU7 Multi Channel Mode Switching Synchronization. Used in function CCU7_setMulti...
Definition: ccu7.h:159
INLINE void CCU7_clrCC71ACmpMatchRiseIntSts(void)
Clear Capture, Compare-Match Rising Edge Flag for CC71A.
Definition: ccu7.h:1598
INLINE void CCU7_disCC72ACmpMatchRiseInt(void)
Disable Capture, Compare-Match Rising Edge Interrupt for CC72A.
Definition: ccu7.h:1752
INLINE uint8 CCU7_getC71BCmpMatchRiseIntSts(void)
Get Compare-Match Rising Edge Flag for C71B.
Definition: ccu7.h:1919
void CCU7_setCC70AIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Interrupt Node Pointer for CC70A Interrupts.
#define CCU7_MODCTR_T13MODEN_Msk
Definition: ccu7.h:171
INLINE void CCU7_disCC72ACmpMatchFallInt(void)
Disable Capture, Compare-Match Falling Edge Interrupt for CC72A.
Definition: ccu7.h:1766
INLINE void CCU7_enCC72ACmpMatchFallInt(void)
Enable Capture, Compare-Match Falling Edge Interrupt for CC72A.
Definition: ccu7.h:1759
INLINE void CCU7_disT13PerMatchInt(void)
Disable Interrupt for T13 Period-Match.
Definition: ccu7.h:1822
INLINE void CCU7_disCC70ACmpMatchRiseInt(void)
Disable Capture, Compare-Match Rising Edge Interrupt for CC70A.
Definition: ccu7.h:1696
INLINE uint8 CCU7_getMultiChModePWMPattern(void)
Get Multi-Channel PWM Pattern.
Definition: ccu7.h:1385
INLINE void CCU7_enTrap(void)
Enable Trap Control for all signals (CC70/1/2, COUT70/1/2)
Definition: ccu7.h:1295
INLINE void CCU7_setT13Modulation(uint8 u8_value)
Set T13 Modulation.
Definition: ccu7.h:1288
INLINE void CCU7_disT12SingleShot(void)
Disable T12 Single Shot Control.
Definition: ccu7.h:1130
INLINE void CCU7_disC71BCmpMatchRiseInt(void)
Disable Compare-Match Rising Edge Interrupt for C71B.
Definition: ccu7.h:2126
INLINE void CCU7_disMultiChModeShadowTransferReqInt(void)
Disable Multi-Channel Mode Shadow Transfer Interrupt.
Definition: ccu7.h:1892
INLINE void CCU7_setMultiChModePWMPatternShadow(uint8 u8_value)
Set Multi-Channel PWM Pattern Shadow.
Definition: ccu7.h:1344
INLINE uint16 CCU7_getCC72AVal(void)
Get CC72A Capture/Compare Value.
Definition: ccu7.h:813
INLINE sint8 CCU7_getDeadTime_ns(uint8 u8_channel, uint32 *u32p_DeadTimeRise_ns, uint32 *u32p_DeadTimeFall_ns)
This function reads the dead time counter value for the given channel, with u8_channel from 0....
Definition: ccu7.h:738
#define CCU7_MODCTR_T13MODEN_Pos
Definition: ccu7.h:170
INLINE void CCU7_setT16ShadowTransferReq(void)
Set T16 Shadow Transfer Request.
Definition: ccu7.h:2287
INLINE void CCU7_setC73ValShadow(uint16 u16_value)
Set Shadow Register for C73 Compare Value.
Definition: ccu7.h:1047
INLINE uint8 CCU7_getTrapConfig(void)
Get Trap Control This function returns '1' , if Trap is enabled for all signals (CC70/1/2,...
Definition: ccu7.h:1313
INLINE void CCU7_disHallIdleInt(void)
Disable Hall Idle Interrupt.
Definition: ccu7.h:1878
INLINE uint8 CCU7_getLostBitEventSts(void)
Get Lost Bit Event Flag.
Definition: ccu7.h:1419
#define CCU7_MODCTR_T12MODEN_Pos
Definition: ccu7.h:168
enum CCU7_HallSync tCCU7_HallSync
INLINE void CCU7_disT15CmpMatchInt(void)
Disable Interrupt for T15 Compare-Match.
Definition: ccu7.h:2210
INLINE void CCU7_enT16PerMatchInt(void)
Enable Interrupt for T16 Period-Match.
Definition: ccu7.h:2245
INLINE uint16 CCU7_getC76Val(void)
Get C76 Compare Value.
Definition: ccu7.h:1038
@ CCU7_MultiChMode_SWSEL_T12_OM
Definition: ccu7.h:148
@ CCU7_MultiChMode_SWSEL_Correct_Hall
Definition: ccu7.h:146
@ CCU7_MultiChMode_SWSEL_No_Action
Definition: ccu7.h:145
@ CCU7_MultiChMode_SWSEL_T12_Ch1_CM
Definition: ccu7.h:149
@ CCU7_MultiChMode_SWSEL_T12_PM
Definition: ccu7.h:150
@ CCU7_MultiChMode_SWSEL_T13_PM
Definition: ccu7.h:147
@ CCU7_HallSync_T13_CM
Definition: ccu7.h:129
@ CCU7_HallSync_T12_CM_Ch0_up
Definition: ccu7.h:134
@ CCU7_HallSync_T12_OM
Definition: ccu7.h:133
@ CCU7_HallSync_HW_Hall_Sampling_Off
Definition: ccu7.h:131
@ CCU7_HallSync_T13_PM
Definition: ccu7.h:130
@ CCU7_HallSync_T12_PM
Definition: ccu7.h:132
@ CCU7_HallSync_T12_CM_Ch0_down
Definition: ccu7.h:135
@ CCU7_HallSync_CCPOS0x_Any_Edge
Definition: ccu7.h:128
@ CCU7_MultiChMode_SWSYN_Direct
Definition: ccu7.h:160
@ CCU7_MultiChMode_SWSYN_T13_ZM
Definition: ccu7.h:161
@ CCU7_MultiChMode_SWSYN_T12_ZM
Definition: ccu7.h:162
#define CCU7
Definition: internal/tle989x.h:25604
#define CCU7_CMPSTAT_CCPOS0_Msk
Definition: internal/tle989x.h:25857
#define CCU7_CMPSTAT_CCPOS1_Msk
Definition: internal/tle989x.h:25859
#define CCU7_CMPSTAT_CCPOS0_Pos
Definition: internal/tle989x.h:25856
#define CCU7_CMPSTAT_CCPOS2_Msk
Definition: internal/tle989x.h:25861
__attribute__((noreturn))
Definition: startup_tle989x.c:221
Device specific memory layout defines and features.
INLINE bool PtrRangeCheck(const void *ptr)
Definition: tle_variants.h:354
General type declarations.
#define ERR_LOG_CODE_PARAM_OUT_OF_RANGE
Parameter out of range.
Definition: types.h:213
#define INLINE
Definition: types.h:167
uint8_t uint8
8 bit unsigned value
Definition: types.h:220
int8_t sint8
8 bit signed value
Definition: types.h:225
uint16_t uint16
16 bit unsigned value
Definition: types.h:221
uint32_t uint32
32 bit unsigned value
Definition: types.h:222