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 ** V0.5.0: 2024-06-03, JO: EP-1388: Added functions for trap mode **
104 *******************************************************************************/
105 
106 #ifndef _CCU7_H
107 #define _CCU7_H
108 
109 /*******************************************************************************
110 ** Includes **
111 *******************************************************************************/
112 
113 #include "types.h"
114 #include "tle989x.h"
115 #include "tle_variants.h"
116 #include "ccu7_defines.h"
117 
118 /*******************************************************************************
119 ** Global Type Declarations **
120 *******************************************************************************/
121 
127 typedef enum CCU7_HallSync
128 {
138 
145 {
153 
160 {
165 
166 /*******************************************************************************
167 ** Global Macro Declarations **
168 *******************************************************************************/
169 #define CCU7_MODCTR_T12MODEN_Pos (0x0U)
170 #define CCU7_MODCTR_T12MODEN_Msk (0x3FU)
171 #define CCU7_MODCTR_T13MODEN_Pos (0x8U)
172 #define CCU7_MODCTR_T13MODEN_Msk (0x3F00U)
173 
174 /*******************************************************************************
175 ** Global Type Declarations **
176 *******************************************************************************/
177 
178 /*******************************************************************************
179 ** Global Function Declarations **
180 *******************************************************************************/
181 
182 sint8 CCU7_init(void);
183 sint8 CCU7_enModule(void);
184 sint8 CCU7_disModule(void);
186 INLINE void CCU7_setT12PerVal(uint16 u16_value);
202 INLINE sint8 CCU7_setDeadTime_ns(uint8 u8_channel, uint32 u32_deadTimeRise_ns, uint32 u32_deadTimeFall_ns) ;
203 INLINE sint8 CCU7_getDeadTime_ns(uint8 u8_channel, uint32 *u32p_DeadTimeRise_ns, uint32 *u32p_DeadTimeFall_ns) ;
207 INLINE void CCU7_setCC70AValShadow(uint16 u16_value);
208 INLINE void CCU7_setCC71AValShadow(uint16 u16_value);
209 INLINE void CCU7_setCC72AValShadow(uint16 u16_value);
213 INLINE void CCU7_setC70BValShadow(uint16 u16_value);
214 INLINE void CCU7_setC71BValShadow(uint16 u16_value);
215 INLINE void CCU7_setC72BValShadow(uint16 u16_value);
220 INLINE void CCU7_setT13PerVal(uint16 u16_value);
222 INLINE void CCU7_setT14PerVal(uint16 u16_value);
224 INLINE void CCU7_setT15PerVal(uint16 u16_value);
226 INLINE void CCU7_setT16PerVal(uint16 u16_value);
232 INLINE void CCU7_setC73ValShadow(uint16 u16_value);
233 INLINE void CCU7_setC74ValShadow(uint16 u16_value);
234 INLINE void CCU7_setC75ValShadow(uint16 u16_value);
235 INLINE void CCU7_setC76ValShadow(uint16 u16_value);
239 INLINE void CCU7_enT12SingleShot(void);
240 INLINE void CCU7_disT12SingleShot(void);
241 INLINE void CCU7_enT13SingleShot(void);
242 INLINE void CCU7_disT13SingleShot(void);
243 INLINE void CCU7_enT14SingleShot(void);
244 INLINE void CCU7_disT14SingleShot(void);
245 INLINE void CCU7_enT15SingleShot(void);
246 INLINE void CCU7_disT15SingleShot(void);
247 INLINE void CCU7_enT16SingleShot(void);
248 INLINE void CCU7_disT16SingleShot(void);
249 INLINE void CCU7_stopT12(void);
250 INLINE void CCU7_startT12(void);
251 INLINE void CCU7_stopT13(void);
252 INLINE void CCU7_startT13(void);
253 INLINE void CCU7_stopT14(void);
254 INLINE void CCU7_startT14(void);
255 INLINE void CCU7_stopT15(void);
256 INLINE void CCU7_startT15(void);
257 INLINE void CCU7_stopT16(void);
258 INLINE void CCU7_startT16(void);
259 INLINE void CCU7_setT12Modulation(uint8 u8_value);
260 INLINE void CCU7_enMultiChMode(void);
261 INLINE void CCU7_disMultiChMode(void);
262 INLINE void CCU7_setT13Modulation(uint8 u8_value);
263 INLINE void CCU7_enTrap(void);
264 INLINE void CCU7_disTrap(void);
266 INLINE void CCU7_enTrapPin(void);
267 INLINE void CCU7_disTrapPin(void);
269 INLINE void CCU7_setTrapModeManual(void);
280 INLINE void CCU7_enLostBitEventInt(void);
308 INLINE void CCU7_clrTrapIntSts(void);
311 INLINE void CCU7_clrHallIdleIntSts(void);
325 INLINE void CCU7_enT12OneMatchInt(void);
326 INLINE void CCU7_disT12OneMatchInt(void);
327 INLINE void CCU7_enT12PerMatchInt(void);
328 INLINE void CCU7_disT12PerMatchInt(void);
329 INLINE void CCU7_enT13CmpMatchInt(void);
330 INLINE void CCU7_disT13CmpMatchInt(void);
331 INLINE void CCU7_enT13PerMatchInt(void);
332 INLINE void CCU7_disT13PerMatchInt(void);
333 INLINE void CCU7_enTrapCondInt(void);
334 INLINE void CCU7_disTrapCondInt(void);
339 INLINE void CCU7_enHallIdleInt(void);
340 INLINE void CCU7_disHallIdleInt(void);
379 INLINE void CCU7_enT14CmpMatchInt(void);
380 INLINE void CCU7_disT14CmpMatchInt(void);
381 INLINE void CCU7_enT14PerMatchInt(void);
382 INLINE void CCU7_disT14PerMatchInt(void);
383 INLINE void CCU7_enT15CmpMatchInt(void);
384 INLINE void CCU7_disT15CmpMatchInt(void);
385 INLINE void CCU7_enT15PerMatchInt(void);
386 INLINE void CCU7_disT15PerMatchInt(void);
387 INLINE void CCU7_enT16CmpMatchInt(void);
388 INLINE void CCU7_disT16CmpMatchInt(void);
389 INLINE void CCU7_enT16PerMatchInt(void);
390 INLINE void CCU7_disT16PerMatchInt(void);
396 
397 /*******************************************************************************
398 ** Deprecated Function Declarations **
399 *******************************************************************************/
403 void CCU7_setCC70AIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
404 
408 void CCU7_setCC71AIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
409 
413 void CCU7_setCC72AIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
414 
418 void CCU7_setCHEIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
419 
423 void CCU7_setErrorIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
424 
428 void CCU7_setT12IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
429 
433 void CCU7_setT13IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
434 
438 void CCU7_setC70BIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
439 
443 void CCU7_setC71BIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
444 
448 void CCU7_setC72BIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
449 
453 void CCU7_setT14IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
454 
458 void CCU7_setT15IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
459 
463 void CCU7_setT16IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
464 
465 
466 /*******************************************************************************
467 ** Global Inline Function Definitions **
468 *******************************************************************************/
474 {
475  return (uint16)CCU7->T12.bit.T12CV;
476 }
477 
483 {
484  CCU7->T12PR.bit.T12PV = u16_value;
485 }
486 
492 {
493  return (uint16)CCU7->T12PR.bit.T12PV;
494 }
495 
507 {
508  sint8 s8_returnCode;
509  uint32 u32_period_tick;
510  s8_returnCode = ERR_LOG_SUCCESS;
511  u32_period_tick = (uint32)(CCU7_T12_CLK_HZ / u32_freq_hz);
512 
513  if (CCU7->TCTR0.bit.CTM == 1)
514  {
515  /* Center aligned mode --> /2 */
516  u32_period_tick = u32_period_tick / 2u;
517  }
518 
519  u32_period_tick = u32_period_tick - 1u;
520 
521  if (u32_period_tick <= 0xFFFFu)
522  {
523  CCU7_setT12PerVal((uint16)u32_period_tick);
524  }
525  else
526  {
527  s8_returnCode = ERR_LOG_CODE_PARAM_OUT_OF_RANGE;
528  }
529 
530  return s8_returnCode;
531 }
532 
540 {
541  uint32 u32_period_Hz;
542  uint32 u32_period_tick = (uint32)((uint32)CCU7_getT12PerVal() + 1u);
543 
544  if (CCU7->TCTR0.bit.CTM == 1u)
545  {
546  /* Center aligned mode --> *2 */
547  u32_period_tick = u32_period_tick * 2u;
548  }
549 
550  u32_period_Hz = (uint32)(CCU7_T12_CLK_HZ / u32_period_tick);
551  return u32_period_Hz;
552 }
553 
559 {
560  CCU7->T12DT0_VAL.bit.DTM_RISE = u8_value;
561 }
562 
568 {
569  return (uint8)CCU7->T12DT0_VAL.bit.DTM_RISE;
570 }
571 
577 {
578  CCU7->T12DT0_VAL.bit.DTM_FALL = u8_value;
579 }
580 
586 {
587  return (uint8)CCU7->T12DT0_VAL.bit.DTM_FALL;
588 }
589 
595 {
596  CCU7->T12DT1_VAL.bit.DTM_RISE = u8_value;
597 }
598 
604 {
605  return (uint8)CCU7->T12DT1_VAL.bit.DTM_RISE;
606 }
607 
613 {
614  CCU7->T12DT1_VAL.bit.DTM_FALL = u8_value;
615 }
616 
622 {
623  return (uint8)CCU7->T12DT1_VAL.bit.DTM_FALL;
624 }
625 
631 {
632  CCU7->T12DT2_VAL.bit.DTM_RISE = u8_value;
633 }
634 
640 {
641  return (uint8)CCU7->T12DT2_VAL.bit.DTM_RISE;
642 }
643 
649 {
650  CCU7->T12DT2_VAL.bit.DTM_FALL = u8_value;
651 }
652 
658 {
659  return (uint8)CCU7->T12DT2_VAL.bit.DTM_FALL;
660 }
661 
678 INLINE sint8 CCU7_setDeadTime_ns(uint8 u8_channel, uint32 u32_deadTimeRise_ns, uint32 u32_deadTimeFall_ns)
679 {
680  sint8 s8_returnCode;
681  /* Local variables for dead time ticks */
682  uint32 deadTimeRise_ticks;
683  uint32 deadTimeFall_ticks;
684  s8_returnCode = ERR_LOG_SUCCESS;
685  /* Conversion of dead time [us] into dead time [ticks], division by 1000 to achieve correct unit */
686  deadTimeRise_ticks = (uint32)((u32_deadTimeRise_ns * CCU7_DT_CLK_MHz) / 1000);
687  deadTimeFall_ticks = (uint32)((u32_deadTimeFall_ns * CCU7_DT_CLK_MHz) / 1000);
688 
689  if ((deadTimeRise_ticks <= 255u) && (deadTimeFall_ticks <= 255u))
690  {
691  switch (u8_channel)
692  {
693  case 0:
694  {
695  CCU7_setCh0DeadTimeRise_ticks((uint8)deadTimeRise_ticks);
696  CCU7_setCh0DeadTimeFall_ticks((uint8)deadTimeFall_ticks);
697  break;
698  }
699 
700  case 1:
701  {
702  CCU7_setCh1DeadTimeRise_ticks((uint8)deadTimeRise_ticks);
703  CCU7_setCh1DeadTimeFall_ticks((uint8)deadTimeFall_ticks);
704  break;
705  }
706 
707  case 2:
708  {
709  CCU7_setCh2DeadTimeRise_ticks((uint8)deadTimeRise_ticks);
710  CCU7_setCh2DeadTimeFall_ticks((uint8)deadTimeFall_ticks);
711  break;
712  }
713 
714  default:
715  {
716  s8_returnCode = ERR_LOG_CODE_PARAM_OUT_OF_RANGE;
717  break;
718  }
719  }
720  }
721  else
722  {
723  s8_returnCode = ERR_LOG_CODE_PARAM_OUT_OF_RANGE;
724  }
725 
726  return s8_returnCode;
727 }
728 
741 INLINE sint8 CCU7_getDeadTime_ns(uint8 u8_channel, uint32 *u32p_DeadTimeRise_ns, uint32 *u32p_DeadTimeFall_ns)
742 {
743  sint8 s8_returnCode;
744  /* Local variables for dead time ticks */
745  uint32 deadTimeRise_ticks = 0;
746  uint32 deadTimeFall_ticks = 0;
747  s8_returnCode = ERR_LOG_SUCCESS;
748 
749  if ((PtrRangeCheck(u32p_DeadTimeRise_ns) == true) && (PtrRangeCheck(u32p_DeadTimeFall_ns) == true))
750  {
751  switch (u8_channel)
752  {
753  case 0:
754  {
755  deadTimeRise_ticks = CCU7_getCh0DeadTimeRise_ticks();
756  deadTimeFall_ticks = CCU7_getCh0DeadTimeFall_ticks();
757  break;
758  }
759 
760  case 1:
761  {
762  deadTimeRise_ticks = CCU7_getCh1DeadTimeRise_ticks();
763  deadTimeFall_ticks = CCU7_getCh1DeadTimeFall_ticks();
764  break;
765  }
766 
767  case 2:
768  {
769  deadTimeRise_ticks = CCU7_getCh2DeadTimeRise_ticks();
770  deadTimeFall_ticks = CCU7_getCh2DeadTimeFall_ticks();
771  break;
772  }
773 
774  default:
775  {
776  s8_returnCode = ERR_LOG_CODE_PARAM_OUT_OF_RANGE;
777  }
778  }
779 
780  if (s8_returnCode == ERR_LOG_SUCCESS)
781  {
782  *u32p_DeadTimeRise_ns = (uint32)((deadTimeRise_ticks * 1000) / CCU7_DT_CLK_MHz);
783  *u32p_DeadTimeFall_ns = (uint32)((deadTimeFall_ticks * 1000) / CCU7_DT_CLK_MHz);
784  }
785  }
786  else
787  {
788  s8_returnCode = ERR_LOG_CODE_PARAM_OUT_OF_RANGE;
789  }
790 
791  return s8_returnCode;
792 }
793 
799 {
800  return (uint16)CCU7->CC70R.bit.CCV;
801 }
802 
808 {
809  return (uint16)CCU7->CC71R.bit.CCV;
810 }
811 
817 {
818  return (uint16)CCU7->CC72R.bit.CCV;
819 }
820 
826 {
827  CCU7->CC70SR.bit.CCS = u16_value;
828 }
829 
835 {
836  CCU7->CC71SR.bit.CCS = u16_value;
837 }
838 
844 {
845  CCU7->CC72SR.bit.CCS = u16_value;
846 }
847 
853 {
854  return (uint16)CCU7->CC70BR.bit.CV;
855 }
856 
862 {
863  return (uint16)CCU7->CC71BR.bit.CV;
864 }
865 
871 {
872  return (uint16)CCU7->CC72BR.bit.CV;
873 }
874 
880 {
881  CCU7->CC70BSR.bit.CS = u16_value;
882 }
883 
889 {
890  CCU7->CC71BSR.bit.CS = u16_value;
891 }
892 
898 {
899  CCU7->CC72BSR.bit.CS = u16_value;
900 }
901 
907 {
908  return (uint16)CCU7->T13R.bit.T1xCV;
909 }
910 
916 {
917  return (uint16)CCU7->T14R.bit.T1xCV;
918 }
919 
925 {
926  return (uint16)CCU7->T15R.bit.T1xCV;
927 }
928 
934 {
935  return (uint16)CCU7->T16R.bit.T1xCV;
936 }
937 
943 {
944  CCU7->T13PR.bit.T1xPV = u16_value;
945 }
946 
952 {
953  return (uint16)CCU7->T13PR.bit.T1xPV;
954 }
955 
961 {
962  CCU7->T14PR.bit.T1xPV = u16_value;
963 }
964 
970 {
971  return (uint16)CCU7->T14PR.bit.T1xPV;
972 }
973 
979 {
980  CCU7->T15PR.bit.T1xPV = u16_value;
981 }
982 
988 {
989  return (uint16)CCU7->T15PR.bit.T1xPV;
990 }
991 
997 {
998  CCU7->T16PR.bit.T1xPV = u16_value;
999 }
1000 
1006 {
1007  return (uint16)CCU7->T16PR.bit.T1xPV;
1008 }
1009 
1015 {
1016  return (uint16)CCU7->C73R.bit.CCV;
1017 }
1018 
1024 {
1025  return (uint16)CCU7->C74R.bit.CCV;
1026 }
1027 
1033 {
1034  return (uint16)CCU7->C75R.bit.CCV;
1035 }
1036 
1042 {
1043  return (uint16)CCU7->C76R.bit.CCV;
1044 }
1045 
1051 {
1052  CCU7->C73SR.bit.CCS = u16_value;
1053 }
1054 
1060 {
1061  CCU7->C74SR.bit.CCS = u16_value;
1062 }
1063 
1069 {
1070  CCU7->C75SR.bit.CCS = u16_value;
1071 }
1072 
1078 {
1079  CCU7->C76SR.bit.CCS = u16_value;
1080 }
1081 
1090 {
1092 }
1093 
1109 {
1110  /* CCU7->CMPSTAT_2 contains C70B, C71B, C72B, C74ST, C75ST, C76ST, CC70ST, CC71ST, and CC72ST */
1111  /* Shift CCU7->CMPSTAT.bit.CC73ST to bit position 11 (unused in CCU7->CMPSTAT_2) */
1112  return (uint16)((uint16)CCU7->CMPSTAT_2.reg | ((uint16)CCU7->CMPSTAT.bit.CC73ST << 11u));
1113 }
1114 
1120 {
1121  CCU7->T12MSEL.bit.HSYNC = (uint8)e_value;
1122 }
1123 
1127 {
1128  CCU7->TCTR2.bit.T12SSC = 1u;
1129 }
1130 
1134 {
1135  CCU7->TCTR2.bit.T12SSC = 0u;
1136 }
1137 
1141 {
1142  CCU7->TCTR2.bit.T13SSC = 1u;
1143 }
1144 
1148 {
1149  CCU7->TCTR2.bit.T13SSC = 0u;
1150 }
1151 
1155 {
1156  CCU7->TCTR24.bit.T1xSSC = 1u;
1157 }
1158 
1162 {
1163  CCU7->TCTR24.bit.T1xSSC = 0u;
1164 }
1165 
1169 {
1170  CCU7->TCTR25.bit.T1xSSC = 1u;
1171 }
1172 
1176 {
1177  CCU7->TCTR25.bit.T1xSSC = 0u;
1178 }
1179 
1183 {
1184  CCU7->TCTR26.bit.T1xSSC = 1u;
1185 }
1186 
1190 {
1191  CCU7->TCTR26.bit.T1xSSC = 0u;
1192 }
1193 
1197 {
1198  CCU7->TCTR4.bit.T12RR = 1u;
1199 }
1200 
1204 {
1205  CCU7->TCTR4.bit.T12RS = 1u;
1206 }
1207 
1211 {
1212  CCU7->TCTR4.bit.T13RR = 1u;
1213 }
1214 
1218 {
1219  CCU7->TCTR4.bit.T13RS = 1u;
1220 }
1221 
1225 {
1226  CCU7->TCTR44.bit.T1xRR = 1u;
1227 }
1228 
1232 {
1233  CCU7->TCTR44.bit.T1xRS = 1u;
1234 }
1235 
1239 {
1240  CCU7->TCTR45.bit.T1xRR = 1u;
1241 }
1242 
1246 {
1247  CCU7->TCTR45.bit.T1xRS = 1u;
1248 }
1249 
1253 {
1254  CCU7->TCTR46.bit.T1xRR = 1u;
1255 }
1256 
1260 {
1261  CCU7->TCTR46.bit.T1xRS = 1u;
1262 }
1263 
1269 {
1270  CCU7->MODCTR.reg = (CCU7->MODCTR.reg & (~CCU7_MODCTR_T12MODEN_Msk)) | ((uint32)u8_value << CCU7_MODCTR_T12MODEN_Pos);
1271 }
1272 
1276 {
1277  CCU7->MODCTR.bit.MCMEN = 1u;
1278 }
1279 
1283 {
1284  CCU7->MODCTR.bit.MCMEN = 0u;
1285 }
1286 
1292 {
1293  CCU7->MODCTR.reg = (CCU7->MODCTR.reg & (~CCU7_MODCTR_T13MODEN_Msk)) | ((uint32)u8_value << CCU7_MODCTR_T13MODEN_Pos);
1294 }
1295 
1299 {
1300  CCU7->TRPCTR.bit.TRPEN = (uint8)0x3F;
1301 }
1302 
1306 {
1307  CCU7->TRPCTR.bit.TRPEN = 0u;
1308 }
1309 
1317 {
1318  uint8 u8_trpen = 0u;
1319 
1320  if ((uint8)CCU7->TRPCTR.bit.TRPEN == 0x3Fu)
1321  {
1322  /* all bits set */
1323  u8_trpen = 1u;
1324  }
1325 
1326  return u8_trpen;
1327 }
1328 
1332 {
1333  CCU7->TRPCTR.bit.TRPPEN = 1u;
1334 }
1335 
1339 {
1340  CCU7->TRPCTR.bit.TRPPEN = 0u;
1341 }
1342 
1346 {
1347  CCU7->TRPCTR.bit.TRPM2 = 0u;
1348 }
1349 
1353 {
1354  CCU7->TRPCTR.bit.TRPM2 = 1u;
1355 }
1356 
1362 {
1363  CCU7->MCMOUTS.bit.MCMPS = u8_value;
1364 }
1365 
1369 {
1370  CCU7->MCMOUTS.bit.STRMCM = 1u;
1371 }
1372 
1378 {
1379  CCU7->MCMOUTS.bit.EXPHS = u8_value;
1380 }
1381 
1387 {
1388  CCU7->MCMOUTS.bit.CURHS = u8_value;
1389 }
1390 
1394 {
1395  CCU7->MCMOUTS.bit.STRHP = 1u;
1396 }
1397 
1403 {
1404  return (uint8)CCU7->MCMOUT.bit.MCMP;
1405 }
1406 
1412 {
1413  CCU7->MCMCTR.bit.SWSEL = (uint8)e_value;
1414 }
1415 
1421 {
1422  CCU7->MCMCTR.bit.SWSYN = (uint8)e_value;
1423 }
1424 
1428 {
1429  CCU7->IMON.bit.LBE = 1u;
1430 }
1431 
1437 {
1438  return (uint8)CCU7->IMON.bit.LBE;
1439 }
1440 
1444 {
1445  CCU7->LI.bit.LBEEN = 1u;
1446 }
1447 
1451 {
1452  CCU7->LI.bit.LBEEN = 0u;
1453 }
1454 
1460 {
1461  return (uint8)CCU7->IS.bit.ICC70R;
1462 }
1463 
1469 {
1470  return (uint8)CCU7->IS.bit.ICC70F;
1471 }
1472 
1478 {
1479  return (uint8)CCU7->IS.bit.ICC71R;
1480 }
1481 
1487 {
1488  return (uint8)CCU7->IS.bit.ICC71F;
1489 }
1490 
1496 {
1497  return (uint8)CCU7->IS.bit.ICC72R;
1498 }
1499 
1505 {
1506  return (uint8)CCU7->IS.bit.ICC72F;
1507 }
1508 
1514 {
1515  return (uint8)CCU7->IS.bit.T12OM;
1516 }
1517 
1523 {
1524  return (uint8)CCU7->IS.bit.T12PM;
1525 }
1526 
1532 {
1533  return (uint8)CCU7->IS.bit.T13CM;
1534 }
1535 
1541 {
1542  return (uint8)CCU7->IS.bit.T13PM;
1543 }
1544 
1550 {
1551  return (uint8)CCU7->IS.bit.TRPF;
1552 }
1553 
1559 {
1560  return (uint8)CCU7->IS.bit.TRPS;
1561 }
1562 
1568 {
1569  return (uint8)CCU7->IS.bit.CHE;
1570 }
1571 
1577 {
1578  return (uint8)CCU7->IS.bit.WHE;
1579 }
1580 
1586 {
1587  return (uint8)CCU7->IS.bit.IDLE;
1588 }
1589 
1595 {
1596  return (uint8)CCU7->IS.bit.STR;
1597 }
1598 
1602 {
1603  CCU7->ISR.bit.RCC70R = 1u;
1604 }
1605 
1609 {
1610  CCU7->ISR.bit.RCC70F = 1u;
1611 }
1612 
1616 {
1617  CCU7->ISR.bit.RCC71R = 1u;
1618 }
1619 
1623 {
1624  CCU7->ISR.bit.RCC71F = 1u;
1625 }
1626 
1630 {
1631  CCU7->ISR.bit.RCC72R = 1u;
1632 }
1633 
1637 {
1638  CCU7->ISR.bit.RCC72F = 1u;
1639 }
1640 
1644 {
1645  CCU7->ISR.bit.RT12OM = 1u;
1646 }
1647 
1651 {
1652  CCU7->ISR.bit.RT12PM = 1u;
1653 }
1654 
1658 {
1659  CCU7->ISR.bit.RT13CM = 1u;
1660 }
1661 
1665 {
1666  CCU7->ISR.bit.RT13PM = 1u;
1667 }
1668 
1672 {
1673  CCU7->ISR.bit.RTRPF = 1u;
1674 }
1675 
1679 {
1680  CCU7->ISR.bit.RCHE = 1u;
1681 }
1682 
1686 {
1687  CCU7->ISR.bit.RWHE = 1u;
1688 }
1689 
1693 {
1694  CCU7->ISR.bit.RIDLE = 1u;
1695 }
1696 
1700 {
1701  CCU7->ISR.bit.RSTR = 1u;
1702 }
1703 
1707 {
1708  CCU7->IEN.bit.ENCC70R = 1u;
1709 }
1710 
1714 {
1715  CCU7->IEN.bit.ENCC70R = 0u;
1716 }
1717 
1721 {
1722  CCU7->IEN.bit.ENCC70F = 1u;
1723 }
1724 
1728 {
1729  CCU7->IEN.bit.ENCC70F = 0u;
1730 }
1731 
1735 {
1736  CCU7->IEN.bit.ENCC71R = 1u;
1737 }
1738 
1742 {
1743  CCU7->IEN.bit.ENCC71R = 0u;
1744 }
1745 
1749 {
1750  CCU7->IEN.bit.ENCC71F = 1u;
1751 }
1752 
1756 {
1757  CCU7->IEN.bit.ENCC71F = 0u;
1758 }
1759 
1763 {
1764  CCU7->IEN.bit.ENCC72R = 1u;
1765 }
1766 
1770 {
1771  CCU7->IEN.bit.ENCC72R = 0u;
1772 }
1773 
1777 {
1778  CCU7->IEN.bit.ENCC72F = 1u;
1779 }
1780 
1784 {
1785  CCU7->IEN.bit.ENCC72F = 0u;
1786 }
1787 
1791 {
1792  CCU7->IEN.bit.ENT12OM = 1u;
1793 }
1794 
1798 {
1799  CCU7->IEN.bit.ENT12OM = 0u;
1800 }
1801 
1805 {
1806  CCU7->IEN.bit.ENT12PM = 1u;
1807 }
1808 
1812 {
1813  CCU7->IEN.bit.ENT12PM = 0u;
1814 }
1815 
1819 {
1820  CCU7->IEN.bit.ENT13CM = 1u;
1821 }
1822 
1826 {
1827  CCU7->IEN.bit.ENT13CM = 0u;
1828 }
1829 
1833 {
1834  CCU7->IEN.bit.ENT13PM = 1u;
1835 }
1836 
1840 {
1841  CCU7->IEN.bit.ENT13PM = 0u;
1842 }
1843 
1847 {
1848  CCU7->IEN.bit.ENTRPF = 1u;
1849 }
1850 
1854 {
1855  CCU7->IEN.bit.ENTRPF = 0u;
1856 }
1857 
1861 {
1862  CCU7->IEN.bit.ENCHE = 1u;
1863 }
1864 
1868 {
1869  CCU7->IEN.bit.ENCHE = 0u;
1870 }
1871 
1875 {
1876  CCU7->IEN.bit.ENWHE = 1u;
1877 }
1878 
1882 {
1883  CCU7->IEN.bit.ENWHE = 0u;
1884 }
1885 
1889 {
1890  CCU7->IEN.bit.ENIDLE = 1u;
1891 }
1892 
1896 {
1897  CCU7->IEN.bit.ENIDLE = 0u;
1898 }
1899 
1903 {
1904  CCU7->IEN.bit.ENSTR = 1u;
1905 }
1906 
1910 {
1911  CCU7->IEN.bit.ENSTR = 0u;
1912 }
1913 
1919 {
1920  return (uint8)CCU7->IS_2.bit.ICC70BR;
1921 }
1922 
1928 {
1929  return (uint8)CCU7->IS_2.bit.ICC70BF;
1930 }
1931 
1937 {
1938  return (uint8)CCU7->IS_2.bit.ICC71BR;
1939 }
1940 
1946 {
1947  return (uint8)CCU7->IS_2.bit.ICC71BF;
1948 }
1949 
1955 {
1956  return (uint8)CCU7->IS_2.bit.ICC72BR;
1957 }
1958 
1964 {
1965  return (uint8)CCU7->IS_2.bit.ICC72BF;
1966 }
1967 
1973 {
1974  return (uint8)CCU7->IS_2.bit.T14CM;
1975 }
1976 
1982 {
1983  return (uint8)CCU7->IS_2.bit.T14PM;
1984 }
1985 
1991 {
1992  return (uint8)CCU7->IS_2.bit.T15CM;
1993 }
1994 
2000 {
2001  return (uint8)CCU7->IS_2.bit.T15PM;
2002 }
2003 
2009 {
2010  return (uint8)CCU7->IS_2.bit.T16CM;
2011 }
2012 
2018 {
2019  return (uint8)CCU7->IS_2.bit.T16PM;
2020 }
2021 
2025 {
2026  CCU7->ISR_2.bit.RCC70BR = 1u;
2027 }
2028 
2032 {
2033  CCU7->ISR_2.bit.RCC70BF = 1u;
2034 }
2035 
2039 {
2040  CCU7->ISR_2.bit.RCC71BR = 1u;
2041 }
2042 
2046 {
2047  CCU7->ISR_2.bit.RCC71BF = 1u;
2048 }
2049 
2053 {
2054  CCU7->ISR_2.bit.RCC72BR = 1u;
2055 }
2056 
2060 {
2061  CCU7->ISR_2.bit.RCC72BF = 1u;
2062 }
2063 
2067 {
2068  CCU7->ISR_2.bit.RT14CM = 1u;
2069 }
2070 
2074 {
2075  CCU7->ISR_2.bit.RT14PM = 1u;
2076 }
2077 
2081 {
2082  CCU7->ISR_2.bit.RT15CM = 1u;
2083 }
2084 
2088 {
2089  CCU7->ISR_2.bit.RT15PM = 1u;
2090 }
2091 
2095 {
2096  CCU7->ISR_2.bit.RT16CM = 1u;
2097 }
2098 
2102 {
2103  CCU7->ISR_2.bit.RT16PM = 1u;
2104 }
2105 
2109 {
2110  CCU7->IEN_2.bit.ENCC70BR = 1u;
2111 }
2112 
2116 {
2117  CCU7->IEN_2.bit.ENCC70BR = 0u;
2118 }
2119 
2123 {
2124  CCU7->IEN_2.bit.ENCC70BF = 1u;
2125 }
2126 
2130 {
2131  CCU7->IEN_2.bit.ENCC70BF = 0u;
2132 }
2133 
2137 {
2138  CCU7->IEN_2.bit.ENCC71BR = 1u;
2139 }
2140 
2144 {
2145  CCU7->IEN_2.bit.ENCC71BR = 0u;
2146 }
2147 
2151 {
2152  CCU7->IEN_2.bit.ENCC71BF = 1u;
2153 }
2154 
2158 {
2159  CCU7->IEN_2.bit.ENCC71BF = 0u;
2160 }
2161 
2165 {
2166  CCU7->IEN_2.bit.ENCC72BR = 1u;
2167 }
2168 
2172 {
2173  CCU7->IEN_2.bit.ENCC72BR = 0u;
2174 }
2175 
2179 {
2180  CCU7->IEN_2.bit.ENCC72BF = 1u;
2181 }
2182 
2186 {
2187  CCU7->IEN_2.bit.ENCC72BF = 0u;
2188 }
2189 
2193 {
2194  CCU7->IEN_2.bit.ENT14CM = 1u;
2195 }
2196 
2200 {
2201  CCU7->IEN_2.bit.ENT14CM = 0u;
2202 }
2203 
2207 {
2208  CCU7->IEN_2.bit.ENT14PM = 1u;
2209 }
2210 
2214 {
2215  CCU7->IEN_2.bit.ENT14PM = 0u;
2216 }
2217 
2221 {
2222  CCU7->IEN_2.bit.ENT15CM = 1u;
2223 }
2224 
2228 {
2229  CCU7->IEN_2.bit.ENT15CM = 0u;
2230 }
2231 
2235 {
2236  CCU7->IEN_2.bit.ENT15PM = 1u;
2237 }
2238 
2242 {
2243  CCU7->IEN_2.bit.ENT15PM = 0u;
2244 }
2245 
2249 {
2250  CCU7->IEN_2.bit.ENT16CM = 1u;
2251 }
2252 
2256 {
2257  CCU7->IEN_2.bit.ENT16CM = 0u;
2258 }
2259 
2263 {
2264  CCU7->IEN_2.bit.ENT16PM = 1u;
2265 }
2266 
2270 {
2271  CCU7->IEN_2.bit.ENT16PM = 0u;
2272 }
2273 
2277 {
2278  CCU7->TCTR3.bit.T12STR = 1u;
2279 }
2280 
2284 {
2285  CCU7->TCTR3.bit.T13STR = 1u;
2286 }
2287 
2291 {
2292  CCU7->TCTR3.bit.T14STR = 1u;
2293 }
2294 
2298 {
2299  CCU7->TCTR3.bit.T15STR = 1u;
2300 }
2301 
2305 {
2306  CCU7->TCTR3.bit.T16STR = 1u;
2307 }
2308 
2311 #endif /* _CCU7_H */
2312 
#define ERR_LOG_SUCCESS
Definition: error_codes.h:69
INLINE void CCU7_startT12(void)
Start T12.
Definition: ccu7.h:1203
INLINE uint16 CCU7_getT14PerVal(void)
Get T14 Period Value.
Definition: ccu7.h:969
INLINE void CCU7_enT12SingleShot(void)
Enable T12 Single Shot Control.
Definition: ccu7.h:1126
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:506
INLINE void CCU7_disC72BCmpMatchFallInt(void)
Disable Compare-Match Falling Edge Interrupt for C72B.
Definition: ccu7.h:2185
INLINE void CCU7_setC74ValShadow(uint16 u16_value)
Set Shadow Register for C74 Compare Value.
Definition: ccu7.h:1059
INLINE void CCU7_disCC71ACmpMatchFallInt(void)
Disable Capture, Compare-Match Falling Edge Interrupt for CC71A.
Definition: ccu7.h:1755
INLINE uint8 CCU7_getTrapIntSts(void)
Get Trap State (Synchronized to the event selected by CCU7-TRPCTR.bit.TRPM0 and CCU7-TRPCTR....
Definition: ccu7.h:1558
INLINE void CCU7_setT12ShadowTransferReq(void)
Set T12 Shadow Transfer Request.
Definition: ccu7.h:2276
INLINE void CCU7_disC70BCmpMatchFallInt(void)
Disable Compare-Match Falling Edge Interrupt for C70B.
Definition: ccu7.h:2129
INLINE void CCU7_enMultiChMode(void)
Enable Multi-Channel Mode.
Definition: ccu7.h:1275
INLINE uint8 CCU7_getT12PerMatchIntSts(void)
Get T12 Period-Match Flag.
Definition: ccu7.h:1522
INLINE void CCU7_disT15SingleShot(void)
Disable T15 Single Shot Control.
Definition: ccu7.h:1175
INLINE void CCU7_disT16CmpMatchInt(void)
Disable Interrupt for T16 Compare-Match.
Definition: ccu7.h:2255
INLINE void CCU7_setC75ValShadow(uint16 u16_value)
Set Shadow Register for C75 Compare Value.
Definition: ccu7.h:1068
INLINE void CCU7_enT14PerMatchInt(void)
Enable Interrupt for T14 Period-Match.
Definition: ccu7.h:2206
INLINE uint16 CCU7_getT15PerVal(void)
Get T15 Period Value.
Definition: ccu7.h:987
INLINE void CCU7_disT14SingleShot(void)
Disable T14 Single Shot Control.
Definition: ccu7.h:1161
INLINE void CCU7_disCC71ACmpMatchRiseInt(void)
Disable Capture, Compare-Match Rising Edge Interrupt for CC71A.
Definition: ccu7.h:1741
INLINE void CCU7_clrTrapIntSts(void)
Clear Trap Flag.
Definition: ccu7.h:1671
INLINE uint16 CCU7_getC70BVal(void)
Get C70B Compare Value.
Definition: ccu7.h:852
INLINE void CCU7_disTrap(void)
Disable Trap Control.
Definition: ccu7.h:1305
INLINE void CCU7_setCh2DeadTimeRise_ticks(uint8 u8_value)
Set Dead-Time for Channel 2 rise in ticks.
Definition: ccu7.h:630
INLINE void CCU7_clrT12PerMatchIntSts(void)
Clear T12 Period-Match Flag.
Definition: ccu7.h:1650
INLINE void CCU7_setHallSync(tCCU7_HallSync e_value)
Set Hall Synchronization.
Definition: ccu7.h:1119
INLINE void CCU7_setMultiChModeShadowTransferReq(void)
Set Shadow Transfer Request for Multi-Channel Mode.
Definition: ccu7.h:1368
INLINE void CCU7_enC71BCmpMatchRiseInt(void)
Enable Compare-Match Rising Edge Interrupt for C71B.
Definition: ccu7.h:2136
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:1282
INLINE uint8 CCU7_getT14PerMatchIntSts(void)
Get T14 Period-Match Flag.
Definition: ccu7.h:1981
CCU7_MultiChMode_SWSEL
This enum lists the CCU7 Multi Channel Mode Switching Selection. Used in function CCU7_setMultiChMode...
Definition: ccu7.h:145
INLINE void CCU7_setHallShadowTransferReq(void)
Set Shadow Transfer Request for the Hall Pattern.
Definition: ccu7.h:1393
INLINE void CCU7_disC71BCmpMatchFallInt(void)
Disable Compare-Match Falling Edge Interrupt for C71B.
Definition: ccu7.h:2157
INLINE void CCU7_stopT13(void)
Stop T13.
Definition: ccu7.h:1210
INLINE void CCU7_clrT13PerMatchIntSts(void)
Clear T13 Period-Match Flag.
Definition: ccu7.h:1664
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:2234
INLINE void CCU7_disHallEventCorrectInt(void)
Disable Interrupt for Correct Hall Event.
Definition: ccu7.h:1867
INLINE void CCU7_clrC72BCmpMatchRiseIntSts(void)
Clear Compare-Match Rising Edge Flag for C72B.
Definition: ccu7.h:2052
INLINE uint16 CCU7_getT13CntVal(void)
Get T13 Counter Value.
Definition: ccu7.h:906
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:678
INLINE void CCU7_setCh0DeadTimeFall_ticks(uint8 u8_value)
Set Dead-Time for Channel 0 fall in ticks.
Definition: ccu7.h:576
INLINE uint8 CCU7_getTrapCond(void)
Get Trap Flag (Trap condition fulfilled)
Definition: ccu7.h:1549
INLINE uint8 CCU7_getCh1DeadTimeRise_ticks(void)
Get Dead-Time for Channel 1 rise in ticks.
Definition: ccu7.h:603
INLINE uint8 CCU7_getHallEventCorrectIntSts(void)
Get Correct Hall Event Flag.
Definition: ccu7.h:1567
INLINE void CCU7_disT16SingleShot(void)
Disable T16 Single Shot Control.
Definition: ccu7.h:1189
INLINE uint16 CCU7_getT13PerVal(void)
Get T13 Period Value.
Definition: ccu7.h:951
INLINE void CCU7_clrHallIdleIntSts(void)
Clear Hall Idle Flag.
Definition: ccu7.h:1692
INLINE uint8 CCU7_getCC72ACmpMatchRiseIntSts(void)
Get Capture, Compare-Match Rising Edge Flag for CC72A.
Definition: ccu7.h:1495
INLINE void CCU7_disT12PerMatchInt(void)
Disable Interrupt for T12 Period-Match.
Definition: ccu7.h:1811
INLINE uint16 CCU7_getC74Val(void)
Get C74 Compare Value.
Definition: ccu7.h:1023
INLINE void CCU7_clrCC72ACmpMatchRiseIntSts(void)
Clear Capture, Compare-Match Rising Edge Flag for CC72A.
Definition: ccu7.h:1629
INLINE void CCU7_clrT14CmpMatchIntSts(void)
Clear T14 Compare-Match Flag.
Definition: ccu7.h:2066
INLINE void CCU7_stopT14(void)
Stop T14.
Definition: ccu7.h:1224
INLINE void CCU7_stopT15(void)
Stop T15.
Definition: ccu7.h:1238
INLINE void CCU7_clrHallEventWrongIntSts(void)
Clear Wrong Hall Event Flag.
Definition: ccu7.h:1685
INLINE uint8 CCU7_getT16PerMatchIntSts(void)
Get T16 Period-Match Flag.
Definition: ccu7.h:2017
INLINE uint16 CCU7_getC73Val(void)
Get C73 Compare Value.
Definition: ccu7.h:1014
INLINE uint8 CCU7_getC71BCmpMatchFallIntSts(void)
Get Compare-Match Falling Edge Flag for C71B.
Definition: ccu7.h:1945
INLINE void CCU7_enCC71ACmpMatchFallInt(void)
Enable Capture, Compare-Match Falling Edge Interrupt for CC71A.
Definition: ccu7.h:1748
INLINE void CCU7_disT16PerMatchInt(void)
Disable Interrupt for T16 Period-Match.
Definition: ccu7.h:2269
INLINE uint16 CCU7_getC72BVal(void)
Get C72B Compare Value.
Definition: ccu7.h:870
INLINE void CCU7_enT15SingleShot(void)
Enable T15 Single Shot Control.
Definition: ccu7.h:1168
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:482
INLINE uint16 CCU7_getT15CntVal(void)
Get T15 Counter Value.
Definition: ccu7.h:924
#define CCU7_MODCTR_T12MODEN_Msk
Definition: ccu7.h:170
INLINE void CCU7_clrCC70ACmpMatchRiseIntSts(void)
Clear Capture, Compare-Match Rising Edge Flag for CC70A.
Definition: ccu7.h:1601
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:1657
INLINE void CCU7_enT13SingleShot(void)
Enable T13 Single Shot Control.
Definition: ccu7.h:1140
INLINE void CCU7_stopT16(void)
Stop T16.
Definition: ccu7.h:1252
INLINE void CCU7_enCC71ACmpMatchRiseInt(void)
Enable Capture, Compare-Match Rising Edge Interrupt for CC71A.
Definition: ccu7.h:1734
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:2122
INLINE uint8 CCU7_getHallIdleIntSts(void)
Get Hall Idle State Flag.
Definition: ccu7.h:1585
INLINE void CCU7_setCh1DeadTimeRise_ticks(uint8 u8_value)
Set Dead-Time for Channel 1 rise in ticks.
Definition: ccu7.h:594
enum CCU7_MultiChMode_SWSEL tCCU7_MultiChMode_SWSEL
INLINE void CCU7_enT14SingleShot(void)
Enable T14 Single Shot Control.
Definition: ccu7.h:1154
INLINE void CCU7_setC71BValShadow(uint16 u16_value)
Set Shadow Register for C71B Compare Value.
Definition: ccu7.h:888
INLINE void CCU7_enC70BCmpMatchRiseInt(void)
Enable Compare-Match Rising Edge Interrupt for C70B.
Definition: ccu7.h:2108
INLINE uint8 CCU7_getC70BCmpMatchFallIntSts(void)
Get Compare-Match Falling Edge Flag for C70B.
Definition: ccu7.h:1927
INLINE void CCU7_enMultiChModeShadowTransferReqInt(void)
Enable Multi-Channel Mode Shadow Transfer Interrupt.
Definition: ccu7.h:1902
INLINE void CCU7_clrT15PerMatchIntSts(void)
Clear T15 Period-Match Flag.
Definition: ccu7.h:2087
INLINE void CCU7_enHallEventWrongInt(void)
Enable Interrupt for Wrong Hall Event.
Definition: ccu7.h:1874
INLINE uint8 CCU7_getCh2DeadTimeFall_ticks(void)
Get Dead-Time for Channel 2 fall in ticks.
Definition: ccu7.h:657
INLINE void CCU7_setT14ShadowTransferReq(void)
Set T14 Shadow Transfer Request.
Definition: ccu7.h:2290
INLINE uint8 CCU7_getCh2DeadTimeRise_ticks(void)
Get Dead-Time for Channel 2 rise in ticks.
Definition: ccu7.h:639
INLINE void CCU7_startT15(void)
Start T15.
Definition: ccu7.h:1245
INLINE void CCU7_clrCC70ACmpMatchFallIntSts(void)
Clear Capture, Compare-Match Falling Edge Flag for CC70A.
Definition: ccu7.h:1608
INLINE void CCU7_clrT16CmpMatchIntSts(void)
Clear T16 Compare-Match Flag.
Definition: ccu7.h:2094
INLINE void CCU7_setCh1DeadTimeFall_ticks(uint8 u8_value)
Set Dead-Time for Channel 1 fall in ticks.
Definition: ccu7.h:612
INLINE uint16 CCU7_getCC71AVal(void)
Get CC71A Capture/Compare Value.
Definition: ccu7.h:807
INLINE void CCU7_setC76ValShadow(uint16 u16_value)
Set Shadow Register for C76 Compare Value.
Definition: ccu7.h:1077
INLINE void CCU7_enTrapCondInt(void)
Enable Interrupt for Trap Flag (Trap condition fulfilled)
Definition: ccu7.h:1846
INLINE void CCU7_disT15PerMatchInt(void)
Disable Interrupt for T15 Period-Match.
Definition: ccu7.h:2241
INLINE void CCU7_setT13PerVal(uint16 u16_value)
Set T13 Period Value.
Definition: ccu7.h:942
INLINE void CCU7_startT13(void)
Start T13.
Definition: ccu7.h:1217
INLINE void CCU7_setCC70AValShadow(uint16 u16_value)
Set Shadow Register for CC70A Capture/Compare Value.
Definition: ccu7.h:825
INLINE void CCU7_clrT15CmpMatchIntSts(void)
Clear T15 Compare-Match Flag.
Definition: ccu7.h:2080
INLINE void CCU7_clrCC72ACmpMatchFallIntSts(void)
Clear Capture, Compare-Match Falling Edge Flag for CC72A.
Definition: ccu7.h:1636
INLINE void CCU7_enC72BCmpMatchRiseInt(void)
Enable Compare-Match Rising Edge Interrupt for C72B.
Definition: ccu7.h:2164
INLINE void CCU7_disTrapPin(void)
Disable Trap Pin.
Definition: ccu7.h:1338
INLINE uint8 CCU7_getT13PerMatchIntSts(void)
Get T13 Period-Match Flag.
Definition: ccu7.h:1540
INLINE void CCU7_startT16(void)
Start T16.
Definition: ccu7.h:1259
INLINE void CCU7_enC72BCmpMatchFallInt(void)
Enable Compare-Match Falling Edge Interrupt for C72B.
Definition: ccu7.h:2178
INLINE void CCU7_startT14(void)
Start T14.
Definition: ccu7.h:1231
INLINE uint16 CCU7_getT14CntVal(void)
Get T14 Counter Value.
Definition: ccu7.h:915
INLINE void CCU7_stopT12(void)
Stop T12.
Definition: ccu7.h:1196
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:1352
INLINE void CCU7_setMultiChModeShadowTransferTrig(tCCU7_MultiChMode_SWSEL e_value)
Set Switching Selection.
Definition: ccu7.h:1411
INLINE void CCU7_enCC70ACmpMatchRiseInt(void)
Enable Capture, Compare-Match Rising Edge Interrupt for CC70A.
Definition: ccu7.h:1706
INLINE void CCU7_disHallEventWrongInt(void)
Disable Interrupt for Wrong Hall Event.
Definition: ccu7.h:1881
INLINE void CCU7_disT13CmpMatchInt(void)
Disable Interrupt for T13 Compare-Match.
Definition: ccu7.h:1825
INLINE uint8 CCU7_getCC71ACmpMatchFallIntSts(void)
Get Capture, Compare-Match Falling Edge Flag for CC71A.
Definition: ccu7.h:1486
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:585
INLINE void CCU7_setCC72AValShadow(uint16 u16_value)
Set Shadow Register for CC72A Capture/Compare Value.
Definition: ccu7.h:843
INLINE void CCU7_setC72BValShadow(uint16 u16_value)
Set Shadow Register for C72B Compare Value.
Definition: ccu7.h:897
INLINE void CCU7_disLostBitEventInt(void)
Disable Interrupt for Lost Bit Event - LBEEN.
Definition: ccu7.h:1450
INLINE void CCU7_enT12PerMatchInt(void)
Enable Interrupt for T12 Period-Match.
Definition: ccu7.h:1804
INLINE void CCU7_enT15CmpMatchInt(void)
Enable Interrupt for T15 Compare-Match.
Definition: ccu7.h:2220
INLINE uint8 CCU7_getC70BCmpMatchRiseIntSts(void)
Get Compare-Match Rising Edge Flag for C70B.
Definition: ccu7.h:1918
INLINE void CCU7_disT14CmpMatchInt(void)
Disable Interrupt for T14 Compare-Match.
Definition: ccu7.h:2199
INLINE void CCU7_setMultiChModeShadowTransferSync(tCCU7_MultiChMode_SWSYN e_value)
Set Switching Synchronization.
Definition: ccu7.h:1420
INLINE void CCU7_setT14PerVal(uint16 u16_value)
Set T14 Period Value.
Definition: ccu7.h:960
INLINE void CCU7_enHallEventCorrectInt(void)
Enable Interrupt for Correct Hall Event.
Definition: ccu7.h:1860
INLINE uint16 CCU7_getT12PerVal(void)
Get T12 Period Value.
Definition: ccu7.h:491
INLINE uint8 CCU7_getT15PerMatchIntSts(void)
Get T15 Period-Match Flag.
Definition: ccu7.h:1999
INLINE void CCU7_disT14PerMatchInt(void)
Disable Interrupt for T14 Period-Match.
Definition: ccu7.h:2213
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:2024
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:558
INLINE uint8 CCU7_getC72BCmpMatchFallIntSts(void)
Get Compare-Match Falling Edge Flag for C72B.
Definition: ccu7.h:1963
INLINE uint8 CCU7_getHallPatternSampled(void)
Get Sampled Hall Pattern.
Definition: ccu7.h:1089
INLINE uint8 CCU7_getCh0DeadTimeRise_ticks(void)
Get Dead-Time for Channel 0 rise in ticks.
Definition: ccu7.h:567
INLINE void CCU7_setT15PerVal(uint16 u16_value)
Set T15 Period Value.
Definition: ccu7.h:978
INLINE uint16 CCU7_getT12CntVal(void)
Get T12 Counter Value.
Definition: ccu7.h:473
INLINE void CCU7_clrC72BCmpMatchFallIntSts(void)
Clear Compare-Match Falling Edge Flag for C72B.
Definition: ccu7.h:2059
INLINE void CCU7_setHallPatternCurrentShadow(uint8 u8_value)
Set Current Hall Pattern Shadow.
Definition: ccu7.h:1386
INLINE void CCU7_enCC70ACmpMatchFallInt(void)
Enable Capture, Compare-Match Falling Edge Interrupt for CC70A.
Definition: ccu7.h:1720
INLINE void CCU7_clrT12OneMatchIntSts(void)
Clear T12 One-Match Flag.
Definition: ccu7.h:1643
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:1005
INLINE void CCU7_clrC71BCmpMatchRiseIntSts(void)
Clear Compare-Match Rising Edge Flag for C71B.
Definition: ccu7.h:2038
INLINE uint16 CCU7_getT16CntVal(void)
Get T16 Counter Value.
Definition: ccu7.h:933
INLINE void CCU7_clrC70BCmpMatchFallIntSts(void)
Clear Compare-Match Falling Edge Flag for C70B.
Definition: ccu7.h:2031
INLINE uint8 CCU7_getT16CmpMatchIntSts(void)
Get T16 Compare-Match Flag.
Definition: ccu7.h:2008
INLINE void CCU7_setHallPatternExpectedShadow(uint8 u8_value)
Set Expected Hall Pattern Shadow.
Definition: ccu7.h:1377
INLINE void CCU7_disTrapCondInt(void)
Disable Interrupt for Trap Flag (Trap condition fulfilled)
Definition: ccu7.h:1853
INLINE uint8 CCU7_getCC70ACmpMatchFallIntSts(void)
Get Capture, Compare-Match Falling Edge Flag for CC70A.
Definition: ccu7.h:1468
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:1990
INLINE void CCU7_setC70BValShadow(uint16 u16_value)
Set Shadow Register for C70B Compare Value.
Definition: ccu7.h:879
INLINE void CCU7_enT16CmpMatchInt(void)
Enable Interrupt for T16 Compare-Match.
Definition: ccu7.h:2248
INLINE uint16 CCU7_getC71BVal(void)
Get C71B Compare Value.
Definition: ccu7.h:861
INLINE void CCU7_disT13SingleShot(void)
Disable T13 Single Shot Control.
Definition: ccu7.h:1147
INLINE uint8 CCU7_getT14CmpMatchIntSts(void)
Get T14 Compare-Match Flag.
Definition: ccu7.h:1972
INLINE void CCU7_clrC71BCmpMatchFallIntSts(void)
Clear Compare-Match Falling Edge Flag for C71B.
Definition: ccu7.h:2045
INLINE uint8 CCU7_getT13CmpMatchIntSts(void)
Get T13 Compare-Match Flag.
Definition: ccu7.h:1531
INLINE void CCU7_enT16SingleShot(void)
Enable T16 Single Shot Control.
Definition: ccu7.h:1182
INLINE uint8 CCU7_getMultiChModeShadowTransferReqIntSts(void)
Get Multi-Channel Mode Shadow Transfer Request Flag.
Definition: ccu7.h:1594
INLINE void CCU7_clrT16PerMatchIntSts(void)
Clear T16 Period-Match Flag.
Definition: ccu7.h:2101
INLINE void CCU7_disC72BCmpMatchRiseInt(void)
Disable Compare-Match Rising Edge Interrupt for C72B.
Definition: ccu7.h:2171
INLINE uint8 CCU7_getCh1DeadTimeFall_ticks(void)
Get Dead-Time for Channel 1 fall in ticks.
Definition: ccu7.h:621
INLINE uint8 CCU7_getT12OneMatchIntSts(void)
Get T12 One-Match Flag.
Definition: ccu7.h:1513
INLINE void CCU7_enT14CmpMatchInt(void)
Enable Interrupt for T14 Compare-Match.
Definition: ccu7.h:2192
INLINE uint8 CCU7_getCC72ACmpMatchFallIntSts(void)
Get Capture, Compare-Match Falling Edge Flag for CC72A.
Definition: ccu7.h:1504
INLINE uint8 CCU7_getHallEventWrongIntSts(void)
Get Wrong Hall Event Flag.
Definition: ccu7.h:1576
INLINE void CCU7_clrT14PerMatchIntSts(void)
Clear T14 Period-Match Flag.
Definition: ccu7.h:2073
INLINE void CCU7_clrHallEventCorrectIntSts(void)
Clear Correct Hall Event Flag.
Definition: ccu7.h:1678
INLINE uint16 CCU7_getCmpSts(void)
Get Compare State Bits for C70B, C71B, C72B, C74ST, C75ST, C76ST, CC70AST, CC71AST,...
Definition: ccu7.h:1108
INLINE void CCU7_disC70BCmpMatchRiseInt(void)
Disable Compare-Match Rising Edge Interrupt for C70B.
Definition: ccu7.h:2115
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:996
INLINE uint8 CCU7_getCC70ACmpMatchRiseIntSts(void)
Get Capture, Compare-Match Rising Edge Flag for CC70A.
Definition: ccu7.h:1459
INLINE void CCU7_enT13PerMatchInt(void)
Enable Interrupt for T13 Period-Match.
Definition: ccu7.h:1832
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:1622
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:1268
INLINE void CCU7_enLostBitEventInt(void)
Enable Interrupt for Lost Bit Event - LBEEN.
Definition: ccu7.h:1443
INLINE uint8 CCU7_getCC71ACmpMatchRiseIntSts(void)
Get Capture, Compare-Match Rising Edge Flag for CC71A.
Definition: ccu7.h:1477
INLINE void CCU7_enT13CmpMatchInt(void)
Enable Interrupt for T13 Compare-Match.
Definition: ccu7.h:1818
INLINE void CCU7_disT12OneMatchInt(void)
Disable Interrupt for T12 One-Match.
Definition: ccu7.h:1797
INLINE void CCU7_enHallIdleInt(void)
Enable Hall Idle Interrupt.
Definition: ccu7.h:1888
INLINE void CCU7_disCC70ACmpMatchFallInt(void)
Disable Capture, Compare-Match Falling Edge Interrupt for CC70A.
Definition: ccu7.h:1727
INLINE void CCU7_enT12OneMatchInt(void)
Enable Interrupt for T12 One-Match.
Definition: ccu7.h:1790
INLINE void CCU7_setT15ShadowTransferReq(void)
Set T15 Shadow Transfer Request.
Definition: ccu7.h:2297
INLINE uint16 CCU7_getCC70AVal(void)
Get CC70A Capture/Compare Value.
Definition: ccu7.h:798
CCU7_HallSync
This enum lists the CCU7 Hall Synch Configuration. Used in function CCU7_setHallSync.
Definition: ccu7.h:128
INLINE void CCU7_setCC71AValShadow(uint16 u16_value)
Set Shadow Register for CC71A Capture/Compare Value.
Definition: ccu7.h:834
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:1954
INLINE void CCU7_clrMultiChModeShadowTransferReqIntSts(void)
Clear Multi-Channel Mode STR Flag.
Definition: ccu7.h:1699
INLINE void CCU7_clrLostBitEventSts(void)
Clear Lost Bit Event Flag.
Definition: ccu7.h:1427
INLINE void CCU7_enTrapPin(void)
Enable Trap Pin.
Definition: ccu7.h:1331
INLINE void CCU7_enCC72ACmpMatchRiseInt(void)
Enable Capture, Compare-Match Rising Edge Interrupt for CC72A.
Definition: ccu7.h:1762
INLINE void CCU7_setCh2DeadTimeFall_ticks(uint8 u8_value)
Set Dead-Time for Channel 2 fall in ticks.
Definition: ccu7.h:648
INLINE void CCU7_enC71BCmpMatchFallInt(void)
Enable Compare-Match Falling Edge Interrupt for C71B.
Definition: ccu7.h:2150
INLINE void CCU7_setT13ShadowTransferReq(void)
Set T13 Shadow Transfer Request.
Definition: ccu7.h:2283
INLINE uint16 CCU7_getC75Val(void)
Get C75 Compare Value.
Definition: ccu7.h:1032
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:539
CCU7_MultiChMode_SWSYN
This enum lists the CCU7 Multi Channel Mode Switching Synchronization. Used in function CCU7_setMulti...
Definition: ccu7.h:160
INLINE void CCU7_clrCC71ACmpMatchRiseIntSts(void)
Clear Capture, Compare-Match Rising Edge Flag for CC71A.
Definition: ccu7.h:1615
INLINE void CCU7_disCC72ACmpMatchRiseInt(void)
Disable Capture, Compare-Match Rising Edge Interrupt for CC72A.
Definition: ccu7.h:1769
INLINE uint8 CCU7_getC71BCmpMatchRiseIntSts(void)
Get Compare-Match Rising Edge Flag for C71B.
Definition: ccu7.h:1936
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:1345
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:172
INLINE void CCU7_disCC72ACmpMatchFallInt(void)
Disable Capture, Compare-Match Falling Edge Interrupt for CC72A.
Definition: ccu7.h:1783
INLINE void CCU7_enCC72ACmpMatchFallInt(void)
Enable Capture, Compare-Match Falling Edge Interrupt for CC72A.
Definition: ccu7.h:1776
INLINE void CCU7_disT13PerMatchInt(void)
Disable Interrupt for T13 Period-Match.
Definition: ccu7.h:1839
INLINE void CCU7_disCC70ACmpMatchRiseInt(void)
Disable Capture, Compare-Match Rising Edge Interrupt for CC70A.
Definition: ccu7.h:1713
INLINE uint8 CCU7_getMultiChModePWMPattern(void)
Get Multi-Channel PWM Pattern.
Definition: ccu7.h:1402
INLINE void CCU7_enTrap(void)
Enable Trap Control for all signals (CC70/1/2, COUT70/1/2)
Definition: ccu7.h:1298
INLINE void CCU7_setT13Modulation(uint8 u8_value)
Set T13 Modulation.
Definition: ccu7.h:1291
INLINE void CCU7_disT12SingleShot(void)
Disable T12 Single Shot Control.
Definition: ccu7.h:1133
INLINE void CCU7_disC71BCmpMatchRiseInt(void)
Disable Compare-Match Rising Edge Interrupt for C71B.
Definition: ccu7.h:2143
INLINE void CCU7_disMultiChModeShadowTransferReqInt(void)
Disable Multi-Channel Mode Shadow Transfer Interrupt.
Definition: ccu7.h:1909
INLINE void CCU7_setMultiChModePWMPatternShadow(uint8 u8_value)
Set Multi-Channel PWM Pattern Shadow.
Definition: ccu7.h:1361
INLINE uint16 CCU7_getCC72AVal(void)
Get CC72A Capture/Compare Value.
Definition: ccu7.h:816
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:741
#define CCU7_MODCTR_T13MODEN_Pos
Definition: ccu7.h:171
INLINE void CCU7_setT16ShadowTransferReq(void)
Set T16 Shadow Transfer Request.
Definition: ccu7.h:2304
INLINE void CCU7_setC73ValShadow(uint16 u16_value)
Set Shadow Register for C73 Compare Value.
Definition: ccu7.h:1050
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:1316
INLINE void CCU7_disHallIdleInt(void)
Disable Hall Idle Interrupt.
Definition: ccu7.h:1895
INLINE uint8 CCU7_getLostBitEventSts(void)
Get Lost Bit Event Flag.
Definition: ccu7.h:1436
#define CCU7_MODCTR_T12MODEN_Pos
Definition: ccu7.h:169
enum CCU7_HallSync tCCU7_HallSync
INLINE void CCU7_disT15CmpMatchInt(void)
Disable Interrupt for T15 Compare-Match.
Definition: ccu7.h:2227
INLINE void CCU7_enT16PerMatchInt(void)
Enable Interrupt for T16 Period-Match.
Definition: ccu7.h:2262
INLINE uint16 CCU7_getC76Val(void)
Get C76 Compare Value.
Definition: ccu7.h:1041
@ CCU7_MultiChMode_SWSEL_T12_OM
Definition: ccu7.h:149
@ CCU7_MultiChMode_SWSEL_Correct_Hall
Definition: ccu7.h:147
@ CCU7_MultiChMode_SWSEL_No_Action
Definition: ccu7.h:146
@ CCU7_MultiChMode_SWSEL_T12_Ch1_CM
Definition: ccu7.h:150
@ CCU7_MultiChMode_SWSEL_T12_PM
Definition: ccu7.h:151
@ CCU7_MultiChMode_SWSEL_T13_PM
Definition: ccu7.h:148
@ CCU7_HallSync_T13_CM
Definition: ccu7.h:130
@ CCU7_HallSync_T12_CM_Ch0_up
Definition: ccu7.h:135
@ CCU7_HallSync_T12_OM
Definition: ccu7.h:134
@ CCU7_HallSync_HW_Hall_Sampling_Off
Definition: ccu7.h:132
@ CCU7_HallSync_T13_PM
Definition: ccu7.h:131
@ CCU7_HallSync_T12_PM
Definition: ccu7.h:133
@ CCU7_HallSync_T12_CM_Ch0_down
Definition: ccu7.h:136
@ CCU7_HallSync_CCPOS0x_Any_Edge
Definition: ccu7.h:129
@ CCU7_MultiChMode_SWSYN_Direct
Definition: ccu7.h:161
@ CCU7_MultiChMode_SWSYN_T13_ZM
Definition: ccu7.h:162
@ CCU7_MultiChMode_SWSYN_T12_ZM
Definition: ccu7.h:163
#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:208
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