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  * The applicable license agreement can be found at this pack's installation directory in the file
8  * license/IFX_SW_Licence_MOTIX_LITIX.txt
9  *
10  **********************************************************************************************************************/
26 /* Generated by generate_functions_02_xlsx2func.py, version 1.0.1 on 10. Feb 2021
27  * from File 'ccu7.xlsx', version 0.1.0
28  */
29 
30 /*******************************************************************************
31 ** Author(s) Identity **
32 ********************************************************************************
33 ** Initials Name **
34 ** ---------------------------------------------------------------------------**
35 ** JO Julia Ott **
36 ** BG Blandine Guillot **
37 ** DM Daniel Mysliwitz **
38 *******************************************************************************/
39 
40 /*******************************************************************************
41 ** Revision Control History **
42 ********************************************************************************
43 ** V0.1.0: 2020-07-10, JO: Initial version **
44 ** V0.2.0: 2020-08-03, JO: Corrected functions CCU7_getT12Freq_Hz and **
45 ** CCU7_setT12Freq_Hz **
46 ** V0.2.1: 2020-08-11, JO: EP-449: Added typecasts to avoid ARMCC v6 **
47 ** warnings **
48 ** V0.2.2: 2020-10-06, BG: EP-492: Removed MISRA 2012 errors **
49 ** V0.2.3: 2020-10-15, JO: EP-523: Updated parameter names **
50 ** V0.2.4: 2020-10-21, BG: EP-539: Considered the enable checkbox in CW in **
51 ** the initialization function **
52 ** V0.2.5: 2020-10-22, JO: EP-539: Added variable s8_returnCode to function **
53 ** CCU7_enModule **
54 ** V0.2.6: 2020-11-12, JO: EP-590: Removed \param none and \return none to **
55 ** avoid doxygen warning **
56 ** Added end of group for doxygen **
57 ** V0.2.7: 2020-11-20, BG: EP-610: Corrected MISRA 2012 errors **
58 ** The following rules are globally deactivated: **
59 ** - Info 774: Boolean within 'if' always evaluates **
60 ** to False/True **
61 ** V0.2.8: 2020-12-16, JO: EP-651: Corrected wrong typecasts in case **
62 ** CCU7_T12_CLK contains a decimal point **
63 ** V0.2.9: 2020-12-18, BG: EP-652: Corrected name of error code variable **
64 ** V0.3.0: 2020-12-18, JO: EP-607: Use CCU7_T12_CLK_HZ insted of **
65 ** CCU7_T12_CLK for further calculation **
66 ** V0.3.1: 2021-02-02, JO: EP-555: Applied split of register fields **
67 ** T12MODEN, T13MODEN, PSL **
68 ** V0.3.2: 2021-02-02, JO: EP-593: Applied renaming of CCU7_DT_CLK to **
69 ** CCU7_DT_CLK_MHz **
70 ** Corrected functions CCU7_setDeadTime_ns and **
71 ** CCU7_getDeadTime_ns to use the correct clock **
72 ** V0.3.3: 2021-02-10, JO: EP-696: Changed from anonymous to named typedefs **
73 ** to prevent MISRA warning **
74 ** V0.3.4: 2021-02-19, JO: EP-709: Corrected functions CCU7_disModule, **
75 ** CCU7_getHallPatternSampled, and **
76 ** CCU7_setT13Modulation **
77 ** V0.3.5: 2021-03-05, JO: EP-730: Removed leading 't' in enum values **
78 ** V0.3.6: 2021-04-06, BG: EP-760: Replaced if instructions to check if the **
79 ** module is enabled with preprocessor directives to**
80 ** avoid compiler warnings **
81 ** V0.3.7: 2021-04-23, BG: EP-779: Corrected typos **
82 ** V0.3.8: 2021-11-12, JO: EP-937: Updated copyright and branding **
83 ** V0.3.9: 2022-06-23, JO: EP-1150: Removed ARMCC V6.18 warnings **
84 ** V0.4.0: 2022-11-17, JO: EP-1342: Updated enum documentation to remove **
85 ** doxygen warning **
86 ** V0.5.0: 2024-06-03, JO: EP-1388: Added functions for trap mode **
87 ** V0.5.1: 2024-11-05, JO: EP-1494: Updated license **
88 *******************************************************************************/
89 
90 #ifndef _CCU7_H
91 #define _CCU7_H
92 
93 /*******************************************************************************
94 ** Includes **
95 *******************************************************************************/
96 
97 #include "types.h"
98 #include "tle989x.h"
99 #include "tle_variants.h"
100 #include "ccu7_defines.h"
101 
102 /*******************************************************************************
103 ** Global Type Declarations **
104 *******************************************************************************/
105 
111 typedef enum CCU7_HallSync
112 {
122 
129 {
137 
144 {
149 
150 /*******************************************************************************
151 ** Global Macro Declarations **
152 *******************************************************************************/
153 #define CCU7_MODCTR_T12MODEN_Pos (0x0U)
154 #define CCU7_MODCTR_T12MODEN_Msk (0x3FU)
155 #define CCU7_MODCTR_T13MODEN_Pos (0x8U)
156 #define CCU7_MODCTR_T13MODEN_Msk (0x3F00U)
157 
158 /*******************************************************************************
159 ** Global Type Declarations **
160 *******************************************************************************/
161 
162 /*******************************************************************************
163 ** Global Function Declarations **
164 *******************************************************************************/
165 
166 sint8 CCU7_init(void);
167 sint8 CCU7_enModule(void);
168 sint8 CCU7_disModule(void);
170 INLINE void CCU7_setT12PerVal(uint16 u16_value);
186 INLINE sint8 CCU7_setDeadTime_ns(uint8 u8_channel, uint32 u32_deadTimeRise_ns, uint32 u32_deadTimeFall_ns) ;
187 INLINE sint8 CCU7_getDeadTime_ns(uint8 u8_channel, uint32 *u32p_DeadTimeRise_ns, uint32 *u32p_DeadTimeFall_ns) ;
191 INLINE void CCU7_setCC70AValShadow(uint16 u16_value);
192 INLINE void CCU7_setCC71AValShadow(uint16 u16_value);
193 INLINE void CCU7_setCC72AValShadow(uint16 u16_value);
197 INLINE void CCU7_setC70BValShadow(uint16 u16_value);
198 INLINE void CCU7_setC71BValShadow(uint16 u16_value);
199 INLINE void CCU7_setC72BValShadow(uint16 u16_value);
204 INLINE void CCU7_setT13PerVal(uint16 u16_value);
206 INLINE void CCU7_setT14PerVal(uint16 u16_value);
208 INLINE void CCU7_setT15PerVal(uint16 u16_value);
210 INLINE void CCU7_setT16PerVal(uint16 u16_value);
216 INLINE void CCU7_setC73ValShadow(uint16 u16_value);
217 INLINE void CCU7_setC74ValShadow(uint16 u16_value);
218 INLINE void CCU7_setC75ValShadow(uint16 u16_value);
219 INLINE void CCU7_setC76ValShadow(uint16 u16_value);
223 INLINE void CCU7_enT12SingleShot(void);
224 INLINE void CCU7_disT12SingleShot(void);
225 INLINE void CCU7_enT13SingleShot(void);
226 INLINE void CCU7_disT13SingleShot(void);
227 INLINE void CCU7_enT14SingleShot(void);
228 INLINE void CCU7_disT14SingleShot(void);
229 INLINE void CCU7_enT15SingleShot(void);
230 INLINE void CCU7_disT15SingleShot(void);
231 INLINE void CCU7_enT16SingleShot(void);
232 INLINE void CCU7_disT16SingleShot(void);
233 INLINE void CCU7_stopT12(void);
234 INLINE void CCU7_startT12(void);
235 INLINE void CCU7_stopT13(void);
236 INLINE void CCU7_startT13(void);
237 INLINE void CCU7_stopT14(void);
238 INLINE void CCU7_startT14(void);
239 INLINE void CCU7_stopT15(void);
240 INLINE void CCU7_startT15(void);
241 INLINE void CCU7_stopT16(void);
242 INLINE void CCU7_startT16(void);
243 INLINE void CCU7_setT12Modulation(uint8 u8_value);
244 INLINE void CCU7_enMultiChMode(void);
245 INLINE void CCU7_disMultiChMode(void);
246 INLINE void CCU7_setT13Modulation(uint8 u8_value);
247 INLINE void CCU7_enTrap(void);
248 INLINE void CCU7_disTrap(void);
250 INLINE void CCU7_enTrapPin(void);
251 INLINE void CCU7_disTrapPin(void);
253 INLINE void CCU7_setTrapModeManual(void);
264 INLINE void CCU7_enLostBitEventInt(void);
292 INLINE void CCU7_clrTrapIntSts(void);
295 INLINE void CCU7_clrHallIdleIntSts(void);
309 INLINE void CCU7_enT12OneMatchInt(void);
310 INLINE void CCU7_disT12OneMatchInt(void);
311 INLINE void CCU7_enT12PerMatchInt(void);
312 INLINE void CCU7_disT12PerMatchInt(void);
313 INLINE void CCU7_enT13CmpMatchInt(void);
314 INLINE void CCU7_disT13CmpMatchInt(void);
315 INLINE void CCU7_enT13PerMatchInt(void);
316 INLINE void CCU7_disT13PerMatchInt(void);
317 INLINE void CCU7_enTrapCondInt(void);
318 INLINE void CCU7_disTrapCondInt(void);
323 INLINE void CCU7_enHallIdleInt(void);
324 INLINE void CCU7_disHallIdleInt(void);
363 INLINE void CCU7_enT14CmpMatchInt(void);
364 INLINE void CCU7_disT14CmpMatchInt(void);
365 INLINE void CCU7_enT14PerMatchInt(void);
366 INLINE void CCU7_disT14PerMatchInt(void);
367 INLINE void CCU7_enT15CmpMatchInt(void);
368 INLINE void CCU7_disT15CmpMatchInt(void);
369 INLINE void CCU7_enT15PerMatchInt(void);
370 INLINE void CCU7_disT15PerMatchInt(void);
371 INLINE void CCU7_enT16CmpMatchInt(void);
372 INLINE void CCU7_disT16CmpMatchInt(void);
373 INLINE void CCU7_enT16PerMatchInt(void);
374 INLINE void CCU7_disT16PerMatchInt(void);
380 
381 /*******************************************************************************
382 ** Deprecated Function Declarations **
383 *******************************************************************************/
387 void CCU7_setCC70AIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
388 
392 void CCU7_setCC71AIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
393 
397 void CCU7_setCC72AIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
398 
402 void CCU7_setCHEIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
403 
407 void CCU7_setErrorIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
408 
412 void CCU7_setT12IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
413 
417 void CCU7_setT13IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
418 
422 void CCU7_setC70BIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
423 
427 void CCU7_setC71BIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
428 
432 void CCU7_setC72BIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
433 
437 void CCU7_setT14IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
438 
442 void CCU7_setT15IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
443 
447 void CCU7_setT16IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
448 
449 
450 /*******************************************************************************
451 ** Global Inline Function Definitions **
452 *******************************************************************************/
458 {
459  return (uint16)CCU7->T12.bit.T12CV;
460 }
461 
467 {
468  CCU7->T12PR.bit.T12PV = u16_value;
469 }
470 
476 {
477  return (uint16)CCU7->T12PR.bit.T12PV;
478 }
479 
491 {
492  sint8 s8_returnCode;
493  uint32 u32_period_tick;
494  s8_returnCode = ERR_LOG_SUCCESS;
495  u32_period_tick = (uint32)(CCU7_T12_CLK_HZ / u32_freq_hz);
496 
497  if (CCU7->TCTR0.bit.CTM == 1)
498  {
499  /* Center aligned mode --> /2 */
500  u32_period_tick = u32_period_tick / 2u;
501  }
502 
503  u32_period_tick = u32_period_tick - 1u;
504 
505  if (u32_period_tick <= 0xFFFFu)
506  {
507  CCU7_setT12PerVal((uint16)u32_period_tick);
508  }
509  else
510  {
511  s8_returnCode = ERR_LOG_CODE_PARAM_OUT_OF_RANGE;
512  }
513 
514  return s8_returnCode;
515 }
516 
524 {
525  uint32 u32_period_Hz;
526  uint32 u32_period_tick = (uint32)((uint32)CCU7_getT12PerVal() + 1u);
527 
528  if (CCU7->TCTR0.bit.CTM == 1u)
529  {
530  /* Center aligned mode --> *2 */
531  u32_period_tick = u32_period_tick * 2u;
532  }
533 
534  u32_period_Hz = (uint32)(CCU7_T12_CLK_HZ / u32_period_tick);
535  return u32_period_Hz;
536 }
537 
543 {
544  CCU7->T12DT0_VAL.bit.DTM_RISE = u8_value;
545 }
546 
552 {
553  return (uint8)CCU7->T12DT0_VAL.bit.DTM_RISE;
554 }
555 
561 {
562  CCU7->T12DT0_VAL.bit.DTM_FALL = u8_value;
563 }
564 
570 {
571  return (uint8)CCU7->T12DT0_VAL.bit.DTM_FALL;
572 }
573 
579 {
580  CCU7->T12DT1_VAL.bit.DTM_RISE = u8_value;
581 }
582 
588 {
589  return (uint8)CCU7->T12DT1_VAL.bit.DTM_RISE;
590 }
591 
597 {
598  CCU7->T12DT1_VAL.bit.DTM_FALL = u8_value;
599 }
600 
606 {
607  return (uint8)CCU7->T12DT1_VAL.bit.DTM_FALL;
608 }
609 
615 {
616  CCU7->T12DT2_VAL.bit.DTM_RISE = u8_value;
617 }
618 
624 {
625  return (uint8)CCU7->T12DT2_VAL.bit.DTM_RISE;
626 }
627 
633 {
634  CCU7->T12DT2_VAL.bit.DTM_FALL = u8_value;
635 }
636 
642 {
643  return (uint8)CCU7->T12DT2_VAL.bit.DTM_FALL;
644 }
645 
662 INLINE sint8 CCU7_setDeadTime_ns(uint8 u8_channel, uint32 u32_deadTimeRise_ns, uint32 u32_deadTimeFall_ns)
663 {
664  sint8 s8_returnCode;
665  /* Local variables for dead time ticks */
666  uint32 deadTimeRise_ticks;
667  uint32 deadTimeFall_ticks;
668  s8_returnCode = ERR_LOG_SUCCESS;
669  /* Conversion of dead time [us] into dead time [ticks], division by 1000 to achieve correct unit */
670  deadTimeRise_ticks = (uint32)((u32_deadTimeRise_ns * CCU7_DT_CLK_MHz) / 1000);
671  deadTimeFall_ticks = (uint32)((u32_deadTimeFall_ns * CCU7_DT_CLK_MHz) / 1000);
672 
673  if ((deadTimeRise_ticks <= 255u) && (deadTimeFall_ticks <= 255u))
674  {
675  switch (u8_channel)
676  {
677  case 0:
678  {
679  CCU7_setCh0DeadTimeRise_ticks((uint8)deadTimeRise_ticks);
680  CCU7_setCh0DeadTimeFall_ticks((uint8)deadTimeFall_ticks);
681  break;
682  }
683 
684  case 1:
685  {
686  CCU7_setCh1DeadTimeRise_ticks((uint8)deadTimeRise_ticks);
687  CCU7_setCh1DeadTimeFall_ticks((uint8)deadTimeFall_ticks);
688  break;
689  }
690 
691  case 2:
692  {
693  CCU7_setCh2DeadTimeRise_ticks((uint8)deadTimeRise_ticks);
694  CCU7_setCh2DeadTimeFall_ticks((uint8)deadTimeFall_ticks);
695  break;
696  }
697 
698  default:
699  {
700  s8_returnCode = ERR_LOG_CODE_PARAM_OUT_OF_RANGE;
701  break;
702  }
703  }
704  }
705  else
706  {
707  s8_returnCode = ERR_LOG_CODE_PARAM_OUT_OF_RANGE;
708  }
709 
710  return s8_returnCode;
711 }
712 
725 INLINE sint8 CCU7_getDeadTime_ns(uint8 u8_channel, uint32 *u32p_DeadTimeRise_ns, uint32 *u32p_DeadTimeFall_ns)
726 {
727  sint8 s8_returnCode;
728  /* Local variables for dead time ticks */
729  uint32 deadTimeRise_ticks = 0;
730  uint32 deadTimeFall_ticks = 0;
731  s8_returnCode = ERR_LOG_SUCCESS;
732 
733  if ((PtrRangeCheck(u32p_DeadTimeRise_ns) == true) && (PtrRangeCheck(u32p_DeadTimeFall_ns) == true))
734  {
735  switch (u8_channel)
736  {
737  case 0:
738  {
739  deadTimeRise_ticks = CCU7_getCh0DeadTimeRise_ticks();
740  deadTimeFall_ticks = CCU7_getCh0DeadTimeFall_ticks();
741  break;
742  }
743 
744  case 1:
745  {
746  deadTimeRise_ticks = CCU7_getCh1DeadTimeRise_ticks();
747  deadTimeFall_ticks = CCU7_getCh1DeadTimeFall_ticks();
748  break;
749  }
750 
751  case 2:
752  {
753  deadTimeRise_ticks = CCU7_getCh2DeadTimeRise_ticks();
754  deadTimeFall_ticks = CCU7_getCh2DeadTimeFall_ticks();
755  break;
756  }
757 
758  default:
759  {
760  s8_returnCode = ERR_LOG_CODE_PARAM_OUT_OF_RANGE;
761  }
762  }
763 
764  if (s8_returnCode == ERR_LOG_SUCCESS)
765  {
766  *u32p_DeadTimeRise_ns = (uint32)((deadTimeRise_ticks * 1000) / CCU7_DT_CLK_MHz);
767  *u32p_DeadTimeFall_ns = (uint32)((deadTimeFall_ticks * 1000) / CCU7_DT_CLK_MHz);
768  }
769  }
770  else
771  {
772  s8_returnCode = ERR_LOG_CODE_PARAM_OUT_OF_RANGE;
773  }
774 
775  return s8_returnCode;
776 }
777 
783 {
784  return (uint16)CCU7->CC70R.bit.CCV;
785 }
786 
792 {
793  return (uint16)CCU7->CC71R.bit.CCV;
794 }
795 
801 {
802  return (uint16)CCU7->CC72R.bit.CCV;
803 }
804 
810 {
811  CCU7->CC70SR.bit.CCS = u16_value;
812 }
813 
819 {
820  CCU7->CC71SR.bit.CCS = u16_value;
821 }
822 
828 {
829  CCU7->CC72SR.bit.CCS = u16_value;
830 }
831 
837 {
838  return (uint16)CCU7->CC70BR.bit.CV;
839 }
840 
846 {
847  return (uint16)CCU7->CC71BR.bit.CV;
848 }
849 
855 {
856  return (uint16)CCU7->CC72BR.bit.CV;
857 }
858 
864 {
865  CCU7->CC70BSR.bit.CS = u16_value;
866 }
867 
873 {
874  CCU7->CC71BSR.bit.CS = u16_value;
875 }
876 
882 {
883  CCU7->CC72BSR.bit.CS = u16_value;
884 }
885 
891 {
892  return (uint16)CCU7->T13R.bit.T1xCV;
893 }
894 
900 {
901  return (uint16)CCU7->T14R.bit.T1xCV;
902 }
903 
909 {
910  return (uint16)CCU7->T15R.bit.T1xCV;
911 }
912 
918 {
919  return (uint16)CCU7->T16R.bit.T1xCV;
920 }
921 
927 {
928  CCU7->T13PR.bit.T1xPV = u16_value;
929 }
930 
936 {
937  return (uint16)CCU7->T13PR.bit.T1xPV;
938 }
939 
945 {
946  CCU7->T14PR.bit.T1xPV = u16_value;
947 }
948 
954 {
955  return (uint16)CCU7->T14PR.bit.T1xPV;
956 }
957 
963 {
964  CCU7->T15PR.bit.T1xPV = u16_value;
965 }
966 
972 {
973  return (uint16)CCU7->T15PR.bit.T1xPV;
974 }
975 
981 {
982  CCU7->T16PR.bit.T1xPV = u16_value;
983 }
984 
990 {
991  return (uint16)CCU7->T16PR.bit.T1xPV;
992 }
993 
999 {
1000  return (uint16)CCU7->C73R.bit.CCV;
1001 }
1002 
1008 {
1009  return (uint16)CCU7->C74R.bit.CCV;
1010 }
1011 
1017 {
1018  return (uint16)CCU7->C75R.bit.CCV;
1019 }
1020 
1026 {
1027  return (uint16)CCU7->C76R.bit.CCV;
1028 }
1029 
1035 {
1036  CCU7->C73SR.bit.CCS = u16_value;
1037 }
1038 
1044 {
1045  CCU7->C74SR.bit.CCS = u16_value;
1046 }
1047 
1053 {
1054  CCU7->C75SR.bit.CCS = u16_value;
1055 }
1056 
1062 {
1063  CCU7->C76SR.bit.CCS = u16_value;
1064 }
1065 
1074 {
1076 }
1077 
1093 {
1094  /* CCU7->CMPSTAT_2 contains C70B, C71B, C72B, C74ST, C75ST, C76ST, CC70ST, CC71ST, and CC72ST */
1095  /* Shift CCU7->CMPSTAT.bit.CC73ST to bit position 11 (unused in CCU7->CMPSTAT_2) */
1096  return (uint16)((uint16)CCU7->CMPSTAT_2.reg | ((uint16)CCU7->CMPSTAT.bit.CC73ST << 11u));
1097 }
1098 
1104 {
1105  CCU7->T12MSEL.bit.HSYNC = (uint8)e_value;
1106 }
1107 
1111 {
1112  CCU7->TCTR2.bit.T12SSC = 1u;
1113 }
1114 
1118 {
1119  CCU7->TCTR2.bit.T12SSC = 0u;
1120 }
1121 
1125 {
1126  CCU7->TCTR2.bit.T13SSC = 1u;
1127 }
1128 
1132 {
1133  CCU7->TCTR2.bit.T13SSC = 0u;
1134 }
1135 
1139 {
1140  CCU7->TCTR24.bit.T1xSSC = 1u;
1141 }
1142 
1146 {
1147  CCU7->TCTR24.bit.T1xSSC = 0u;
1148 }
1149 
1153 {
1154  CCU7->TCTR25.bit.T1xSSC = 1u;
1155 }
1156 
1160 {
1161  CCU7->TCTR25.bit.T1xSSC = 0u;
1162 }
1163 
1167 {
1168  CCU7->TCTR26.bit.T1xSSC = 1u;
1169 }
1170 
1174 {
1175  CCU7->TCTR26.bit.T1xSSC = 0u;
1176 }
1177 
1181 {
1182  CCU7->TCTR4.bit.T12RR = 1u;
1183 }
1184 
1188 {
1189  CCU7->TCTR4.bit.T12RS = 1u;
1190 }
1191 
1195 {
1196  CCU7->TCTR4.bit.T13RR = 1u;
1197 }
1198 
1202 {
1203  CCU7->TCTR4.bit.T13RS = 1u;
1204 }
1205 
1209 {
1210  CCU7->TCTR44.bit.T1xRR = 1u;
1211 }
1212 
1216 {
1217  CCU7->TCTR44.bit.T1xRS = 1u;
1218 }
1219 
1223 {
1224  CCU7->TCTR45.bit.T1xRR = 1u;
1225 }
1226 
1230 {
1231  CCU7->TCTR45.bit.T1xRS = 1u;
1232 }
1233 
1237 {
1238  CCU7->TCTR46.bit.T1xRR = 1u;
1239 }
1240 
1244 {
1245  CCU7->TCTR46.bit.T1xRS = 1u;
1246 }
1247 
1253 {
1254  CCU7->MODCTR.reg = (CCU7->MODCTR.reg & (~CCU7_MODCTR_T12MODEN_Msk)) | ((uint32)u8_value << CCU7_MODCTR_T12MODEN_Pos);
1255 }
1256 
1260 {
1261  CCU7->MODCTR.bit.MCMEN = 1u;
1262 }
1263 
1267 {
1268  CCU7->MODCTR.bit.MCMEN = 0u;
1269 }
1270 
1276 {
1277  CCU7->MODCTR.reg = (CCU7->MODCTR.reg & (~CCU7_MODCTR_T13MODEN_Msk)) | ((uint32)u8_value << CCU7_MODCTR_T13MODEN_Pos);
1278 }
1279 
1283 {
1284  CCU7->TRPCTR.bit.TRPEN = (uint8)0x3F;
1285 }
1286 
1290 {
1291  CCU7->TRPCTR.bit.TRPEN = 0u;
1292 }
1293 
1301 {
1302  uint8 u8_trpen = 0u;
1303 
1304  if ((uint8)CCU7->TRPCTR.bit.TRPEN == 0x3Fu)
1305  {
1306  /* all bits set */
1307  u8_trpen = 1u;
1308  }
1309 
1310  return u8_trpen;
1311 }
1312 
1316 {
1317  CCU7->TRPCTR.bit.TRPPEN = 1u;
1318 }
1319 
1323 {
1324  CCU7->TRPCTR.bit.TRPPEN = 0u;
1325 }
1326 
1330 {
1331  CCU7->TRPCTR.bit.TRPM2 = 0u;
1332 }
1333 
1337 {
1338  CCU7->TRPCTR.bit.TRPM2 = 1u;
1339 }
1340 
1346 {
1347  CCU7->MCMOUTS.bit.MCMPS = u8_value;
1348 }
1349 
1353 {
1354  CCU7->MCMOUTS.bit.STRMCM = 1u;
1355 }
1356 
1362 {
1363  CCU7->MCMOUTS.bit.EXPHS = u8_value;
1364 }
1365 
1371 {
1372  CCU7->MCMOUTS.bit.CURHS = u8_value;
1373 }
1374 
1378 {
1379  CCU7->MCMOUTS.bit.STRHP = 1u;
1380 }
1381 
1387 {
1388  return (uint8)CCU7->MCMOUT.bit.MCMP;
1389 }
1390 
1396 {
1397  CCU7->MCMCTR.bit.SWSEL = (uint8)e_value;
1398 }
1399 
1405 {
1406  CCU7->MCMCTR.bit.SWSYN = (uint8)e_value;
1407 }
1408 
1412 {
1413  CCU7->IMON.bit.LBE = 1u;
1414 }
1415 
1421 {
1422  return (uint8)CCU7->IMON.bit.LBE;
1423 }
1424 
1428 {
1429  CCU7->LI.bit.LBEEN = 1u;
1430 }
1431 
1435 {
1436  CCU7->LI.bit.LBEEN = 0u;
1437 }
1438 
1444 {
1445  return (uint8)CCU7->IS.bit.ICC70R;
1446 }
1447 
1453 {
1454  return (uint8)CCU7->IS.bit.ICC70F;
1455 }
1456 
1462 {
1463  return (uint8)CCU7->IS.bit.ICC71R;
1464 }
1465 
1471 {
1472  return (uint8)CCU7->IS.bit.ICC71F;
1473 }
1474 
1480 {
1481  return (uint8)CCU7->IS.bit.ICC72R;
1482 }
1483 
1489 {
1490  return (uint8)CCU7->IS.bit.ICC72F;
1491 }
1492 
1498 {
1499  return (uint8)CCU7->IS.bit.T12OM;
1500 }
1501 
1507 {
1508  return (uint8)CCU7->IS.bit.T12PM;
1509 }
1510 
1516 {
1517  return (uint8)CCU7->IS.bit.T13CM;
1518 }
1519 
1525 {
1526  return (uint8)CCU7->IS.bit.T13PM;
1527 }
1528 
1534 {
1535  return (uint8)CCU7->IS.bit.TRPF;
1536 }
1537 
1543 {
1544  return (uint8)CCU7->IS.bit.TRPS;
1545 }
1546 
1552 {
1553  return (uint8)CCU7->IS.bit.CHE;
1554 }
1555 
1561 {
1562  return (uint8)CCU7->IS.bit.WHE;
1563 }
1564 
1570 {
1571  return (uint8)CCU7->IS.bit.IDLE;
1572 }
1573 
1579 {
1580  return (uint8)CCU7->IS.bit.STR;
1581 }
1582 
1586 {
1587  CCU7->ISR.bit.RCC70R = 1u;
1588 }
1589 
1593 {
1594  CCU7->ISR.bit.RCC70F = 1u;
1595 }
1596 
1600 {
1601  CCU7->ISR.bit.RCC71R = 1u;
1602 }
1603 
1607 {
1608  CCU7->ISR.bit.RCC71F = 1u;
1609 }
1610 
1614 {
1615  CCU7->ISR.bit.RCC72R = 1u;
1616 }
1617 
1621 {
1622  CCU7->ISR.bit.RCC72F = 1u;
1623 }
1624 
1628 {
1629  CCU7->ISR.bit.RT12OM = 1u;
1630 }
1631 
1635 {
1636  CCU7->ISR.bit.RT12PM = 1u;
1637 }
1638 
1642 {
1643  CCU7->ISR.bit.RT13CM = 1u;
1644 }
1645 
1649 {
1650  CCU7->ISR.bit.RT13PM = 1u;
1651 }
1652 
1656 {
1657  CCU7->ISR.bit.RTRPF = 1u;
1658 }
1659 
1663 {
1664  CCU7->ISR.bit.RCHE = 1u;
1665 }
1666 
1670 {
1671  CCU7->ISR.bit.RWHE = 1u;
1672 }
1673 
1677 {
1678  CCU7->ISR.bit.RIDLE = 1u;
1679 }
1680 
1684 {
1685  CCU7->ISR.bit.RSTR = 1u;
1686 }
1687 
1691 {
1692  CCU7->IEN.bit.ENCC70R = 1u;
1693 }
1694 
1698 {
1699  CCU7->IEN.bit.ENCC70R = 0u;
1700 }
1701 
1705 {
1706  CCU7->IEN.bit.ENCC70F = 1u;
1707 }
1708 
1712 {
1713  CCU7->IEN.bit.ENCC70F = 0u;
1714 }
1715 
1719 {
1720  CCU7->IEN.bit.ENCC71R = 1u;
1721 }
1722 
1726 {
1727  CCU7->IEN.bit.ENCC71R = 0u;
1728 }
1729 
1733 {
1734  CCU7->IEN.bit.ENCC71F = 1u;
1735 }
1736 
1740 {
1741  CCU7->IEN.bit.ENCC71F = 0u;
1742 }
1743 
1747 {
1748  CCU7->IEN.bit.ENCC72R = 1u;
1749 }
1750 
1754 {
1755  CCU7->IEN.bit.ENCC72R = 0u;
1756 }
1757 
1761 {
1762  CCU7->IEN.bit.ENCC72F = 1u;
1763 }
1764 
1768 {
1769  CCU7->IEN.bit.ENCC72F = 0u;
1770 }
1771 
1775 {
1776  CCU7->IEN.bit.ENT12OM = 1u;
1777 }
1778 
1782 {
1783  CCU7->IEN.bit.ENT12OM = 0u;
1784 }
1785 
1789 {
1790  CCU7->IEN.bit.ENT12PM = 1u;
1791 }
1792 
1796 {
1797  CCU7->IEN.bit.ENT12PM = 0u;
1798 }
1799 
1803 {
1804  CCU7->IEN.bit.ENT13CM = 1u;
1805 }
1806 
1810 {
1811  CCU7->IEN.bit.ENT13CM = 0u;
1812 }
1813 
1817 {
1818  CCU7->IEN.bit.ENT13PM = 1u;
1819 }
1820 
1824 {
1825  CCU7->IEN.bit.ENT13PM = 0u;
1826 }
1827 
1831 {
1832  CCU7->IEN.bit.ENTRPF = 1u;
1833 }
1834 
1838 {
1839  CCU7->IEN.bit.ENTRPF = 0u;
1840 }
1841 
1845 {
1846  CCU7->IEN.bit.ENCHE = 1u;
1847 }
1848 
1852 {
1853  CCU7->IEN.bit.ENCHE = 0u;
1854 }
1855 
1859 {
1860  CCU7->IEN.bit.ENWHE = 1u;
1861 }
1862 
1866 {
1867  CCU7->IEN.bit.ENWHE = 0u;
1868 }
1869 
1873 {
1874  CCU7->IEN.bit.ENIDLE = 1u;
1875 }
1876 
1880 {
1881  CCU7->IEN.bit.ENIDLE = 0u;
1882 }
1883 
1887 {
1888  CCU7->IEN.bit.ENSTR = 1u;
1889 }
1890 
1894 {
1895  CCU7->IEN.bit.ENSTR = 0u;
1896 }
1897 
1903 {
1904  return (uint8)CCU7->IS_2.bit.ICC70BR;
1905 }
1906 
1912 {
1913  return (uint8)CCU7->IS_2.bit.ICC70BF;
1914 }
1915 
1921 {
1922  return (uint8)CCU7->IS_2.bit.ICC71BR;
1923 }
1924 
1930 {
1931  return (uint8)CCU7->IS_2.bit.ICC71BF;
1932 }
1933 
1939 {
1940  return (uint8)CCU7->IS_2.bit.ICC72BR;
1941 }
1942 
1948 {
1949  return (uint8)CCU7->IS_2.bit.ICC72BF;
1950 }
1951 
1957 {
1958  return (uint8)CCU7->IS_2.bit.T14CM;
1959 }
1960 
1966 {
1967  return (uint8)CCU7->IS_2.bit.T14PM;
1968 }
1969 
1975 {
1976  return (uint8)CCU7->IS_2.bit.T15CM;
1977 }
1978 
1984 {
1985  return (uint8)CCU7->IS_2.bit.T15PM;
1986 }
1987 
1993 {
1994  return (uint8)CCU7->IS_2.bit.T16CM;
1995 }
1996 
2002 {
2003  return (uint8)CCU7->IS_2.bit.T16PM;
2004 }
2005 
2009 {
2010  CCU7->ISR_2.bit.RCC70BR = 1u;
2011 }
2012 
2016 {
2017  CCU7->ISR_2.bit.RCC70BF = 1u;
2018 }
2019 
2023 {
2024  CCU7->ISR_2.bit.RCC71BR = 1u;
2025 }
2026 
2030 {
2031  CCU7->ISR_2.bit.RCC71BF = 1u;
2032 }
2033 
2037 {
2038  CCU7->ISR_2.bit.RCC72BR = 1u;
2039 }
2040 
2044 {
2045  CCU7->ISR_2.bit.RCC72BF = 1u;
2046 }
2047 
2051 {
2052  CCU7->ISR_2.bit.RT14CM = 1u;
2053 }
2054 
2058 {
2059  CCU7->ISR_2.bit.RT14PM = 1u;
2060 }
2061 
2065 {
2066  CCU7->ISR_2.bit.RT15CM = 1u;
2067 }
2068 
2072 {
2073  CCU7->ISR_2.bit.RT15PM = 1u;
2074 }
2075 
2079 {
2080  CCU7->ISR_2.bit.RT16CM = 1u;
2081 }
2082 
2086 {
2087  CCU7->ISR_2.bit.RT16PM = 1u;
2088 }
2089 
2093 {
2094  CCU7->IEN_2.bit.ENCC70BR = 1u;
2095 }
2096 
2100 {
2101  CCU7->IEN_2.bit.ENCC70BR = 0u;
2102 }
2103 
2107 {
2108  CCU7->IEN_2.bit.ENCC70BF = 1u;
2109 }
2110 
2114 {
2115  CCU7->IEN_2.bit.ENCC70BF = 0u;
2116 }
2117 
2121 {
2122  CCU7->IEN_2.bit.ENCC71BR = 1u;
2123 }
2124 
2128 {
2129  CCU7->IEN_2.bit.ENCC71BR = 0u;
2130 }
2131 
2135 {
2136  CCU7->IEN_2.bit.ENCC71BF = 1u;
2137 }
2138 
2142 {
2143  CCU7->IEN_2.bit.ENCC71BF = 0u;
2144 }
2145 
2149 {
2150  CCU7->IEN_2.bit.ENCC72BR = 1u;
2151 }
2152 
2156 {
2157  CCU7->IEN_2.bit.ENCC72BR = 0u;
2158 }
2159 
2163 {
2164  CCU7->IEN_2.bit.ENCC72BF = 1u;
2165 }
2166 
2170 {
2171  CCU7->IEN_2.bit.ENCC72BF = 0u;
2172 }
2173 
2177 {
2178  CCU7->IEN_2.bit.ENT14CM = 1u;
2179 }
2180 
2184 {
2185  CCU7->IEN_2.bit.ENT14CM = 0u;
2186 }
2187 
2191 {
2192  CCU7->IEN_2.bit.ENT14PM = 1u;
2193 }
2194 
2198 {
2199  CCU7->IEN_2.bit.ENT14PM = 0u;
2200 }
2201 
2205 {
2206  CCU7->IEN_2.bit.ENT15CM = 1u;
2207 }
2208 
2212 {
2213  CCU7->IEN_2.bit.ENT15CM = 0u;
2214 }
2215 
2219 {
2220  CCU7->IEN_2.bit.ENT15PM = 1u;
2221 }
2222 
2226 {
2227  CCU7->IEN_2.bit.ENT15PM = 0u;
2228 }
2229 
2233 {
2234  CCU7->IEN_2.bit.ENT16CM = 1u;
2235 }
2236 
2240 {
2241  CCU7->IEN_2.bit.ENT16CM = 0u;
2242 }
2243 
2247 {
2248  CCU7->IEN_2.bit.ENT16PM = 1u;
2249 }
2250 
2254 {
2255  CCU7->IEN_2.bit.ENT16PM = 0u;
2256 }
2257 
2261 {
2262  CCU7->TCTR3.bit.T12STR = 1u;
2263 }
2264 
2268 {
2269  CCU7->TCTR3.bit.T13STR = 1u;
2270 }
2271 
2275 {
2276  CCU7->TCTR3.bit.T14STR = 1u;
2277 }
2278 
2282 {
2283  CCU7->TCTR3.bit.T15STR = 1u;
2284 }
2285 
2289 {
2290  CCU7->TCTR3.bit.T16STR = 1u;
2291 }
2292 
2295 #endif /* _CCU7_H */
2296 
#define ERR_LOG_SUCCESS
Definition: error_codes.h:60
INLINE void CCU7_startT12(void)
Start T12.
Definition: ccu7.h:1187
INLINE uint16 CCU7_getT14PerVal(void)
Get T14 Period Value.
Definition: ccu7.h:953
INLINE void CCU7_enT12SingleShot(void)
Enable T12 Single Shot Control.
Definition: ccu7.h:1110
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:490
INLINE void CCU7_disC72BCmpMatchFallInt(void)
Disable Compare-Match Falling Edge Interrupt for C72B.
Definition: ccu7.h:2169
INLINE void CCU7_setC74ValShadow(uint16 u16_value)
Set Shadow Register for C74 Compare Value.
Definition: ccu7.h:1043
INLINE void CCU7_disCC71ACmpMatchFallInt(void)
Disable Capture, Compare-Match Falling Edge Interrupt for CC71A.
Definition: ccu7.h:1739
INLINE uint8 CCU7_getTrapIntSts(void)
Get Trap State (Synchronized to the event selected by CCU7-TRPCTR.bit.TRPM0 and CCU7-TRPCTR....
Definition: ccu7.h:1542
INLINE void CCU7_setT12ShadowTransferReq(void)
Set T12 Shadow Transfer Request.
Definition: ccu7.h:2260
INLINE void CCU7_disC70BCmpMatchFallInt(void)
Disable Compare-Match Falling Edge Interrupt for C70B.
Definition: ccu7.h:2113
INLINE void CCU7_enMultiChMode(void)
Enable Multi-Channel Mode.
Definition: ccu7.h:1259
INLINE uint8 CCU7_getT12PerMatchIntSts(void)
Get T12 Period-Match Flag.
Definition: ccu7.h:1506
INLINE void CCU7_disT15SingleShot(void)
Disable T15 Single Shot Control.
Definition: ccu7.h:1159
INLINE void CCU7_disT16CmpMatchInt(void)
Disable Interrupt for T16 Compare-Match.
Definition: ccu7.h:2239
INLINE void CCU7_setC75ValShadow(uint16 u16_value)
Set Shadow Register for C75 Compare Value.
Definition: ccu7.h:1052
INLINE void CCU7_enT14PerMatchInt(void)
Enable Interrupt for T14 Period-Match.
Definition: ccu7.h:2190
INLINE uint16 CCU7_getT15PerVal(void)
Get T15 Period Value.
Definition: ccu7.h:971
INLINE void CCU7_disT14SingleShot(void)
Disable T14 Single Shot Control.
Definition: ccu7.h:1145
INLINE void CCU7_disCC71ACmpMatchRiseInt(void)
Disable Capture, Compare-Match Rising Edge Interrupt for CC71A.
Definition: ccu7.h:1725
INLINE void CCU7_clrTrapIntSts(void)
Clear Trap Flag.
Definition: ccu7.h:1655
INLINE uint16 CCU7_getC70BVal(void)
Get C70B Compare Value.
Definition: ccu7.h:836
INLINE void CCU7_disTrap(void)
Disable Trap Control.
Definition: ccu7.h:1289
INLINE void CCU7_setCh2DeadTimeRise_ticks(uint8 u8_value)
Set Dead-Time for Channel 2 rise in ticks.
Definition: ccu7.h:614
INLINE void CCU7_clrT12PerMatchIntSts(void)
Clear T12 Period-Match Flag.
Definition: ccu7.h:1634
INLINE void CCU7_setHallSync(tCCU7_HallSync e_value)
Set Hall Synchronization.
Definition: ccu7.h:1103
INLINE void CCU7_setMultiChModeShadowTransferReq(void)
Set Shadow Transfer Request for Multi-Channel Mode.
Definition: ccu7.h:1352
INLINE void CCU7_enC71BCmpMatchRiseInt(void)
Enable Compare-Match Rising Edge Interrupt for C71B.
Definition: ccu7.h:2120
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:1266
INLINE uint8 CCU7_getT14PerMatchIntSts(void)
Get T14 Period-Match Flag.
Definition: ccu7.h:1965
CCU7_MultiChMode_SWSEL
This enum lists the CCU7 Multi Channel Mode Switching Selection. Used in function CCU7_setMultiChMode...
Definition: ccu7.h:129
INLINE void CCU7_setHallShadowTransferReq(void)
Set Shadow Transfer Request for the Hall Pattern.
Definition: ccu7.h:1377
INLINE void CCU7_disC71BCmpMatchFallInt(void)
Disable Compare-Match Falling Edge Interrupt for C71B.
Definition: ccu7.h:2141
INLINE void CCU7_stopT13(void)
Stop T13.
Definition: ccu7.h:1194
INLINE void CCU7_clrT13PerMatchIntSts(void)
Clear T13 Period-Match Flag.
Definition: ccu7.h:1648
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:2218
INLINE void CCU7_disHallEventCorrectInt(void)
Disable Interrupt for Correct Hall Event.
Definition: ccu7.h:1851
INLINE void CCU7_clrC72BCmpMatchRiseIntSts(void)
Clear Compare-Match Rising Edge Flag for C72B.
Definition: ccu7.h:2036
INLINE uint16 CCU7_getT13CntVal(void)
Get T13 Counter Value.
Definition: ccu7.h:890
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:662
INLINE void CCU7_setCh0DeadTimeFall_ticks(uint8 u8_value)
Set Dead-Time for Channel 0 fall in ticks.
Definition: ccu7.h:560
INLINE uint8 CCU7_getTrapCond(void)
Get Trap Flag (Trap condition fulfilled)
Definition: ccu7.h:1533
INLINE uint8 CCU7_getCh1DeadTimeRise_ticks(void)
Get Dead-Time for Channel 1 rise in ticks.
Definition: ccu7.h:587
INLINE uint8 CCU7_getHallEventCorrectIntSts(void)
Get Correct Hall Event Flag.
Definition: ccu7.h:1551
INLINE void CCU7_disT16SingleShot(void)
Disable T16 Single Shot Control.
Definition: ccu7.h:1173
INLINE uint16 CCU7_getT13PerVal(void)
Get T13 Period Value.
Definition: ccu7.h:935
INLINE void CCU7_clrHallIdleIntSts(void)
Clear Hall Idle Flag.
Definition: ccu7.h:1676
INLINE uint8 CCU7_getCC72ACmpMatchRiseIntSts(void)
Get Capture, Compare-Match Rising Edge Flag for CC72A.
Definition: ccu7.h:1479
INLINE void CCU7_disT12PerMatchInt(void)
Disable Interrupt for T12 Period-Match.
Definition: ccu7.h:1795
INLINE uint16 CCU7_getC74Val(void)
Get C74 Compare Value.
Definition: ccu7.h:1007
INLINE void CCU7_clrCC72ACmpMatchRiseIntSts(void)
Clear Capture, Compare-Match Rising Edge Flag for CC72A.
Definition: ccu7.h:1613
INLINE void CCU7_clrT14CmpMatchIntSts(void)
Clear T14 Compare-Match Flag.
Definition: ccu7.h:2050
INLINE void CCU7_stopT14(void)
Stop T14.
Definition: ccu7.h:1208
INLINE void CCU7_stopT15(void)
Stop T15.
Definition: ccu7.h:1222
INLINE void CCU7_clrHallEventWrongIntSts(void)
Clear Wrong Hall Event Flag.
Definition: ccu7.h:1669
INLINE uint8 CCU7_getT16PerMatchIntSts(void)
Get T16 Period-Match Flag.
Definition: ccu7.h:2001
INLINE uint16 CCU7_getC73Val(void)
Get C73 Compare Value.
Definition: ccu7.h:998
INLINE uint8 CCU7_getC71BCmpMatchFallIntSts(void)
Get Compare-Match Falling Edge Flag for C71B.
Definition: ccu7.h:1929
INLINE void CCU7_enCC71ACmpMatchFallInt(void)
Enable Capture, Compare-Match Falling Edge Interrupt for CC71A.
Definition: ccu7.h:1732
INLINE void CCU7_disT16PerMatchInt(void)
Disable Interrupt for T16 Period-Match.
Definition: ccu7.h:2253
INLINE uint16 CCU7_getC72BVal(void)
Get C72B Compare Value.
Definition: ccu7.h:854
INLINE void CCU7_enT15SingleShot(void)
Enable T15 Single Shot Control.
Definition: ccu7.h:1152
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:466
INLINE uint16 CCU7_getT15CntVal(void)
Get T15 Counter Value.
Definition: ccu7.h:908
#define CCU7_MODCTR_T12MODEN_Msk
Definition: ccu7.h:154
INLINE void CCU7_clrCC70ACmpMatchRiseIntSts(void)
Clear Capture, Compare-Match Rising Edge Flag for CC70A.
Definition: ccu7.h:1585
sint8 CCU7_enModule(void)
Enable the CCU7 module by calling the CCU7_init() function.
Definition: ccu7.c:117
INLINE void CCU7_clrT13CmpMatchIntSts(void)
Clear T13 Compare-Match Flag.
Definition: ccu7.h:1641
INLINE void CCU7_enT13SingleShot(void)
Enable T13 Single Shot Control.
Definition: ccu7.h:1124
INLINE void CCU7_stopT16(void)
Stop T16.
Definition: ccu7.h:1236
INLINE void CCU7_enCC71ACmpMatchRiseInt(void)
Enable Capture, Compare-Match Rising Edge Interrupt for CC71A.
Definition: ccu7.h:1718
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:2106
INLINE uint8 CCU7_getHallIdleIntSts(void)
Get Hall Idle State Flag.
Definition: ccu7.h:1569
INLINE void CCU7_setCh1DeadTimeRise_ticks(uint8 u8_value)
Set Dead-Time for Channel 1 rise in ticks.
Definition: ccu7.h:578
enum CCU7_MultiChMode_SWSEL tCCU7_MultiChMode_SWSEL
INLINE void CCU7_enT14SingleShot(void)
Enable T14 Single Shot Control.
Definition: ccu7.h:1138
INLINE void CCU7_setC71BValShadow(uint16 u16_value)
Set Shadow Register for C71B Compare Value.
Definition: ccu7.h:872
INLINE void CCU7_enC70BCmpMatchRiseInt(void)
Enable Compare-Match Rising Edge Interrupt for C70B.
Definition: ccu7.h:2092
INLINE uint8 CCU7_getC70BCmpMatchFallIntSts(void)
Get Compare-Match Falling Edge Flag for C70B.
Definition: ccu7.h:1911
INLINE void CCU7_enMultiChModeShadowTransferReqInt(void)
Enable Multi-Channel Mode Shadow Transfer Interrupt.
Definition: ccu7.h:1886
INLINE void CCU7_clrT15PerMatchIntSts(void)
Clear T15 Period-Match Flag.
Definition: ccu7.h:2071
INLINE void CCU7_enHallEventWrongInt(void)
Enable Interrupt for Wrong Hall Event.
Definition: ccu7.h:1858
INLINE uint8 CCU7_getCh2DeadTimeFall_ticks(void)
Get Dead-Time for Channel 2 fall in ticks.
Definition: ccu7.h:641
INLINE void CCU7_setT14ShadowTransferReq(void)
Set T14 Shadow Transfer Request.
Definition: ccu7.h:2274
INLINE uint8 CCU7_getCh2DeadTimeRise_ticks(void)
Get Dead-Time for Channel 2 rise in ticks.
Definition: ccu7.h:623
INLINE void CCU7_startT15(void)
Start T15.
Definition: ccu7.h:1229
INLINE void CCU7_clrCC70ACmpMatchFallIntSts(void)
Clear Capture, Compare-Match Falling Edge Flag for CC70A.
Definition: ccu7.h:1592
INLINE void CCU7_clrT16CmpMatchIntSts(void)
Clear T16 Compare-Match Flag.
Definition: ccu7.h:2078
INLINE void CCU7_setCh1DeadTimeFall_ticks(uint8 u8_value)
Set Dead-Time for Channel 1 fall in ticks.
Definition: ccu7.h:596
INLINE uint16 CCU7_getCC71AVal(void)
Get CC71A Capture/Compare Value.
Definition: ccu7.h:791
INLINE void CCU7_setC76ValShadow(uint16 u16_value)
Set Shadow Register for C76 Compare Value.
Definition: ccu7.h:1061
INLINE void CCU7_enTrapCondInt(void)
Enable Interrupt for Trap Flag (Trap condition fulfilled)
Definition: ccu7.h:1830
INLINE void CCU7_disT15PerMatchInt(void)
Disable Interrupt for T15 Period-Match.
Definition: ccu7.h:2225
INLINE void CCU7_setT13PerVal(uint16 u16_value)
Set T13 Period Value.
Definition: ccu7.h:926
INLINE void CCU7_startT13(void)
Start T13.
Definition: ccu7.h:1201
INLINE void CCU7_setCC70AValShadow(uint16 u16_value)
Set Shadow Register for CC70A Capture/Compare Value.
Definition: ccu7.h:809
INLINE void CCU7_clrT15CmpMatchIntSts(void)
Clear T15 Compare-Match Flag.
Definition: ccu7.h:2064
INLINE void CCU7_clrCC72ACmpMatchFallIntSts(void)
Clear Capture, Compare-Match Falling Edge Flag for CC72A.
Definition: ccu7.h:1620
INLINE void CCU7_enC72BCmpMatchRiseInt(void)
Enable Compare-Match Rising Edge Interrupt for C72B.
Definition: ccu7.h:2148
INLINE void CCU7_disTrapPin(void)
Disable Trap Pin.
Definition: ccu7.h:1322
INLINE uint8 CCU7_getT13PerMatchIntSts(void)
Get T13 Period-Match Flag.
Definition: ccu7.h:1524
INLINE void CCU7_startT16(void)
Start T16.
Definition: ccu7.h:1243
INLINE void CCU7_enC72BCmpMatchFallInt(void)
Enable Compare-Match Falling Edge Interrupt for C72B.
Definition: ccu7.h:2162
INLINE void CCU7_startT14(void)
Start T14.
Definition: ccu7.h:1215
INLINE uint16 CCU7_getT14CntVal(void)
Get T14 Counter Value.
Definition: ccu7.h:899
INLINE void CCU7_stopT12(void)
Stop T12.
Definition: ccu7.h:1180
void CCU7_setCC71AIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Interrupt Node Pointer for CC71A Interrupts.
INLINE void CCU7_setTrapModeManual(void)
Set trap mode to Manual (Manual Mode: Bit TRPF stays 1 after the trap input condition is no longer va...
Definition: ccu7.h:1336
INLINE void CCU7_setMultiChModeShadowTransferTrig(tCCU7_MultiChMode_SWSEL e_value)
Set Switching Selection.
Definition: ccu7.h:1395
INLINE void CCU7_enCC70ACmpMatchRiseInt(void)
Enable Capture, Compare-Match Rising Edge Interrupt for CC70A.
Definition: ccu7.h:1690
INLINE void CCU7_disHallEventWrongInt(void)
Disable Interrupt for Wrong Hall Event.
Definition: ccu7.h:1865
INLINE void CCU7_disT13CmpMatchInt(void)
Disable Interrupt for T13 Compare-Match.
Definition: ccu7.h:1809
INLINE uint8 CCU7_getCC71ACmpMatchFallIntSts(void)
Get Capture, Compare-Match Falling Edge Flag for CC71A.
Definition: ccu7.h:1470
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:569
INLINE void CCU7_setCC72AValShadow(uint16 u16_value)
Set Shadow Register for CC72A Capture/Compare Value.
Definition: ccu7.h:827
INLINE void CCU7_setC72BValShadow(uint16 u16_value)
Set Shadow Register for C72B Compare Value.
Definition: ccu7.h:881
INLINE void CCU7_disLostBitEventInt(void)
Disable Interrupt for Lost Bit Event - LBEEN.
Definition: ccu7.h:1434
INLINE void CCU7_enT12PerMatchInt(void)
Enable Interrupt for T12 Period-Match.
Definition: ccu7.h:1788
INLINE void CCU7_enT15CmpMatchInt(void)
Enable Interrupt for T15 Compare-Match.
Definition: ccu7.h:2204
INLINE uint8 CCU7_getC70BCmpMatchRiseIntSts(void)
Get Compare-Match Rising Edge Flag for C70B.
Definition: ccu7.h:1902
INLINE void CCU7_disT14CmpMatchInt(void)
Disable Interrupt for T14 Compare-Match.
Definition: ccu7.h:2183
INLINE void CCU7_setMultiChModeShadowTransferSync(tCCU7_MultiChMode_SWSYN e_value)
Set Switching Synchronization.
Definition: ccu7.h:1404
INLINE void CCU7_setT14PerVal(uint16 u16_value)
Set T14 Period Value.
Definition: ccu7.h:944
INLINE void CCU7_enHallEventCorrectInt(void)
Enable Interrupt for Correct Hall Event.
Definition: ccu7.h:1844
INLINE uint16 CCU7_getT12PerVal(void)
Get T12 Period Value.
Definition: ccu7.h:475
INLINE uint8 CCU7_getT15PerMatchIntSts(void)
Get T15 Period-Match Flag.
Definition: ccu7.h:1983
INLINE void CCU7_disT14PerMatchInt(void)
Disable Interrupt for T14 Period-Match.
Definition: ccu7.h:2197
sint8 CCU7_disModule(void)
Disable the CCU7 module by performing the following steps: stop T12 stop T13, T14,...
Definition: ccu7.c:132
INLINE void CCU7_clrC70BCmpMatchRiseIntSts(void)
Clear Compare-Match Rising Edge Flag for C70B.
Definition: ccu7.h:2008
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:542
INLINE uint8 CCU7_getC72BCmpMatchFallIntSts(void)
Get Compare-Match Falling Edge Flag for C72B.
Definition: ccu7.h:1947
INLINE uint8 CCU7_getHallPatternSampled(void)
Get Sampled Hall Pattern.
Definition: ccu7.h:1073
INLINE uint8 CCU7_getCh0DeadTimeRise_ticks(void)
Get Dead-Time for Channel 0 rise in ticks.
Definition: ccu7.h:551
INLINE void CCU7_setT15PerVal(uint16 u16_value)
Set T15 Period Value.
Definition: ccu7.h:962
INLINE uint16 CCU7_getT12CntVal(void)
Get T12 Counter Value.
Definition: ccu7.h:457
INLINE void CCU7_clrC72BCmpMatchFallIntSts(void)
Clear Compare-Match Falling Edge Flag for C72B.
Definition: ccu7.h:2043
INLINE void CCU7_setHallPatternCurrentShadow(uint8 u8_value)
Set Current Hall Pattern Shadow.
Definition: ccu7.h:1370
INLINE void CCU7_enCC70ACmpMatchFallInt(void)
Enable Capture, Compare-Match Falling Edge Interrupt for CC70A.
Definition: ccu7.h:1704
INLINE void CCU7_clrT12OneMatchIntSts(void)
Clear T12 One-Match Flag.
Definition: ccu7.h:1627
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:989
INLINE void CCU7_clrC71BCmpMatchRiseIntSts(void)
Clear Compare-Match Rising Edge Flag for C71B.
Definition: ccu7.h:2022
INLINE uint16 CCU7_getT16CntVal(void)
Get T16 Counter Value.
Definition: ccu7.h:917
INLINE void CCU7_clrC70BCmpMatchFallIntSts(void)
Clear Compare-Match Falling Edge Flag for C70B.
Definition: ccu7.h:2015
INLINE uint8 CCU7_getT16CmpMatchIntSts(void)
Get T16 Compare-Match Flag.
Definition: ccu7.h:1992
INLINE void CCU7_setHallPatternExpectedShadow(uint8 u8_value)
Set Expected Hall Pattern Shadow.
Definition: ccu7.h:1361
INLINE void CCU7_disTrapCondInt(void)
Disable Interrupt for Trap Flag (Trap condition fulfilled)
Definition: ccu7.h:1837
INLINE uint8 CCU7_getCC70ACmpMatchFallIntSts(void)
Get Capture, Compare-Match Falling Edge Flag for CC70A.
Definition: ccu7.h:1452
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:1974
INLINE void CCU7_setC70BValShadow(uint16 u16_value)
Set Shadow Register for C70B Compare Value.
Definition: ccu7.h:863
INLINE void CCU7_enT16CmpMatchInt(void)
Enable Interrupt for T16 Compare-Match.
Definition: ccu7.h:2232
INLINE uint16 CCU7_getC71BVal(void)
Get C71B Compare Value.
Definition: ccu7.h:845
INLINE void CCU7_disT13SingleShot(void)
Disable T13 Single Shot Control.
Definition: ccu7.h:1131
INLINE uint8 CCU7_getT14CmpMatchIntSts(void)
Get T14 Compare-Match Flag.
Definition: ccu7.h:1956
INLINE void CCU7_clrC71BCmpMatchFallIntSts(void)
Clear Compare-Match Falling Edge Flag for C71B.
Definition: ccu7.h:2029
INLINE uint8 CCU7_getT13CmpMatchIntSts(void)
Get T13 Compare-Match Flag.
Definition: ccu7.h:1515
INLINE void CCU7_enT16SingleShot(void)
Enable T16 Single Shot Control.
Definition: ccu7.h:1166
INLINE uint8 CCU7_getMultiChModeShadowTransferReqIntSts(void)
Get Multi-Channel Mode Shadow Transfer Request Flag.
Definition: ccu7.h:1578
INLINE void CCU7_clrT16PerMatchIntSts(void)
Clear T16 Period-Match Flag.
Definition: ccu7.h:2085
INLINE void CCU7_disC72BCmpMatchRiseInt(void)
Disable Compare-Match Rising Edge Interrupt for C72B.
Definition: ccu7.h:2155
INLINE uint8 CCU7_getCh1DeadTimeFall_ticks(void)
Get Dead-Time for Channel 1 fall in ticks.
Definition: ccu7.h:605
INLINE uint8 CCU7_getT12OneMatchIntSts(void)
Get T12 One-Match Flag.
Definition: ccu7.h:1497
INLINE void CCU7_enT14CmpMatchInt(void)
Enable Interrupt for T14 Compare-Match.
Definition: ccu7.h:2176
INLINE uint8 CCU7_getCC72ACmpMatchFallIntSts(void)
Get Capture, Compare-Match Falling Edge Flag for CC72A.
Definition: ccu7.h:1488
INLINE uint8 CCU7_getHallEventWrongIntSts(void)
Get Wrong Hall Event Flag.
Definition: ccu7.h:1560
INLINE void CCU7_clrT14PerMatchIntSts(void)
Clear T14 Period-Match Flag.
Definition: ccu7.h:2057
INLINE void CCU7_clrHallEventCorrectIntSts(void)
Clear Correct Hall Event Flag.
Definition: ccu7.h:1662
INLINE uint16 CCU7_getCmpSts(void)
Get Compare State Bits for C70B, C71B, C72B, C74ST, C75ST, C76ST, CC70AST, CC71AST,...
Definition: ccu7.h:1092
INLINE void CCU7_disC70BCmpMatchRiseInt(void)
Disable Compare-Match Rising Edge Interrupt for C70B.
Definition: ccu7.h:2099
sint8 CCU7_init(void)
Initialize the CCU7 module.
Definition: ccu7.c:46
INLINE void CCU7_setT16PerVal(uint16 u16_value)
Set T16 Period Value.
Definition: ccu7.h:980
INLINE uint8 CCU7_getCC70ACmpMatchRiseIntSts(void)
Get Capture, Compare-Match Rising Edge Flag for CC70A.
Definition: ccu7.h:1443
INLINE void CCU7_enT13PerMatchInt(void)
Enable Interrupt for T13 Period-Match.
Definition: ccu7.h:1816
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:1606
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:1252
INLINE void CCU7_enLostBitEventInt(void)
Enable Interrupt for Lost Bit Event - LBEEN.
Definition: ccu7.h:1427
INLINE uint8 CCU7_getCC71ACmpMatchRiseIntSts(void)
Get Capture, Compare-Match Rising Edge Flag for CC71A.
Definition: ccu7.h:1461
INLINE void CCU7_enT13CmpMatchInt(void)
Enable Interrupt for T13 Compare-Match.
Definition: ccu7.h:1802
INLINE void CCU7_disT12OneMatchInt(void)
Disable Interrupt for T12 One-Match.
Definition: ccu7.h:1781
INLINE void CCU7_enHallIdleInt(void)
Enable Hall Idle Interrupt.
Definition: ccu7.h:1872
INLINE void CCU7_disCC70ACmpMatchFallInt(void)
Disable Capture, Compare-Match Falling Edge Interrupt for CC70A.
Definition: ccu7.h:1711
INLINE void CCU7_enT12OneMatchInt(void)
Enable Interrupt for T12 One-Match.
Definition: ccu7.h:1774
INLINE void CCU7_setT15ShadowTransferReq(void)
Set T15 Shadow Transfer Request.
Definition: ccu7.h:2281
INLINE uint16 CCU7_getCC70AVal(void)
Get CC70A Capture/Compare Value.
Definition: ccu7.h:782
CCU7_HallSync
This enum lists the CCU7 Hall Synch Configuration. Used in function CCU7_setHallSync.
Definition: ccu7.h:112
INLINE void CCU7_setCC71AValShadow(uint16 u16_value)
Set Shadow Register for CC71A Capture/Compare Value.
Definition: ccu7.h:818
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:1938
INLINE void CCU7_clrMultiChModeShadowTransferReqIntSts(void)
Clear Multi-Channel Mode STR Flag.
Definition: ccu7.h:1683
INLINE void CCU7_clrLostBitEventSts(void)
Clear Lost Bit Event Flag.
Definition: ccu7.h:1411
INLINE void CCU7_enTrapPin(void)
Enable Trap Pin.
Definition: ccu7.h:1315
INLINE void CCU7_enCC72ACmpMatchRiseInt(void)
Enable Capture, Compare-Match Rising Edge Interrupt for CC72A.
Definition: ccu7.h:1746
INLINE void CCU7_setCh2DeadTimeFall_ticks(uint8 u8_value)
Set Dead-Time for Channel 2 fall in ticks.
Definition: ccu7.h:632
INLINE void CCU7_enC71BCmpMatchFallInt(void)
Enable Compare-Match Falling Edge Interrupt for C71B.
Definition: ccu7.h:2134
INLINE void CCU7_setT13ShadowTransferReq(void)
Set T13 Shadow Transfer Request.
Definition: ccu7.h:2267
INLINE uint16 CCU7_getC75Val(void)
Get C75 Compare Value.
Definition: ccu7.h:1016
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:523
CCU7_MultiChMode_SWSYN
This enum lists the CCU7 Multi Channel Mode Switching Synchronization. Used in function CCU7_setMulti...
Definition: ccu7.h:144
INLINE void CCU7_clrCC71ACmpMatchRiseIntSts(void)
Clear Capture, Compare-Match Rising Edge Flag for CC71A.
Definition: ccu7.h:1599
INLINE void CCU7_disCC72ACmpMatchRiseInt(void)
Disable Capture, Compare-Match Rising Edge Interrupt for CC72A.
Definition: ccu7.h:1753
INLINE uint8 CCU7_getC71BCmpMatchRiseIntSts(void)
Get Compare-Match Rising Edge Flag for C71B.
Definition: ccu7.h:1920
INLINE void CCU7_setTrapModeAutomatic(void)
Set trap mode to Automatic (Automatic Mode: Bit TRPF is cleared by HW if the trap input condition is ...
Definition: ccu7.h:1329
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:156
INLINE void CCU7_disCC72ACmpMatchFallInt(void)
Disable Capture, Compare-Match Falling Edge Interrupt for CC72A.
Definition: ccu7.h:1767
INLINE void CCU7_enCC72ACmpMatchFallInt(void)
Enable Capture, Compare-Match Falling Edge Interrupt for CC72A.
Definition: ccu7.h:1760
INLINE void CCU7_disT13PerMatchInt(void)
Disable Interrupt for T13 Period-Match.
Definition: ccu7.h:1823
INLINE void CCU7_disCC70ACmpMatchRiseInt(void)
Disable Capture, Compare-Match Rising Edge Interrupt for CC70A.
Definition: ccu7.h:1697
INLINE uint8 CCU7_getMultiChModePWMPattern(void)
Get Multi-Channel PWM Pattern.
Definition: ccu7.h:1386
INLINE void CCU7_enTrap(void)
Enable Trap Control for all signals (CC70/1/2, COUT70/1/2)
Definition: ccu7.h:1282
INLINE void CCU7_setT13Modulation(uint8 u8_value)
Set T13 Modulation.
Definition: ccu7.h:1275
INLINE void CCU7_disT12SingleShot(void)
Disable T12 Single Shot Control.
Definition: ccu7.h:1117
INLINE void CCU7_disC71BCmpMatchRiseInt(void)
Disable Compare-Match Rising Edge Interrupt for C71B.
Definition: ccu7.h:2127
INLINE void CCU7_disMultiChModeShadowTransferReqInt(void)
Disable Multi-Channel Mode Shadow Transfer Interrupt.
Definition: ccu7.h:1893
INLINE void CCU7_setMultiChModePWMPatternShadow(uint8 u8_value)
Set Multi-Channel PWM Pattern Shadow.
Definition: ccu7.h:1345
INLINE uint16 CCU7_getCC72AVal(void)
Get CC72A Capture/Compare Value.
Definition: ccu7.h:800
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:725
#define CCU7_MODCTR_T13MODEN_Pos
Definition: ccu7.h:155
INLINE void CCU7_setT16ShadowTransferReq(void)
Set T16 Shadow Transfer Request.
Definition: ccu7.h:2288
INLINE void CCU7_setC73ValShadow(uint16 u16_value)
Set Shadow Register for C73 Compare Value.
Definition: ccu7.h:1034
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:1300
INLINE void CCU7_disHallIdleInt(void)
Disable Hall Idle Interrupt.
Definition: ccu7.h:1879
INLINE uint8 CCU7_getLostBitEventSts(void)
Get Lost Bit Event Flag.
Definition: ccu7.h:1420
#define CCU7_MODCTR_T12MODEN_Pos
Definition: ccu7.h:153
enum CCU7_HallSync tCCU7_HallSync
INLINE void CCU7_disT15CmpMatchInt(void)
Disable Interrupt for T15 Compare-Match.
Definition: ccu7.h:2211
INLINE void CCU7_enT16PerMatchInt(void)
Enable Interrupt for T16 Period-Match.
Definition: ccu7.h:2246
INLINE uint16 CCU7_getC76Val(void)
Get C76 Compare Value.
Definition: ccu7.h:1025
@ CCU7_MultiChMode_SWSEL_T12_OM
Definition: ccu7.h:133
@ CCU7_MultiChMode_SWSEL_Correct_Hall
Definition: ccu7.h:131
@ CCU7_MultiChMode_SWSEL_No_Action
Definition: ccu7.h:130
@ CCU7_MultiChMode_SWSEL_T12_Ch1_CM
Definition: ccu7.h:134
@ CCU7_MultiChMode_SWSEL_T12_PM
Definition: ccu7.h:135
@ CCU7_MultiChMode_SWSEL_T13_PM
Definition: ccu7.h:132
@ CCU7_HallSync_T13_CM
Definition: ccu7.h:114
@ CCU7_HallSync_T12_CM_Ch0_up
Definition: ccu7.h:119
@ CCU7_HallSync_T12_OM
Definition: ccu7.h:118
@ CCU7_HallSync_HW_Hall_Sampling_Off
Definition: ccu7.h:116
@ CCU7_HallSync_T13_PM
Definition: ccu7.h:115
@ CCU7_HallSync_T12_PM
Definition: ccu7.h:117
@ CCU7_HallSync_T12_CM_Ch0_down
Definition: ccu7.h:120
@ CCU7_HallSync_CCPOS0x_Any_Edge
Definition: ccu7.h:113
@ CCU7_MultiChMode_SWSYN_Direct
Definition: ccu7.h:145
@ CCU7_MultiChMode_SWSYN_T13_ZM
Definition: ccu7.h:146
@ CCU7_MultiChMode_SWSYN_T12_ZM
Definition: ccu7.h:147
#define CCU7
Definition: tle989x.h:24066
#define CCU7_CMPSTAT_CCPOS0_Msk
Definition: tle989x.h:24350
#define CCU7_CMPSTAT_CCPOS1_Msk
Definition: tle989x.h:24352
#define CCU7_CMPSTAT_CCPOS0_Pos
Definition: tle989x.h:24349
#define CCU7_CMPSTAT_CCPOS2_Msk
Definition: tle989x.h:24354
__attribute__((noreturn))
Definition: startup_tle989x.c:193
Device specific memory layout defines and features.
INLINE bool PtrRangeCheck(const void *ptr)
Definition: tle_variants.h:338
General type declarations.
#define ERR_LOG_CODE_PARAM_OUT_OF_RANGE
Parameter out of range.
Definition: types.h:197
#define INLINE
Definition: types.h:151
uint8_t uint8
8 bit unsigned value
Definition: types.h:204
int8_t sint8
8 bit signed value
Definition: types.h:209
uint16_t uint16
16 bit unsigned value
Definition: types.h:205
uint32_t uint32
32 bit unsigned value
Definition: types.h:206