Infineon MOTIX™ MCU TLE988x/9x Device Family SDK
bdrv.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 /*******************************************************************************
44 ** Author(s) Identity **
45 ********************************************************************************
46 ** Initials Name **
47 ** ---------------------------------------------------------------------------**
48 ** DM Daniel Mysliwitz **
49 ** BG Blandine Guillot **
50 ** JO Julia Ott **
51 ** PS Patrik Schwarz **
52 *******************************************************************************/
53 
54 /*******************************************************************************
55 ** Revision Control History **
56 ********************************************************************************
57 ** V0.1.0: 2019-10-28, DM: Initial version **
58 ** V0.2.0: 2019-11-18, BG: Added functions **
59 ** V0.3.0: 2020-04-28, BG: Updated revision history format **
60 ** V0.4.0: 2020-07-10, BG: Added inline functions list **
61 ** V0.5.0: 2020-08-19, BG: Added BEMF functions **
62 ** V0.6.0: 2020-09-16, BG: Added interrupt enable/disable functions **
63 ** ChargePump init separated, init code enabled **
64 ** V0.6.1: 2020-10-06, BG: EP-492: Removed MISRA 2012 errors **
65 ** V0.6.2: 2020-10-16, JO: EP-523: Updated doxygen documentation **
66 ** V0.6.3: 2020-10-20, BG: EP-532: Updated cast in BDRV_getFaults() **
67 ** V0.6.4: 2020-10-21, BG: EP-539: Considered the enable checkbox in CW in **
68 ** the initialization function **
69 ** V0.6.5: 2020-11-12, JO: EP-590: Removed \param none and \return none to **
70 ** avoid doxygen warning **
71 ** Added end of group for doxygen **
72 ** V0.6.6: 2020-11-16, BG: EP-595: Updated BDRV initialisation **
73 ** V0.6.7: 2020-11-20, BG: EP-610: Corrected MISRA 2012 errors **
74 ** The following rules are globally deactivated: **
75 ** - Info 774: Boolean within 'if' always evaluates **
76 ** to False/True **
77 ** - Warning 685: Relational operator '<=' always **
78 ** evaluates to 'true' **
79 ** V0.6.8: 2020-12-18, BG: EP-652: Corrected name of error code variable **
80 ** V0.6.9: 2021-02-10, JO: EP-696: Changed from anonymous to named typedefs **
81 ** to prevent MISRA warning **
82 ** V0.7.0: 2021-04-06, BG: EP-760: Replaced if instructions to check if the **
83 ** module is enabled with preprocessor directives to**
84 ** avoid compiler warnings **
85 ** V0.7.1: 2021-04-29, JO: EP-789: Updated 3 phase handling **
86 ** V0.7.2: 2021-06-02, BG: EP-816: Added missing bitfield settings in the **
87 ** function BDRV_setBridge **
88 ** Added SCU_delay_us functions in the diagnostic **
89 ** functions BDRV_checkShortDiagnosis and **
90 ** BDRV_checkOpenLoad **
91 ** Corrected the DS threshold in BDRV_checkOpenLoad **
92 ** V0.7.3: 2021-07-21, BG: EP-871: Replaced if-condition by switch so that **
93 ** a wrong error code is returned for 3-phase device**
94 ** in the functions BDRV_set{LS/HS}{Chrg/Dischrg}...**
95 ** ...{Constant/Sequencer}Mode **
96 ** V0.7.4: 2021-07-27, BG: EP-814: Corrected the value to clear the register**
97 ** STSCLR **
98 ** V0.7.5: 2021-07-30, BG: EP-877: Corrected MISRA 2012 errors **
99 ** V0.7.6: 2021-08-04, BG: EP-879: Updated BDRV_init() with extra accessors **
100 ** for charge pump register **
101 ** Corrected the value for the CP stages number in **
102 ** while-loop condition **
103 ** Updated limits for CP voltage comparison to VSD **
104 ** V0.7.7: 2021-09-29, BG: EP-880: Updated BDRV_setBridge(..) so that the **
105 ** function does not violate HW requirements when **
106 ** called with specific arguments **
107 ** V0.7.8: 2021-11-08, BG: EP-790: Combined struct typedef for charge and **
108 ** discharge, renamed existing struct elements for **
109 ** active driver, added elements for free-wheeling **
110 ** driver **
111 ** Updated functions according to the AK design step**
112 ** BDRV_set{LS/HS}{Chrg/Dischrg}{Const/Seq}Mode **
113 ** V0.7.9: 2021-11-12, JO: EP-937: Updated copyright and branding **
114 ** V0.8.0: 2022-06-23, JO: EP-1150: Removed ARMCC V6.18 warnings **
115 ** V0.8.1: 2022-07-05, JO: EP-1188: Disabled MISRA rule 9031 locally **
116 ** V0.8.2: 2022-11-17, JO: EP-1342: Updated enum documentation to remove **
117 ** doxygen warning **
118 ** V0.8.3: 2023-04-04, PS: EP-1141: Correct MISRA warnings **
119 *******************************************************************************/
120 
121 #ifndef BDRV_H
122 #define BDRV_H
123 
124 /*******************************************************************************
125 ** Includes **
126 *******************************************************************************/
127 
128 #include "types.h"
129 #include "tle989x.h"
130 #include "tle_variants.h"
131 #include "bdrv_defines.h"
132 
133 /*******************************************************************************
134 ** Global Constant Declarations **
135 *******************************************************************************/
136 
137 /*******************************************************************************
138 ** Global Type Declarations **
139 *******************************************************************************/
140 
145 typedef enum BDRV_chCfg
146 {
151  BDRV_chCfg_hsDcs = 4u
153 
158 typedef enum BDRV_hb
159 {
160  BDRV_hb_1 = 1u,
161  BDRV_hb_2 = 2u,
162 #if (UC_SERIES == 989)
163  BDRV_hb_3 = 3u
164 #endif
166 
171 typedef enum BDRV_offStateDiag
172 {
178 
182 typedef struct BDRV_offState
183 {
187 #if (UC_SERIES == 989)
189 #endif
191 
196 typedef enum BDRV_currentCfg
197 {
263 
264 /*=============================== CONSTANT MODE ==============================*/
265 
266 /* Remove warnings for padding structures */
267 #if defined (__CC_ARM)
268  #pragma push
269  #pragma anon_unions
270 #elif defined (__ICCARM__)
271  #pragma language=extended
272 #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
273  #pragma clang diagnostic push
274  #pragma clang diagnostic ignored "-Wpadded"
275 #elif defined (__GNUC__)
276  /* anonymous unions are enabled by default */
277 #elif defined (__TMS470__)
278  /* anonymous unions are enabled by default */
279 #elif defined (__TASKING__)
280  #pragma warning 586
281 #elif defined (__CSMC__)
282  /* anonymous unions are enabled by default */
283 #else
284  #warning Not supported compiler type
285 #endif
286 
290 typedef struct
291 {
297 
298 
299 /*============================== SEQUENCER MODE ==============================*/
300 
304 typedef struct
305 {
316 } tBDRV_seqCfg;
317 
318 /*============================ ADAPTIVE SEQUENCER ============================*/
319 
323 typedef struct
324 {
329 } tBDRV_aseqCfg;
330 
331 #if defined (__CC_ARM)
332  #pragma pop
333 #elif defined (__ICCARM__)
334  /* leave anonymous unions enabled */
335 #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
336  #pragma clang diagnostic pop
337 #elif defined (__GNUC__)
338  /* anonymous unions are enabled by default */
339 #elif defined (__TMS470__)
340  /* anonymous unions are enabled by default */
341 #elif defined (__TASKING__)
342  #pragma warning restore
343 #elif defined (__CSMC__)
344  /* anonymous unions are enabled by default */
345 #endif
346 
347 /*******************************************************************************
348 ** Global Function Declarations **
349 *******************************************************************************/
350 
351 /*=================================== BDRV ===================================*/
352 
353 sint8 BDRV_init(void);
354 sint8 BDRV_initCP(void);
355 #if (UC_SERIES == 988)
356  sint8 BDRV_setBridge(tBDRV_chCfg e_ls1Cfg, tBDRV_chCfg e_hs1Cfg, tBDRV_chCfg e_ls2Cfg, tBDRV_chCfg e_hs2Cfg);
357 #elif (UC_SERIES == 989)
358  sint8 BDRV_setBridge(tBDRV_chCfg e_ls1Cfg, tBDRV_chCfg e_hs1Cfg, tBDRV_chCfg e_ls2Cfg, tBDRV_chCfg e_hs2Cfg, tBDRV_chCfg e_ls3Cfg, tBDRV_chCfg e_hs3Cfg);
359 #endif
366 sint8 BDRV_setLSDischrgSeqMode(tBDRV_hb e_hb, tBDRV_seqCfg s_seqDischrgCfg);
367 sint8 BDRV_setHSDischrgSeqMode(tBDRV_hb e_hb, tBDRV_seqCfg s_seqDischrgCfg);
372 bool BDRV_getFaultSts(void);
373 uint8 BDRV_getFaults(void);
374 void BDRV_clrFaultSts(void);
387 INLINE void BDRV_enHB1AdaptSeqInt(void);
388 INLINE void BDRV_enHB2AdaptSeqInt(void);
389 INLINE void BDRV_enHB3AdaptSeqInt(void);
393 INLINE void BDRV_enDrvSeqErrInt(void);
407 INLINE void BDRV_disHB1AdaptSeqInt(void);
408 INLINE void BDRV_disHB2AdaptSeqInt(void);
409 INLINE void BDRV_disHB3AdaptSeqInt(void);
413 INLINE void BDRV_disDrvSeqErrInt(void);
571 
572 /*================================== BEMFC ===================================*/
573 
574 INLINE void BDRV_enPh1ZCFallInt(void);
575 INLINE void BDRV_enPh1ZCRiseInt(void);
576 INLINE void BDRV_enPh2ZCFallInt(void);
577 INLINE void BDRV_enPh2ZCRiseInt(void);
578 INLINE void BDRV_enPh3ZCFallInt(void);
579 INLINE void BDRV_enPh3ZCRiseInt(void);
580 INLINE void BDRV_disPh1ZCFallInt(void);
581 INLINE void BDRV_disPh1ZCRiseInt(void);
582 INLINE void BDRV_disPh2ZCFallInt(void);
583 INLINE void BDRV_disPh2ZCRiseInt(void);
584 INLINE void BDRV_disPh3ZCFallInt(void);
585 INLINE void BDRV_disPh3ZCRiseInt(void);
601 
602 /*******************************************************************************
603 ** Deprecated Function Declarations **
604 *******************************************************************************/
605 
606 /*=================================== BDRV ===================================*/
607 
611 void BDRV_setExternalLS1MosfetOvercurrentIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
612 
616 void BDRV_setExternalHS1MosfetOvercurrentIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
617 
621 void BDRV_setExternalLS2MosfetOvercurrentIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
622 
626 void BDRV_setExternalHS2MosfetOvercurrentIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
627 
631 void BDRV_setExternalLS3MosfetOvercurrentIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
632 
636 void BDRV_setExternalHS3MosfetOvercurrentIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
637 
641 void BDRV_setLS1DrainSrcMonitoringIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
642 
646 void BDRV_setHS1DrainSrcMonitoringIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
647 
651 void BDRV_setLS2DrainSrcMonitoringIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
652 
656 void BDRV_setHS2DrainSrcMonitoringIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
657 
661 void BDRV_setLS3DrainSrcMonitoringIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
662 
666 void BDRV_setHS3DrainSrcMonitoringIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
667 
671 void BDRV_setHB1AdaptSeqIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
672 
676 void BDRV_setHB2AdaptSeqIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
677 
681 void BDRV_setHB3AdaptSeqIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
682 
686 void BDRV_setHB1ActDrvDetectIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
687 
691 void BDRV_setHB2ActDrvDetectIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
692 
696 void BDRV_setHB3ActDrvDetectIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
697 
701 void BDRV_setDrvSeqErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
702 
703 /*================================== BEMFC ===================================*/
704 
708 void BDRV_setPh1ZCFallIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
709 
713 void BDRV_setPh2ZCFallIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
714 
718 void BDRV_setPh3ZCFallIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
719 
723 void BDRV_setPh1ZCRiseIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
724 
728 void BDRV_setPh2ZCRiseIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
729 
733 void BDRV_setPh3ZCRiseIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
734 
735 /*******************************************************************************
736 ** Global Inline Function Definitions **
737 *******************************************************************************/
738 
739 /*=================================== BDRV ===================================*/
740 
744 {
745  BDRV->IRQEN.bit.LS1_OC_IEN = 1u;
746 }
747 
751 {
752  BDRV->IRQEN.bit.HS1_OC_IEN = 1u;
753 }
754 
758 {
759  BDRV->IRQEN.bit.LS2_OC_IEN = 1u;
760 }
761 
765 {
766  BDRV->IRQEN.bit.HS2_OC_IEN = 1u;
767 }
768 
772 {
773  BDRV->IRQEN.bit.LS3_OC_IEN = 1u;
774 }
775 
779 {
780  BDRV->IRQEN.bit.HS3_OC_IEN = 1u;
781 }
782 
786 {
787  BDRV->IRQEN.bit.LS1_DS_IEN = 1u;
788 }
789 
793 {
794  BDRV->IRQEN.bit.HS1_DS_IEN = 1u;
795 }
796 
800 {
801  BDRV->IRQEN.bit.LS2_DS_IEN = 1u;
802 }
803 
807 {
808  BDRV->IRQEN.bit.HS2_DS_IEN = 1u;
809 }
810 
814 {
815  BDRV->IRQEN.bit.LS3_DS_IEN = 1u;
816 }
817 
821 {
822  BDRV->IRQEN.bit.HS3_DS_IEN = 1u;
823 }
824 
828 {
829  BDRV->IRQEN.bit.HB1_ASEQ_IEN = 1u;
830 }
831 
835 {
836  BDRV->IRQEN.bit.HB2_ASEQ_IEN = 1u;
837 }
838 
842 {
843  BDRV->IRQEN.bit.HB3_ASEQ_IEN = 1u;
844 }
845 
849 {
850  BDRV->IRQEN.bit.HB1_ACTDRV_IEN = 1u;
851 }
852 
856 {
857  BDRV->IRQEN.bit.HB2_ACTDRV_IEN = 1u;
858 }
859 
863 {
864  BDRV->IRQEN.bit.HB3_ACTDRV_IEN = 1u;
865 }
866 
870 {
871  BDRV->IRQEN.bit.SEQ_ERR_IEN = 1u;
872 }
873 
877 {
878  BDRV->IRQEN.bit.VCP_LOTH2_IEN = 1u;
879 }
880 
884 {
885  BDRV->IRQEN.bit.LS1_OC_IEN = 0u;
886 }
887 
891 {
892  BDRV->IRQEN.bit.HS1_OC_IEN = 0u;
893 }
894 
898 {
899  BDRV->IRQEN.bit.LS2_OC_IEN = 0u;
900 }
901 
905 {
906  BDRV->IRQEN.bit.HS2_OC_IEN = 0u;
907 }
908 
912 {
913  BDRV->IRQEN.bit.LS3_OC_IEN = 0u;
914 }
915 
919 {
920  BDRV->IRQEN.bit.HS3_OC_IEN = 0u;
921 }
922 
926 {
927  BDRV->IRQEN.bit.LS1_DS_IEN = 0u;
928 }
929 
933 {
934  BDRV->IRQEN.bit.HS1_DS_IEN = 0u;
935 }
936 
940 {
941  BDRV->IRQEN.bit.LS2_DS_IEN = 0u;
942 }
943 
947 {
948  BDRV->IRQEN.bit.HS2_DS_IEN = 0u;
949 }
950 
954 {
955  BDRV->IRQEN.bit.LS3_DS_IEN = 0u;
956 }
957 
961 {
962  BDRV->IRQEN.bit.HS3_DS_IEN = 0u;
963 }
964 
968 {
969  BDRV->IRQEN.bit.HB1_ASEQ_IEN = 0u;
970 }
971 
975 {
976  BDRV->IRQEN.bit.HB2_ASEQ_IEN = 0u;
977 }
978 
982 {
983  BDRV->IRQEN.bit.HB3_ASEQ_IEN = 0u;
984 }
985 
989 {
990  BDRV->IRQEN.bit.HB1_ACTDRV_IEN = 0u;
991 }
992 
996 {
997  BDRV->IRQEN.bit.HB2_ACTDRV_IEN = 0u;
998 }
999 
1003 {
1004  BDRV->IRQEN.bit.HB3_ACTDRV_IEN = 0u;
1005 }
1006 
1010 {
1011  BDRV->IRQEN.bit.SEQ_ERR_IEN = 0u;
1012 }
1013 
1017 {
1018  BDRV->IRQEN.bit.VCP_LOTH2_IEN = 0u;
1019 }
1020 
1026 {
1027  return (uint8)BDRV->STS.bit.LS1_OC_STS;
1028 }
1029 
1035 {
1036  return (uint8)BDRV->STS.bit.HS1_OC_STS;
1037 }
1038 
1044 {
1045  return (uint8)BDRV->STS.bit.LS2_OC_STS;
1046 }
1047 
1053 {
1054  return (uint8)BDRV->STS.bit.HS2_OC_STS;
1055 }
1056 
1062 {
1063  return (uint8)BDRV->STS.bit.LS3_OC_STS;
1064 }
1065 
1071 {
1072  return (uint8)BDRV->STS.bit.HS3_OC_STS;
1073 }
1074 
1080 {
1081  return (uint8)BDRV->STS.bit.LS1_DS_STS;
1082 }
1083 
1089 {
1090  return (uint8)BDRV->STS.bit.HS1_DS_STS;
1091 }
1092 
1098 {
1099  return (uint8)BDRV->STS.bit.LS2_DS_STS;
1100 }
1101 
1107 {
1108  return (uint8)BDRV->STS.bit.HS2_DS_STS;
1109 }
1110 
1116 {
1117  return (uint8)BDRV->STS.bit.LS3_DS_STS;
1118 }
1119 
1125 {
1126  return (uint8)BDRV->STS.bit.HS3_DS_STS;
1127 }
1128 
1134 {
1135  return (uint8)BDRV->STS.bit.SH1_LOW_STS;
1136 }
1137 
1143 {
1144  return (uint8)BDRV->STS.bit.SH1_HIGH_STS;
1145 }
1146 
1152 {
1153  return (uint8)BDRV->STS.bit.SH2_LOW_STS;
1154 }
1155 
1161 {
1162  return (uint8)BDRV->STS.bit.SH2_HIGH_STS;
1163 }
1164 
1170 {
1171  return (uint8)BDRV->STS.bit.SH3_LOW_STS;
1172 }
1173 
1179 {
1180  return (uint8)BDRV->STS.bit.SH3_HIGH_STS;
1181 }
1182 
1188 {
1189  return (uint8)BDRV->STS.bit.CP_OTSD_STS;
1190 }
1191 
1197 {
1198  return (uint8)BDRV->STS.bit.VCP_LOTH1_STS;
1199 }
1200 
1206 {
1207  return (uint8)BDRV->STS.bit.VCP_UPTH_STS;
1208 }
1209 
1215 {
1216  return (uint8)BDRV->STS.bit.VSD_LOTH_STS;
1217 }
1218 
1224 {
1225  return (uint8)BDRV->STS.bit.VSD_UPTH_STS;
1226 }
1227 
1233 {
1234  return (uint8)BDRV->STS.bit.VCP_LOTH2_STS;
1235 }
1236 
1242 {
1243  return (uint8)BDRV->STS.bit.VSD_OV_STS;
1244 }
1245 
1249 {
1250  BDRV->STSCLR.bit.LS1_OC_SC = 1u;
1251 }
1252 
1256 {
1257  BDRV->STSCLR.bit.HS1_OC_SC = 1u;
1258 }
1259 
1263 {
1264  BDRV->STSCLR.bit.LS2_OC_SC = 1u;
1265 }
1266 
1270 {
1271  BDRV->STSCLR.bit.HS2_OC_SC = 1u;
1272 }
1273 
1277 {
1278  BDRV->STSCLR.bit.LS3_OC_SC = 1u;
1279 }
1280 
1284 {
1285  BDRV->STSCLR.bit.HS3_OC_SC = 1u;
1286 }
1287 
1291 {
1292  BDRV->STSCLR.bit.LS1_DS_SC = 1u;
1293 }
1294 
1298 {
1299  BDRV->STSCLR.bit.HS1_DS_SC = 1u;
1300 }
1301 
1305 {
1306  BDRV->STSCLR.bit.LS2_DS_SC = 1u;
1307 }
1308 
1312 {
1313  BDRV->STSCLR.bit.HS2_DS_SC = 1u;
1314 }
1315 
1319 {
1320  BDRV->STSCLR.bit.LS3_DS_SC = 1u;
1321 }
1322 
1326 {
1327  BDRV->STSCLR.bit.HS3_DS_SC = 1u;
1328 }
1329 
1333 {
1334  BDRV->STSCLR.bit.VCP_LOTH2_SC = 1u;
1335 }
1336 
1342 {
1343  return (uint8)BDRV->IRQS.bit.LS1_OC_IS;
1344 }
1345 
1351 {
1352  return (uint8)BDRV->IRQS.bit.HS1_OC_IS;
1353 }
1354 
1360 {
1361  return (uint8)BDRV->IRQS.bit.LS2_OC_IS;
1362 }
1363 
1369 {
1370  return (uint8)BDRV->IRQS.bit.HS2_OC_IS;
1371 }
1372 
1378 {
1379  return (uint8)BDRV->IRQS.bit.LS3_OC_IS;
1380 }
1381 
1387 {
1388  return (uint8)BDRV->IRQS.bit.HS3_OC_IS;
1389 }
1390 
1396 {
1397  return (uint8)BDRV->IRQS.bit.LS1_DS_IS;
1398 }
1399 
1405 {
1406  return (uint8)BDRV->IRQS.bit.HS1_DS_IS;
1407 }
1408 
1414 {
1415  return (uint8)BDRV->IRQS.bit.LS2_DS_IS;
1416 }
1417 
1423 {
1424  return (uint8)BDRV->IRQS.bit.HS2_DS_IS;
1425 }
1426 
1432 {
1433  return (uint8)BDRV->IRQS.bit.LS3_DS_IS;
1434 }
1435 
1441 {
1442  return (uint8)BDRV->IRQS.bit.HS3_DS_IS;
1443 }
1444 
1450 {
1451  return (uint8)BDRV->IRQS.bit.HB1_ASEQ_IS;
1452 }
1453 
1459 {
1460  return (uint8)BDRV->IRQS.bit.HB2_ASEQ_IS;
1461 }
1462 
1468 {
1469  return (uint8)BDRV->IRQS.bit.HB3_ASEQ_IS;
1470 }
1471 
1477 {
1478  return (uint8)BDRV->IRQS.bit.HB1_ACTDRV_IS;
1479 }
1480 
1486 {
1487  return (uint8)BDRV->IRQS.bit.HB2_ACTDRV_IS;
1488 }
1489 
1495 {
1496  return (uint8)BDRV->IRQS.bit.HB3_ACTDRV_IS;
1497 }
1498 
1504 {
1505  return (uint8)BDRV->IRQS.bit.SEQ_ERR_IS;
1506 }
1507 
1513 {
1514  return (uint8)BDRV->IRQS.bit.VCP_LOTH2_IS;
1515 }
1516 
1520 {
1521  BDRV->IRQCLR.bit.LS1_OC_ISC = 1u;
1522 }
1523 
1527 {
1528  BDRV->IRQCLR.bit.HS1_OC_ISC = 1u;
1529 }
1530 
1534 {
1535  BDRV->IRQCLR.bit.LS2_OC_ISC = 1u;
1536 }
1537 
1541 {
1542  BDRV->IRQCLR.bit.HS2_OC_ISC = 1u;
1543 }
1544 
1548 {
1549  BDRV->IRQCLR.bit.LS3_OC_ISC = 1u;
1550 }
1551 
1555 {
1556  BDRV->IRQCLR.bit.HS3_OC_ISC = 1u;
1557 }
1558 
1562 {
1563  BDRV->IRQCLR.bit.LS1_DS_ISC = 1u;
1564 }
1565 
1569 {
1570  BDRV->IRQCLR.bit.HS1_DS_ISC = 1u;
1571 }
1572 
1576 {
1577  BDRV->IRQCLR.bit.LS2_DS_ISC = 1u;
1578 }
1579 
1583 {
1584  BDRV->IRQCLR.bit.HS2_DS_ISC = 1u;
1585 }
1586 
1590 {
1591  BDRV->IRQCLR.bit.LS3_DS_ISC = 1u;
1592 }
1593 
1597 {
1598  BDRV->IRQCLR.bit.HS3_DS_ISC = 1u;
1599 }
1600 
1604 {
1605  BDRV->IRQCLR.bit.HB1_ASEQ_ISC = 1u;
1606 }
1607 
1611 {
1612  BDRV->IRQCLR.bit.HB2_ASEQ_ISC = 1u;
1613 }
1614 
1618 {
1619  BDRV->IRQCLR.bit.HB3_ASEQ_ISC = 1u;
1620 }
1621 
1625 {
1626  BDRV->IRQCLR.bit.HB1_ACTDRV_ISC = 1u;
1627 }
1628 
1632 {
1633  BDRV->IRQCLR.bit.HB2_ACTDRV_ISC = 1u;
1634 }
1635 
1639 {
1640  BDRV->IRQCLR.bit.HB3_ACTDRV_ISC = 1u;
1641 }
1642 
1646 {
1647  BDRV->IRQCLR.bit.SEQ_ERR_ISC = 1u;
1648 }
1649 
1653 {
1654  BDRV->IRQCLR.bit.VCP_LOTH2_ISC = 1u;
1655 }
1656 
1662 {
1663  return (uint8)BDRV->ASEQONSTS.bit.HB1T12ONMAX;
1664 }
1665 
1671 {
1672  return (uint8)BDRV->ASEQONSTS.bit.HB1I1ONMAX;
1673 }
1674 
1680 {
1681  return (uint8)BDRV->ASEQONSTS.bit.HB1T12ONMIN;
1682 }
1683 
1689 {
1690  return (uint8)BDRV->ASEQONSTS.bit.HB1I1ONMIN;
1691 }
1692 
1698 {
1699  return (uint8)BDRV->ASEQONSTS.bit.HB1ONMF;
1700 }
1701 
1707 {
1708  return (uint8)BDRV->ASEQONSTS.bit.HB1ONFAILDRV;
1709 }
1710 
1716 {
1717  return (uint8)BDRV->ASEQONSTS.bit.HB2T12ONMAX;
1718 }
1719 
1725 {
1726  return (uint8)BDRV->ASEQONSTS.bit.HB2I1ONMAX;
1727 }
1728 
1734 {
1735  return (uint8)BDRV->ASEQONSTS.bit.HB2T12ONMIN;
1736 }
1737 
1743 {
1744  return (uint8)BDRV->ASEQONSTS.bit.HB2I1ONMIN;
1745 }
1746 
1752 {
1753  return (uint8)BDRV->ASEQONSTS.bit.HB2ONMF;
1754 }
1755 
1761 {
1762  return (uint8)BDRV->ASEQONSTS.bit.HB2ONFAILDRV;
1763 }
1764 
1770 {
1771  return (uint8)BDRV->ASEQONSTS.bit.HB3T12ONMAX;
1772 }
1773 
1779 {
1780  return (uint8)BDRV->ASEQONSTS.bit.HB3I1ONMAX;
1781 }
1782 
1788 {
1789  return (uint8)BDRV->ASEQONSTS.bit.HB3T12ONMIN;
1790 }
1791 
1797 {
1798  return (uint8)BDRV->ASEQONSTS.bit.HB3I1ONMIN;
1799 }
1800 
1806 {
1807  return (uint8)BDRV->ASEQONSTS.bit.HB3ONMF;
1808 }
1809 
1815 {
1816  return (uint8)BDRV->ASEQONSTS.bit.HB3ONFAILDRV;
1817 }
1818 
1824 {
1825  return (uint8)BDRV->ASEQOFFSTS.bit.HB1T1OFFMAX;
1826 }
1827 
1833 {
1834  return (uint8)BDRV->ASEQOFFSTS.bit.HB1I1OFFMAX;
1835 }
1836 
1842 {
1843  return (uint8)BDRV->ASEQOFFSTS.bit.HB1T1OFFMIN;
1844 }
1845 
1851 {
1852  return (uint8)BDRV->ASEQOFFSTS.bit.HB1I1OFFMIN;
1853 }
1854 
1860 {
1861  return (uint8)BDRV->ASEQOFFSTS.bit.HB1OFFMF;
1862 }
1863 
1869 {
1870  return (uint8)BDRV->ASEQOFFSTS.bit.HB1OFFFAILDRV;
1871 }
1872 
1878 {
1879  return (uint8)BDRV->ASEQOFFSTS.bit.HB2T1OFFMAX;
1880 }
1881 
1887 {
1888  return (uint8)BDRV->ASEQOFFSTS.bit.HB2I1OFFMAX;
1889 }
1890 
1896 {
1897  return (uint8)BDRV->ASEQOFFSTS.bit.HB2T1OFFMIN;
1898 }
1899 
1905 {
1906  return (uint8)BDRV->ASEQOFFSTS.bit.HB2I1OFFMIN;
1907 }
1908 
1914 {
1915  return (uint8)BDRV->ASEQOFFSTS.bit.HB2OFFMF;
1916 }
1917 
1923 {
1924  return (uint8)BDRV->ASEQOFFSTS.bit.HB2OFFFAILDRV;
1925 }
1926 
1932 {
1933  return (uint8)BDRV->ASEQOFFSTS.bit.HB3T1OFFMAX;
1934 }
1935 
1941 {
1942  return (uint8)BDRV->ASEQOFFSTS.bit.HB3I1OFFMAX;
1943 }
1944 
1950 {
1951  return (uint8)BDRV->ASEQOFFSTS.bit.HB3T1OFFMIN;
1952 }
1953 
1959 {
1960  return (uint8)BDRV->ASEQOFFSTS.bit.HB3I1OFFMIN;
1961 }
1962 
1968 {
1969  return (uint8)BDRV->ASEQOFFSTS.bit.HB3OFFMF;
1970 }
1971 
1977 {
1978  return (uint8)BDRV->ASEQOFFSTS.bit.HB3OFFFAILDRV;
1979 }
1980 
1986 {
1987  return (uint8)BDRV->HB1ONVAL.bit.HB1_TONDLY;
1988 }
1989 
1995 {
1996  return (uint8)BDRV->HB1ONVAL.bit.HB1_I1ONVAL;
1997 }
1998 
2004 {
2005  return (uint8)BDRV->HB1ONVAL.bit.HB1_TONDUR;
2006 }
2007 
2013 {
2014  return (uint8)BDRV->HB1ONVAL.bit.HB1_TONDURMERR;
2015 }
2016 
2022 {
2023  return (uint8)BDRV->HB1ONVAL.bit.HB1_ACTDRV_ON;
2024 }
2025 
2029 {
2030  BDRV->HB1ONVAL.bit.HB1_ONVALVF_CLR = 1u;
2031 }
2032 
2038 {
2039  return (uint8)BDRV->HB1ONVAL.bit.HB1_ONVALVF;
2040 }
2041 
2047 {
2048  return (uint8)BDRV->HB1OFFVAL.bit.HB1_TOFFDLY;
2049 }
2050 
2056 {
2057  return (uint8)BDRV->HB1OFFVAL.bit.HB1_I1OFFVAL;
2058 }
2059 
2065 {
2066  return (uint8)BDRV->HB1OFFVAL.bit.HB1_TOFFDUR;
2067 }
2068 
2074 {
2075  return (uint8)BDRV->HB1OFFVAL.bit.HB1_TOFFDURMERR;
2076 }
2077 
2083 {
2084  return (uint8)BDRV->HB1OFFVAL.bit.HB1_ACTDRV_OFF;
2085 }
2086 
2090 {
2091  BDRV->HB1OFFVAL.bit.HB1_OFFVALVF_CLR = 1u;
2092 }
2093 
2099 {
2100  return (uint8)BDRV->HB1OFFVAL.bit.HB1_OFFVALVF;
2101 }
2102 
2108 {
2109  return (uint8)BDRV->HB2ONVAL.bit.HB2_TONDLY;
2110 }
2111 
2117 {
2118  return (uint8)BDRV->HB2ONVAL.bit.HB2_I1ONVAL;
2119 }
2120 
2126 {
2127  return (uint8)BDRV->HB2ONVAL.bit.HB2_TONDUR;
2128 }
2129 
2135 {
2136  return (uint8)BDRV->HB2ONVAL.bit.HB2_TONDURMERR;
2137 }
2138 
2144 {
2145  return (uint8)BDRV->HB2ONVAL.bit.HB2_ACTDRV_ON;
2146 }
2147 
2151 {
2152  BDRV->HB2ONVAL.bit.HB2_ONVALVF_CLR = 1u;
2153 }
2154 
2160 {
2161  return (uint8)BDRV->HB2ONVAL.bit.HB2_ONVALVF;
2162 }
2163 
2169 {
2170  return (uint8)BDRV->HB2OFFVAL.bit.HB2_TOFFDLY;
2171 }
2172 
2178 {
2179  return (uint8)BDRV->HB2OFFVAL.bit.HB2_I1OFFVAL;
2180 }
2181 
2187 {
2188  return (uint8)BDRV->HB2OFFVAL.bit.HB2_TOFFDUR;
2189 }
2190 
2196 {
2197  return (uint8)BDRV->HB2OFFVAL.bit.HB2_TOFFDURMERR;
2198 }
2199 
2205 {
2206  return (uint8)BDRV->HB2OFFVAL.bit.HB2_ACTDRV_OFF;
2207 }
2208 
2212 {
2213  BDRV->HB2OFFVAL.bit.HB2_OFFVALVF_CLR = 1u;
2214 }
2215 
2221 {
2222  return (uint8)BDRV->HB2OFFVAL.bit.HB2_OFFVALVF;
2223 }
2224 
2230 {
2231  return (uint8)BDRV->HB3ONVAL.bit.HB3_TONDLY;
2232 }
2233 
2239 {
2240  return (uint8)BDRV->HB3ONVAL.bit.HB3_I1ONVAL;
2241 }
2242 
2248 {
2249  return (uint8)BDRV->HB3ONVAL.bit.HB3_TONDUR;
2250 }
2251 
2257 {
2258  return (uint8)BDRV->HB3ONVAL.bit.HB3_TONDURMERR;
2259 }
2260 
2266 {
2267  return (uint8)BDRV->HB3ONVAL.bit.HB3_ACTDRV_ON;
2268 }
2269 
2273 {
2274  BDRV->HB3ONVAL.bit.HB3_ONVALVF_CLR = 1u;
2275 }
2276 
2282 {
2283  return (uint8)BDRV->HB3ONVAL.bit.HB3_ONVALVF;
2284 }
2285 
2291 {
2292  return (uint8)BDRV->HB3OFFVAL.bit.HB3_TOFFDLY;
2293 }
2294 
2300 {
2301  return (uint8)BDRV->HB3OFFVAL.bit.HB3_I1OFFVAL;
2302 }
2303 
2309 {
2310  return (uint8)BDRV->HB3OFFVAL.bit.HB3_TOFFDUR;
2311 }
2312 
2318 {
2319  return (uint8)BDRV->HB3OFFVAL.bit.HB3_TOFFDURMERR;
2320 }
2321 
2327 {
2328  return (uint8)BDRV->HB3OFFVAL.bit.HB3_ACTDRV_OFF;
2329 }
2330 
2334 {
2335  BDRV->HB3OFFVAL.bit.HB3_OFFVALVF_CLR = 1u;
2336 }
2337 
2343 {
2344  return (uint8)BDRV->HB3OFFVAL.bit.HB3_OFFVALVF;
2345 }
2346 
2347 /*================================== BEMFC ===================================*/
2348 
2352 {
2353  BDRV->BEMFC_IRQEN.bit.PH1_ZCFALL_IEN = 1u;
2354 }
2355 
2359 {
2360  BDRV->BEMFC_IRQEN.bit.PH1_ZCRISE_IEN = 1u;
2361 }
2362 
2366 {
2367  BDRV->BEMFC_IRQEN.bit.PH2_ZCFALL_IEN = 1u;
2368 }
2369 
2373 {
2374  BDRV->BEMFC_IRQEN.bit.PH2_ZCRISE_IEN = 1u;
2375 }
2376 
2380 {
2381  BDRV->BEMFC_IRQEN.bit.PH3_ZCFALL_IEN = 1u;
2382 }
2383 
2387 {
2388  BDRV->BEMFC_IRQEN.bit.PH3_ZCRISE_IEN = 1u;
2389 }
2390 
2394 {
2395  BDRV->BEMFC_IRQEN.bit.PH1_ZCFALL_IEN = 0u;
2396 }
2397 
2401 {
2402  BDRV->BEMFC_IRQEN.bit.PH1_ZCRISE_IEN = 0u;
2403 }
2404 
2408 {
2409  BDRV->BEMFC_IRQEN.bit.PH2_ZCFALL_IEN = 0u;
2410 }
2411 
2415 {
2416  BDRV->BEMFC_IRQEN.bit.PH2_ZCRISE_IEN = 0u;
2417 }
2418 
2422 {
2423  BDRV->BEMFC_IRQEN.bit.PH3_ZCFALL_IEN = 0u;
2424 }
2425 
2429 {
2430  BDRV->BEMFC_IRQEN.bit.PH3_ZCRISE_IEN = 0u;
2431 }
2432 
2438 {
2439  return (uint8)BDRV->BEMFC_CTRL.bit.PH1_ZC_STS;
2440 }
2441 
2447 {
2448  return (uint8)BDRV->BEMFC_CTRL.bit.PH2_ZC_STS;
2449 }
2450 
2456 {
2457  return (uint8)BDRV->BEMFC_CTRL.bit.PH3_ZC_STS;
2458 }
2459 
2465 {
2466  return (uint8)BDRV->BEMFC_IRQS.bit.PH1_ZCFALL_IS;
2467 }
2468 
2474 {
2475  return (uint8)BDRV->BEMFC_IRQS.bit.PH1_ZCRISE_IS;
2476 }
2477 
2483 {
2484  return (uint8)BDRV->BEMFC_IRQS.bit.PH2_ZCFALL_IS;
2485 }
2486 
2492 {
2493  return (uint8)BDRV->BEMFC_IRQS.bit.PH2_ZCRISE_IS;
2494 }
2495 
2501 {
2502  return (uint8)BDRV->BEMFC_IRQS.bit.PH3_ZCFALL_IS;
2503 }
2504 
2510 {
2511  return (uint8)BDRV->BEMFC_IRQS.bit.PH3_ZCRISE_IS;
2512 }
2513 
2517 {
2518  BDRV->BEMFC_IRQCLR.bit.PH1_ZCFALL_ISC = 1u;
2519 }
2520 
2524 {
2525  BDRV->BEMFC_IRQCLR.bit.PH1_ZCRISE_ISC = 1u;
2526 }
2527 
2531 {
2532  BDRV->BEMFC_IRQCLR.bit.PH2_ZCFALL_ISC = 1u;
2533 }
2534 
2538 {
2539  BDRV->BEMFC_IRQCLR.bit.PH2_ZCRISE_ISC = 1u;
2540 }
2541 
2545 {
2546  BDRV->BEMFC_IRQCLR.bit.PH3_ZCFALL_ISC = 1u;
2547 }
2548 
2552 {
2553  BDRV->BEMFC_IRQCLR.bit.PH3_ZCRISE_ISC = 1u;
2554 }
2555 
2558 #endif /* _BDRV_H */
INLINE uint8 BDRV_getHB2ChrgActiveDrv(void)
Get HB2 Switch-On Active Driver BDRV.HB2ONVAL.HB2_ACTDRV_ON.
Definition: bdrv.h:2143
void BDRV_setHS3DrainSrcMonitoringIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set High Side 3 Drain-Source Monitoring Interrupt Node Pointer.
sint8 BDRV_setChrgAdaptSeqMode(tBDRV_aseqCfg s_aseqChrgCfg)
Set adaptive sequencer for charge.
Definition: bdrv.c:1227
INLINE void BDRV_disDrvSeqErrInt(void)
Disable Driver Sequence Error Interrupt.
Definition: bdrv.h:1009
INLINE uint8 BDRV_getHB2DischrgFailDrvSts(void)
Get HB2 Failed Gate Driver During Switch-Off BDRV.ASEQOFFSTS.HB2OFFFAILDRV.
Definition: bdrv.h:1922
INLINE void BDRV_enPh3ZCRiseInt(void)
Enable Phase3 Zero Crossing Rising Interrupt.
Definition: bdrv.h:2386
INLINE uint8 BDRV_getHB3MinI1OFFReachedSts(void)
Get HB3 Min I1OFF Value Reached BDRV.ASEQOFFSTS.HB3I1OFFMIN.
Definition: bdrv.h:1958
INLINE uint8 BDRV_getHS2DrainSrcMonitoringIntSts(void)
Get HS2 Off-State Drain Source Monitoring Interrupt Status BDRV.IRQS.HS2_DS_IS.
Definition: bdrv.h:1422
void BDRV_setHB3AdaptSeqIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Half-bridge 3 Adaptive Sequencer Interrupt Node Pointer.
INLINE uint8 BDRV_getHB3MaxI1ONReachedSts(void)
Get HB3 Max I1ON Value Reached BDRV.ASEQONSTS.HB3I1ONMAX.
Definition: bdrv.h:1778
INLINE void BDRV_enExternalLS2MosfetOvercurrentInt(void)
Enable External LS2 MOSFET Overcurrent Interrupt.
Definition: bdrv.h:757
INLINE void BDRV_disHB1AdaptSeqInt(void)
Disable HB1 Adaptive Sequencer Interrupt.
Definition: bdrv.h:967
INLINE void BDRV_clrHB1DischrgTimeMeasValidSts(void)
Clear HB1 Switch-Off Measurement Values Valid Flag BDRV.HB1OFFVAL.HB1_OFFVALVF_CLR.
Definition: bdrv.h:2089
INLINE uint8 BDRV_getPh2ZCFallIntSts(void)
Get Phase2 Zero Crossing Falling Interrupt Status BDRV.BEMFC_IRQS.PH2_ZCFALL_IS.
Definition: bdrv.h:2482
INLINE uint8 BDRV_getHB2ChrgFailDrvSts(void)
Get HB2 Failed Gate Driver During Switch-On BDRV.ASEQONSTS.HB2ONFAILDRV.
Definition: bdrv.h:1760
INLINE uint8 BDRV_getHB1DischrgSlopeTime(void)
Get HB1 Switch-Off Voltage Slope Time Value BDRV.HB1OFFVAL.HB1_TOFFDUR.
Definition: bdrv.h:2064
INLINE uint8 BDRV_getHB1ChrgSlopeTime(void)
Get HB1 Switch-On Voltage Slope Time Value BDRV.HB1ONVAL.HB1_TONDUR.
Definition: bdrv.h:2003
INLINE void BDRV_disPh2ZCFallInt(void)
Disable Phase2 Zero Crossing Falling Interrupt.
Definition: bdrv.h:2407
void BDRV_setLS3DrainSrcMonitoringIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Low Side 3 Drain-Source Monitoring Interrupt Node Pointer.
INLINE void BDRV_enHB2ActDrvDetectInt(void)
Enable HB2 Active Driver Detection Interrupt.
Definition: bdrv.h:855
BDRV_chCfg
This enum lists the bridge driver channel configuration.
Definition: bdrv.h:146
INLINE void BDRV_disHS1DrainSrcMonitoringInt(void)
Disable HS1 Drain Source Monitoring Interrupt.
Definition: bdrv.h:932
INLINE uint8 BDRV_getHB1DischrgPhase1Current(void)
Get HB1 Switch-Off Phase 1 Current Value From Adaptive Sequencer BDRV.HB1OFFVAL.HB1_I1OFFVAL.
Definition: bdrv.h:2055
INLINE void BDRV_enPh3ZCFallInt(void)
Enable Phase3 Zero Crossing Falling Interrupt.
Definition: bdrv.h:2379
INLINE void BDRV_enHB3AdaptSeqInt(void)
Enable HB1 Adaptive Sequencer Interrupt.
Definition: bdrv.h:841
INLINE uint8 BDRV_getHB1AdaptSeqDischrgMeasFailSts(void)
Get HB1 Adaptive Sequencer Switch-Off Measurement Failure BDRV.ASEQOFFSTS.HB1OFFMF.
Definition: bdrv.h:1859
INLINE void BDRV_enDrvSeqErrInt(void)
Enable Driver Sequence Error Interrupt.
Definition: bdrv.h:869
INLINE uint8 BDRV_getHB3DischrgDlyTime(void)
Get HB3 Switch-Off Delay Time Value Until Vsh Change BDRV.HB3OFFVAL.HB3_TOFFDLY.
Definition: bdrv.h:2290
INLINE uint8 BDRV_getHB3DischrgFailDrvSts(void)
Get HB3 Failed Gate Driver During Switch-Off BDRV.ASEQOFFSTS.HB3OFFFAILDRV.
Definition: bdrv.h:1976
INLINE void BDRV_enPh1ZCFallInt(void)
Enable Phase1 Zero Crossing Falling Interrupt.
Definition: bdrv.h:2351
INLINE uint8 BDRV_getHS3DrainSrcMonitoringSts(void)
Get HS3 Off-State Drain Source Monitoring Status BDRV.STS.HS3_DS_STS.
Definition: bdrv.h:1124
INLINE void BDRV_disHB3AdaptSeqInt(void)
Disable HB1 Adaptive Sequencer Interrupt.
Definition: bdrv.h:981
INLINE uint8 BDRV_getHB1ActDrvDetectIntSts(void)
Get HB1 Active Driver Detection Interrupt Status BDRV.IRQS.HB1_ACTDRV_IS.
Definition: bdrv.h:1476
sint8 BDRV_setDischrgAdaptSeqMode(tBDRV_aseqCfg s_aseqDischrgCfg)
Set adaptive sequencer for discharge.
Definition: bdrv.c:1256
INLINE uint8 BDRV_getHB3MinT1OFFReachedSts(void)
Get HB3 Min T1OFF Value Reached BDRV.ASEQOFFSTS.HB3T1OFFMIN.
Definition: bdrv.h:1949
INLINE uint8 BDRV_getHB1ChrgDlyTime(void)
Get HB1 Switch-On Delay Time Value Until Vsh Change BDRV.HB1ONVAL.HB1_TONDLY.
Definition: bdrv.h:1985
INLINE void BDRV_disPh3ZCRiseInt(void)
Disable Phase3 Zero Crossing Rising Interrupt.
Definition: bdrv.h:2428
INLINE uint8 BDRV_getHB1AdaptSeqChrgMeasFailSts(void)
Get HB1 Adaptive Sequencer Switch-On Measurement Failure BDRV.ASEQONSTS.HB1ONMF.
Definition: bdrv.h:1697
INLINE uint8 BDRV_getHB2MinI1ONReachedSts(void)
Get HB2 Min I1ON Value Reached BDRV.ASEQONSTS.HB2I1ONMIN.
Definition: bdrv.h:1742
INLINE void BDRV_enHB1ActDrvDetectInt(void)
Enable HB1 Active Driver Detection Interrupt.
Definition: bdrv.h:848
INLINE void BDRV_clrDrvSeqErrIntSts(void)
Clear Driver Sequence Error Interrupt Status BDRV.IRQCLR.SEQ_ERR_ISC.
Definition: bdrv.h:1645
void BDRV_setPh3ZCFallIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Phase3 Zero Crossing Fall Interrupt Node Pointer.
INLINE uint8 BDRV_getSH2OvervoltageCompSts(void)
Get SH2 Overvoltage Comparator Status BDRV.STS.SH2_HIGH_STS.
Definition: bdrv.h:1160
INLINE uint8 BDRV_getHB3MaxT1OFFReachedSts(void)
Get HB3 Max T1OFF Value Reached BDRV.ASEQOFFSTS.HB3T1OFFMAX.
Definition: bdrv.h:1931
INLINE void BDRV_disCPUndervoltageCompInt(void)
Disable Charge Pump Undervoltage Comparator Interrupt.
Definition: bdrv.h:1016
void BDRV_setPh3ZCRiseIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Phase3 Zero Crossing Rise Interrupt Node Pointer.
void BDRV_setHB2AdaptSeqIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Half-bridge 2 Adaptive Sequencer Interrupt Node Pointer.
INLINE uint8 BDRV_getHS1DrainSrcMonitoringIntSts(void)
Get HS1 Off-State Drain Source Monitoring Interrupt Status BDRV.IRQS.HS1_DS_IS.
Definition: bdrv.h:1404
void BDRV_setHB1AdaptSeqIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Half-bridge 1 Adaptive Sequencer Interrupt Node Pointer.
INLINE void BDRV_disHB2ActDrvDetectInt(void)
Disable HB2 Active Driver Detection Interrupt.
Definition: bdrv.h:995
INLINE uint8 BDRV_getHB2ActDrvDetectIntSts(void)
Get HB2 Active Driver Detection Interrupt Status BDRV.IRQS.HB2_ACTDRV_IS.
Definition: bdrv.h:1485
void BDRV_setExternalHS2MosfetOvercurrentIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set High Side 2 Overcurrent Interrupt Node Pointer.
INLINE uint8 BDRV_getHB2DischrgDlyTime(void)
Get HB2 Switch-Off Delay Time Value Until Vsh Change BDRV.HB2OFFVAL.HB2_TOFFDLY.
Definition: bdrv.h:2168
INLINE void BDRV_disPh1ZCRiseInt(void)
Disable Phase1 Zero Crossing Rising Interrupt.
Definition: bdrv.h:2400
INLINE uint8 BDRV_getPh3ZCFallIntSts(void)
Get Phase3 Zero Crossing Falling Interrupt Status BDRV.BEMFC_IRQS.PH3_ZCFALL_IS.
Definition: bdrv.h:2500
sint8 BDRV_setBridge(tBDRV_chCfg e_ls1Cfg, tBDRV_chCfg e_hs1Cfg, tBDRV_chCfg e_ls2Cfg, tBDRV_chCfg e_hs2Cfg, tBDRV_chCfg e_ls3Cfg, tBDRV_chCfg e_hs3Cfg)
INLINE uint8 BDRV_getPh1ZCFallIntSts(void)
Get Phase1 Zero Crossing Falling Interrupt Status BDRV.BEMFC_IRQS.PH1_ZCFALL_IS.
Definition: bdrv.h:2464
INLINE void BDRV_clrHB2DischrgTimeMeasValidSts(void)
Clear HB2 Switch-Off Measurement Values Valid Flag BDRV.HB2OFFVAL.HB2_OFFVALVF_CLR.
Definition: bdrv.h:2211
INLINE uint8 BDRV_getHB2AdaptSeqChrgMeasFailSts(void)
Get HB2 Adaptive Sequencer Switch-On Measurement Failure BDRV.ASEQONSTS.HB2ONMF.
Definition: bdrv.h:1751
INLINE uint8 BDRV_getHS2DrainSrcMonitoringSts(void)
Get HS2 Off-State Drain Source Monitoring Status BDRV.STS.HS2_DS_STS.
Definition: bdrv.h:1106
INLINE uint8 BDRV_getHB2ChrgTimeMeasValidSts(void)
Get HB2 Switch-On Measurement Values Valid Flag BDRV.HB2ONVAL.HB2_ONVALVF.
Definition: bdrv.h:2159
INLINE void BDRV_clrExternalHS1MosfetOvercurrentSts(void)
Clear External HS1 MOSFET Overcurrent Status BDRV.STSCLR.HS1_OC_SC.
Definition: bdrv.h:1255
INLINE uint8 BDRV_getHB2MinI1OFFReachedSts(void)
Get HB2 Min I1OFF Value Reached BDRV.ASEQOFFSTS.HB2I1OFFMIN.
Definition: bdrv.h:1904
INLINE uint8 BDRV_getHB1MinI1OFFReachedSts(void)
Get HB1 Min I1OFF Value Reached BDRV.ASEQOFFSTS.HB1I1OFFMIN.
Definition: bdrv.h:1850
INLINE void BDRV_clrExternalHS3MosfetOvercurrentIntSts(void)
Clear External HS3 MOSFET Overcurrent Interrupt Status BDRV.IRQCLR.HS3_OC_ISC.
Definition: bdrv.h:1554
sint8 BDRV_setLSChrgSeqMode(tBDRV_hb e_hb, tBDRV_seqCfg s_seqChrgCfg)
Set low-side charge times and currents for sequencer mode.
Definition: bdrv.c:884
INLINE void BDRV_clrLS2DrainSrcMonitoringSts(void)
Clear LS2 Off-State Drain Source Monitoring Status BDRV.STSCLR.LS2_DS_SC.
Definition: bdrv.h:1304
INLINE uint8 BDRV_getHB2AdaptSeqIntSts(void)
Get HB2 Adaptive Sequencer Interrupt Status BDRV.IRQS.HB2_ASEQ_IS.
Definition: bdrv.h:1458
INLINE uint8 BDRV_getHB2MaxT1OFFReachedSts(void)
Get HB2 Max T1OFF Value Reached BDRV.ASEQOFFSTS.HB2T1OFFMAX.
Definition: bdrv.h:1877
INLINE void BDRV_clrHB3DischrgTimeMeasValidSts(void)
Clear HB3 Switch-Off Measurement Values Valid Flag BDRV.HB3OFFVAL.HB3_OFFVALVF_CLR.
Definition: bdrv.h:2333
INLINE uint8 BDRV_getHB3ChrgFailDrvSts(void)
Get HB3 Failed Gate Driver During Switch-On BDRV.ASEQONSTS.HB3ONFAILDRV.
Definition: bdrv.h:1814
INLINE void BDRV_disPh2ZCRiseInt(void)
Disable Phase2 Zero Crossing Rising Interrupt.
Definition: bdrv.h:2414
INLINE uint8 BDRV_getLS1DrainSrcMonitoringIntSts(void)
Get LS1 Off-State Drain Source Monitoring Interrupt Status BDRV.IRQS.LS1_DS_IS.
Definition: bdrv.h:1395
INLINE void BDRV_enLS2DrainSrcMonitoringInt(void)
Enable LS2 Drain Source Monitoring Interrupt.
Definition: bdrv.h:799
void BDRV_setPh2ZCRiseIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Phase2 Zero Crossing Rise Interrupt Node Pointer.
INLINE uint8 BDRV_getHS3DrainSrcMonitoringIntSts(void)
Get HS3 Off-State Drain Source Monitoring Interrupt Status BDRV.IRQS.HS3_DS_IS.
Definition: bdrv.h:1440
INLINE void BDRV_clrExternalLS3MosfetOvercurrentSts(void)
Clear External LS3 MOSFET Overcurrent Status BDRV.STSCLR.LS3_OC_SC.
Definition: bdrv.h:1276
INLINE uint8 BDRV_getHB3DischrgActiveDrv(void)
Get HB3 Switch-Off Active Driver BDRV.HB3OFFVAL.HB3_ACTDRV_OFF.
Definition: bdrv.h:2326
INLINE void BDRV_enHS3DrainSrcMonitoringInt(void)
Enable HS3 Drain Source Monitoring Interrupt.
Definition: bdrv.h:820
sint8 BDRV_setLSDischrgSeqMode(tBDRV_hb e_hb, tBDRV_seqCfg s_seqDischrgCfg)
Set low-side discharge times and currents for sequencer mode.
Definition: bdrv.c:1062
INLINE void BDRV_clrHB3ChrgTimeMeasValidSts(void)
Clear HB3 Switch-On Measurement Values Valid Flag BDRV.HB3ONVAL.HB3_ONVALVF_CLR.
Definition: bdrv.h:2272
INLINE void BDRV_clrExternalHS3MosfetOvercurrentSts(void)
Clear External HS3 MOSFET Overcurrent Status BDRV.STSCLR.HS3_OC_SC.
Definition: bdrv.h:1283
INLINE uint8 BDRV_getHB3ChrgPhase1Current(void)
Get HB3 Switch-On Phase 1 Current Value From Adaptive Sequencer BDRV.HB3ONVAL.HB3_I1ONVAL.
Definition: bdrv.h:2238
void BDRV_setPh1ZCRiseIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Phase1 Zero Crossing Rise Interrupt Node Pointer.
INLINE void BDRV_clrPh2ZCRiseIntSts(void)
Clear Phase2 Zero Crossing Rising Interrupt Status BDRV.BEMFC_IRQCLR.PH2_ZCRISE_ISC.
Definition: bdrv.h:2537
INLINE uint8 BDRV_getExternalLS1MosfetOvercurrentSts(void)
Get External LS1 MOSFET Overcurrent Status BDRV.STS.LS1_OC_STS.
Definition: bdrv.h:1025
INLINE void BDRV_clrExternalHS1MosfetOvercurrentIntSts(void)
Clear External HS1 MOSFET Overcurrent Interrupt Status BDRV.IRQCLR.HS1_OC_ISC.
Definition: bdrv.h:1526
INLINE uint8 BDRV_getHB2DischrgActiveDrv(void)
Get HB2 Switch-Off Active Driver BDRV.HB2OFFVAL.HB2_ACTDRV_OFF.
Definition: bdrv.h:2204
struct BDRV_offState tBDRV_offState
sint8 BDRV_setLSDischrgConstMode(tBDRV_hb e_hb, tBDRV_constCfg s_constDischrgCfg)
Set low-side discharge times and currents for constant mode.
Definition: bdrv.c:755
INLINE uint8 BDRV_getHB3MinI1ONReachedSts(void)
Get HB3 Min I1ON Value Reached BDRV.ASEQONSTS.HB3I1ONMIN.
Definition: bdrv.h:1796
INLINE void BDRV_clrPh3ZCRiseIntSts(void)
Clear Phase3 Zero Crossing Rising Interrupt Status BDRV.BEMFC_IRQCLR.PH3_ZCRISE_ISC.
Definition: bdrv.h:2551
INLINE uint8 BDRV_getSH1OvervoltageCompSts(void)
Get SH1 Overvoltage Comparator Status BDRV.STS.SH1_HIGH_STS.
Definition: bdrv.h:1142
INLINE void BDRV_clrHB2AdaptSeqIntSts(void)
Clear HB2 Adaptive Sequencer Interrupt Status BDRV.IRQCLR.HB2_ASEQ_ISC.
Definition: bdrv.h:1610
INLINE void BDRV_enExternalHS1MosfetOvercurrentInt(void)
Enable External HS1 MOSFET Overcurrent Interrupt.
Definition: bdrv.h:750
INLINE uint8 BDRV_getHB2DischrgPhase1Current(void)
Get HB2 Switch-Off Phase 1 Current Value From Adaptive Sequencer BDRV.HB2OFFVAL.HB2_I1OFFVAL.
Definition: bdrv.h:2177
INLINE void BDRV_clrHB1ChrgTimeMeasValidSts(void)
Clear HB1 Switch-On Measurement Values Valid Flag BDRV.HB1ONVAL.HB1_ONVALVF_CLR.
Definition: bdrv.h:2028
INLINE void BDRV_clrExternalLS1MosfetOvercurrentIntSts(void)
Clear External LS1 MOSFET Overcurrent Interrupt Status BDRV.IRQCLR.LS1_OC_ISC.
Definition: bdrv.h:1519
INLINE uint8 BDRV_getVcpUndervoltageAnalogCompSts(void)
Get Vcp Undervoltage Analog Comparator Status BDRV.STS.VCP_LOTH2_STS.
Definition: bdrv.h:1232
INLINE void BDRV_clrLS1DrainSrcMonitoringSts(void)
Clear LS1 Off-State Drain Source Monitoring Status BDRV.STSCLR.LS1_DS_SC.
Definition: bdrv.h:1290
INLINE uint8 BDRV_getCPUndervoltageCompIntSts(void)
Get Charge Pump Undervoltage Comparator Interrupt Status BDRV.IRQS.VCP_LOTH2_IS.
Definition: bdrv.h:1512
BDRV_hb
This enum lists the half-bridges.
Definition: bdrv.h:159
INLINE uint8 BDRV_getVcpUndervoltageSts(void)
Get Vcp Undervoltage Status BDRV.STS.VCP_LOTH1_STS.
Definition: bdrv.h:1196
void BDRV_setHB2ActDrvDetectIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Half-bridge 2 Active Driver Detection Interrupt Node Pointer.
INLINE void BDRV_disPh1ZCFallInt(void)
Disable Phase1 Zero Crossing Falling Interrupt.
Definition: bdrv.h:2393
INLINE void BDRV_clrCPUndervoltageCompSts(void)
Clear Charge Pump Undervoltage Comparator Status BDRV.STSCLR.VCP_LOTH2_SC.
Definition: bdrv.h:1332
INLINE void BDRV_clrHB3AdaptSeqIntSts(void)
Clear HB3 Adaptive Sequencer Interrupt Status BDRV.IRQCLR.HB3_ASEQ_ISC.
Definition: bdrv.h:1617
INLINE uint8 BDRV_getHB2MaxI1OFFReachedSts(void)
Get HB2 Max I1OFF Value Reached BDRV.ASEQOFFSTS.HB2I1OFFMAX.
Definition: bdrv.h:1886
INLINE uint8 BDRV_getHB1AdaptSeqIntSts(void)
Get HB1 Adaptive Sequencer Interrupt Status BDRV.IRQS.HB1_ASEQ_IS.
Definition: bdrv.h:1449
sint8 BDRV_initCP(void)
Initialize the Charge Pump in the BDRV module.
Definition: bdrv.c:95
INLINE uint8 BDRV_getHB1ChrgPhase1Current(void)
Get HB1 Switch-On Phase 1 Current Value From Adaptive Sequencer BDRV.HB1ONVAL.HB1_I1ONVAL.
Definition: bdrv.h:1994
void BDRV_setExternalHS1MosfetOvercurrentIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set High Side 1 Overcurrent Interrupt Node Pointer.
tBDRV_offState BDRV_checkShortDiagnosis(void)
Off-State Diagnosis - Short to Ground or Short to Vbattery Detection.
Definition: bdrv.c:1284
INLINE void BDRV_enHB2AdaptSeqInt(void)
Enable HB1 Adaptive Sequencer Interrupt.
Definition: bdrv.h:834
INLINE uint8 BDRV_getHB2MinT1OFFReachedSts(void)
Get HB2 Min T1OFF Value Reached BDRV.ASEQOFFSTS.HB2T1OFFMIN.
Definition: bdrv.h:1895
INLINE uint8 BDRV_getExternalLS2MosfetOvercurrentSts(void)
Get External LS2 MOSFET Overcurrent Status BDRV.STS.LS2_OC_STS.
Definition: bdrv.h:1043
void BDRV_setHB3ActDrvDetectIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Half-bridge 3 Active Driver Detection Interrupt Node Pointer.
INLINE uint8 BDRV_getSH3UndervoltageCompSts(void)
Get SH3 Undervoltage Comparator Status BDRV.STS.SH3_LOW_STS.
Definition: bdrv.h:1169
INLINE void BDRV_disHS2DrainSrcMonitoringInt(void)
Disable HS2 Drain Source Monitoring Interrupt.
Definition: bdrv.h:946
void BDRV_setLS2DrainSrcMonitoringIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Low Side 2 Drain-Source Monitoring Interrupt Node Pointer.
sint8 BDRV_setHSDischrgConstMode(tBDRV_hb e_hb, tBDRV_constCfg s_constDischrgCfg)
Set high-side discharge times and currents for constant mode.
Definition: bdrv.c:818
INLINE uint8 BDRV_getExternalLS3MosfetOvercurrentIntSts(void)
Get External LS3 MOSFET Overcurrent Interrupt Status BDRV.IRQS.LS3_OC_IS.
Definition: bdrv.h:1377
INLINE uint8 BDRV_getHB1DischrgActiveDrv(void)
Get HB1 Switch-Off Active Driver BDRV.HB1OFFVAL.HB1_ACTDRV_OFF.
Definition: bdrv.h:2082
INLINE uint8 BDRV_getHB1ChrgSlopeTimeMeasErr(void)
Get HB1 Switch-On Voltage Slope Time Measurement Value BDRV.HB1ONVAL.HB1_TONDURMERR.
Definition: bdrv.h:2012
INLINE void BDRV_enExternalLS3MosfetOvercurrentInt(void)
Enable External LS3 MOSFET Overcurrent Interrupt.
Definition: bdrv.h:771
INLINE uint8 BDRV_getHB2ChrgSlopeTimeMeasErr(void)
Get HB2 Switch-On Voltage Slope Time Measurement Value BDRV.HB2ONVAL.HB2_TONDURMERR.
Definition: bdrv.h:2134
INLINE uint8 BDRV_getHB3ActDrvDetectIntSts(void)
Get HB3 Active Driver Detection Interrupt Status BDRV.IRQS.HB3_ACTDRV_IS.
Definition: bdrv.h:1494
INLINE uint8 BDRV_getHB3ChrgDlyTime(void)
Get HB3 Switch-On Delay Time Value Until Vsh Change BDRV.HB3ONVAL.HB3_TONDLY.
Definition: bdrv.h:2229
INLINE uint8 BDRV_getDrvSeqErrIntSts(void)
Get Driver Sequence Error Interrupt Status BDRV.IRQS.SEQ_ERR_IS.
Definition: bdrv.h:1503
INLINE void BDRV_clrHS2DrainSrcMonitoringIntSts(void)
Clear HS2 Off-State Drain Source Monitoring Interrupt Status BDRV.IRQCLR.HS2_DS_ISC.
Definition: bdrv.h:1582
INLINE void BDRV_enLS1DrainSrcMonitoringInt(void)
Enable LS1 Drain Source Monitoring Interrupt.
Definition: bdrv.h:785
INLINE uint8 BDRV_getLS2DrainSrcMonitoringIntSts(void)
Get LS2 Off-State Drain Source Monitoring Interrupt Status BDRV.IRQS.LS2_DS_IS.
Definition: bdrv.h:1413
INLINE uint8 BDRV_getVsdOvervoltageSts(void)
Get Vsd Overvoltage Status BDRV.STS.VSD_UPTH_STS.
Definition: bdrv.h:1223
enum BDRV_offStateDiag tBDRV_offStateDiag
INLINE void BDRV_clrLS3DrainSrcMonitoringIntSts(void)
Clear LS3 Off-State Drain Source Monitoring Interrupt Status BDRV.IRQCLR.LS3_DS_ISC.
Definition: bdrv.h:1589
void BDRV_clrFaultSts(void)
Clear all status bits related to bridge driver and charge pump.
Definition: bdrv.c:1581
BDRV_currentCfg
This enum lists the gate currents.
Definition: bdrv.h:197
INLINE void BDRV_disExternalHS3MosfetOvercurrentInt(void)
Disable External HS3 MOSFET Overcurrent Interrupt.
Definition: bdrv.h:918
INLINE uint8 BDRV_getVsdUndervoltageSts(void)
Get Vsd Undervoltage Status BDRV.STS.VSD_LOTH_STS.
Definition: bdrv.h:1214
INLINE void BDRV_clrExternalHS2MosfetOvercurrentIntSts(void)
Clear External HS2 MOSFET Overcurrent Interrupt Status BDRV.IRQCLR.HS2_OC_ISC.
Definition: bdrv.h:1540
sint8 BDRV_setHSChrgSeqMode(tBDRV_hb e_hb, tBDRV_seqCfg s_seqChrgCfg)
Set high-side charge times and currents for sequencer mode.
Definition: bdrv.c:973
INLINE void BDRV_disExternalLS2MosfetOvercurrentInt(void)
Disable External LS2 MOSFET Overcurrent Interrupt.
Definition: bdrv.h:897
INLINE uint8 BDRV_getHB1DischrgFailDrvSts(void)
Get HB1 Failed Gate Driver During Switch-Off BDRV.ASEQOFFSTS.HB1OFFFAILDRV.
Definition: bdrv.h:1868
INLINE uint8 BDRV_getPh2ZCCompSts(void)
Get Phase2 Zero Crossing Comparator Status BDRV.BEMFC_CTRL.PH2_ZC_STS.
Definition: bdrv.h:2446
enum BDRV_hb tBDRV_hb
INLINE void BDRV_enPh2ZCRiseInt(void)
Enable Phase2 Zero Crossing Rising Interrupt.
Definition: bdrv.h:2372
INLINE uint8 BDRV_getPh3ZCCompSts(void)
Get Phase3 Zero Crossing Comparator Status BDRV.BEMFC_CTRL.PH3_ZC_STS.
Definition: bdrv.h:2455
bool BDRV_getFaultSts(void)
Read all status flags related to bridge driver and charge pump and return true if at least one is act...
Definition: bdrv.c:1521
INLINE uint8 BDRV_getPh1ZCRiseIntSts(void)
Get Phase1 Zero Crossing Rising Interrupt Status BDRV.BEMFC_IRQS.PH1_ZCRISE_IS.
Definition: bdrv.h:2473
INLINE uint8 BDRV_getHB3DischrgSlopeTime(void)
Get HB3 Switch-Off Voltage Slope Time Value BDRV.HB3OFFVAL.HB3_TOFFDUR.
Definition: bdrv.h:2308
INLINE void BDRV_clrLS2DrainSrcMonitoringIntSts(void)
Clear LS2 Off-State Drain Source Monitoring Interrupt Status BDRV.IRQCLR.LS2_DS_ISC.
Definition: bdrv.h:1575
INLINE uint8 BDRV_getHB2AdaptSeqDischrgMeasFailSts(void)
Get HB2 Adaptive Sequencer Switch-Off Measurement Failure BDRV.ASEQOFFSTS.HB2OFFMF.
Definition: bdrv.h:1913
INLINE uint8 BDRV_getHB3DischrgSlopeTimeMeasErr(void)
Get HB3 Switch-Off Voltage Slope Time Measurement Value BDRV.HB3OFFVAL.HB3_TOFFDURMERR.
Definition: bdrv.h:2317
void BDRV_setExternalLS1MosfetOvercurrentIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Low Side 1 Overcurrent Interrupt Node Pointer.
INLINE uint8 BDRV_getHB1ChrgTimeMeasValidSts(void)
Get HB1 Switch-On Measurement Values Valid Flag BDRV.HB1ONVAL.HB1_ONVALVF.
Definition: bdrv.h:2037
INLINE void BDRV_enPh2ZCFallInt(void)
Enable Phase2 Zero Crossing Falling Interrupt.
Definition: bdrv.h:2365
INLINE uint8 BDRV_getSH2UndervoltageCompSts(void)
Get SH2 Undervoltage Comparator Status BDRV.STS.SH2_LOW_STS.
Definition: bdrv.h:1151
INLINE uint8 BDRV_getHB1MinI1ONReachedSts(void)
Get HB1 Min I1ON Value Reached BDRV.ASEQONSTS.HB1I1ONMIN.
Definition: bdrv.h:1688
INLINE uint8 BDRV_getHB2ChrgDlyTime(void)
Get HB2 Switch-On Delay Time Value Until Vsh Change BDRV.HB2ONVAL.HB2_TONDLY.
Definition: bdrv.h:2107
INLINE void BDRV_enHB1AdaptSeqInt(void)
Enable HB1 Adaptive Sequencer Interrupt.
Definition: bdrv.h:827
INLINE uint8 BDRV_getHB2DischrgSlopeTime(void)
Get HB2 Switch-Off Voltage Slope Time Value BDRV.HB2OFFVAL.HB2_TOFFDUR.
Definition: bdrv.h:2186
void BDRV_setDrvSeqErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Driver Sequence Error Interrupt Node Pointer.
INLINE void BDRV_enCPUndervoltageCompInt(void)
Enable Charge Pump Undervoltage Comparator Interrupt.
Definition: bdrv.h:876
sint8 BDRV_setLSChrgConstMode(tBDRV_hb e_hb, tBDRV_constCfg s_constChrgCfg)
Set low-side charge times and currents for constant mode.
Definition: bdrv.c:629
INLINE uint8 BDRV_getHB3ChrgActiveDrv(void)
Get HB3 Switch-On Active Driver BDRV.HB3ONVAL.HB3_ACTDRV_ON.
Definition: bdrv.h:2265
INLINE void BDRV_enHB3ActDrvDetectInt(void)
Enable HB3 Active Driver Detection Interrupt.
Definition: bdrv.h:862
INLINE uint8 BDRV_getHB2ChrgSlopeTime(void)
Get HB2 Switch-On Voltage Slope Time Value BDRV.HB2ONVAL.HB2_TONDUR.
Definition: bdrv.h:2125
INLINE void BDRV_enHS2DrainSrcMonitoringInt(void)
Enable HS2 Drain Source Monitoring Interrupt.
Definition: bdrv.h:806
INLINE uint8 BDRV_getHB3AdaptSeqIntSts(void)
Get HB3 Adaptive Sequencer Interrupt Status BDRV.IRQS.HB3_ASEQ_IS.
Definition: bdrv.h:1467
INLINE uint8 BDRV_getHB1DischrgSlopeTimeMeasErr(void)
Get HB1 Switch-Off Voltage Slope Time Measurement Value BDRV.HB1OFFVAL.HB1_TOFFDURMERR.
Definition: bdrv.h:2073
INLINE uint8 BDRV_getHB2MaxT12ONReachedSts(void)
Get HB2 Max T12ON Value Reached BDRV.ASEQONSTS.HB2T12ONMAX.
Definition: bdrv.h:1715
void BDRV_setHB1ActDrvDetectIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Half-bridge 1 Active Driver Detection Interrupt Node Pointer.
INLINE uint8 BDRV_getHB1MaxT12ONReachedSts(void)
Get HB1 Max T12ON Value Reached BDRV.ASEQONSTS.HB1T12ONMAX.
Definition: bdrv.h:1661
INLINE void BDRV_clrExternalLS1MosfetOvercurrentSts(void)
Clear External LS1 MOSFET Overcurrent Status BDRV.STSCLR.LS1_OC_SC.
Definition: bdrv.h:1248
INLINE void BDRV_clrPh2ZCFallIntSts(void)
Clear Phase2 Zero Crossing Falling Interrupt Status BDRV.BEMFC_IRQCLR.PH2_ZCFALL_ISC.
Definition: bdrv.h:2530
void BDRV_setExternalLS2MosfetOvercurrentIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Low Side 2 Overcurrent Interrupt Node Pointer.
INLINE uint8 BDRV_getExternalHS3MosfetOvercurrentSts(void)
Get External HS3 MOSFET Overcurrent Status BDRV.STS.HS3_OC_STS.
Definition: bdrv.h:1070
INLINE uint8 BDRV_getPh2ZCRiseIntSts(void)
Get Phase2 Zero Crossing Rising Interrupt Status BDRV.BEMFC_IRQS.PH2_ZCRISE_IS.
Definition: bdrv.h:2491
INLINE void BDRV_enPh1ZCRiseInt(void)
Enable Phase1 Zero Crossing Rising Interrupt.
Definition: bdrv.h:2358
INLINE void BDRV_disLS2DrainSrcMonitoringInt(void)
Disable LS2 Drain Source Monitoring Interrupt.
Definition: bdrv.h:939
INLINE uint8 BDRV_getSH3OvervoltageCompSts(void)
Get SH3 Overvoltage Comparator Status BDRV.STS.SH3_HIGH_STS.
Definition: bdrv.h:1178
INLINE uint8 BDRV_getExternalHS3MosfetOvercurrentIntSts(void)
Get External HS3 MOSFET Overcurrent Interrupt Status BDRV.IRQS.HS3_OC_IS.
Definition: bdrv.h:1386
INLINE void BDRV_disExternalHS1MosfetOvercurrentInt(void)
Disable External HS1 MOSFET Overcurrent Interrupt.
Definition: bdrv.h:890
INLINE uint8 BDRV_getExternalLS1MosfetOvercurrentIntSts(void)
Get External LS1 MOSFET Overcurrent Interrupt Status BDRV.IRQS.LS1_OC_IS.
Definition: bdrv.h:1341
INLINE void BDRV_disPh3ZCFallInt(void)
Disable Phase3 Zero Crossing Falling Interrupt.
Definition: bdrv.h:2421
INLINE uint8 BDRV_getHB3DischrgTimeMeasValidSts(void)
Get HB3 Switch-Off Measurement Values Valid Flag BDRV.HB3OFFVAL.HB3_OFFVALVF.
Definition: bdrv.h:2342
INLINE void BDRV_disHB2AdaptSeqInt(void)
Disable HB1 Adaptive Sequencer Interrupt.
Definition: bdrv.h:974
INLINE uint8 BDRV_getExternalHS2MosfetOvercurrentIntSts(void)
Get External HS2 MOSFET Overcurrent Interrupt Status BDRV.IRQS.HS2_OC_IS.
Definition: bdrv.h:1368
INLINE uint8 BDRV_getHB1MinT12ONReachedSts(void)
Get HB1 Min T12ON Value Reached BDRV.ASEQONSTS.HB1T12ONMIN.
Definition: bdrv.h:1679
INLINE uint8 BDRV_getLS3DrainSrcMonitoringIntSts(void)
Get LS3 Off-State Drain Source Monitoring Interrupt Status BDRV.IRQS.LS3_DS_IS.
Definition: bdrv.h:1431
INLINE void BDRV_clrHS1DrainSrcMonitoringIntSts(void)
Clear HS1 Off-State Drain Source Monitoring Interrupt Status BDRV.IRQCLR.HS1_DS_ISC.
Definition: bdrv.h:1568
INLINE uint8 BDRV_getExternalHS1MosfetOvercurrentSts(void)
Get External HS1 MOSFET Overcurrent Status BDRV.STS.HS1_OC_STS.
Definition: bdrv.h:1034
INLINE uint8 BDRV_getExternalHS2MosfetOvercurrentSts(void)
Get External HS2 MOSFET Overcurrent Status BDRV.STS.HS2_OC_STS.
Definition: bdrv.h:1052
enum BDRV_chCfg tBDRV_chCfg
INLINE uint8 BDRV_getHB3ChrgSlopeTime(void)
Get HB3 Switch-On Voltage Slope Time Value BDRV.HB3ONVAL.HB3_TONDUR.
Definition: bdrv.h:2247
INLINE uint8 BDRV_getHB1MaxI1OFFReachedSts(void)
Get HB1 Max I1OFF Value Reached BDRV.ASEQOFFSTS.HB1I1OFFMAX.
Definition: bdrv.h:1832
void BDRV_setPh2ZCFallIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Phase2 Zero Crossing Fall Interrupt Node Pointer.
INLINE void BDRV_disHB1ActDrvDetectInt(void)
Disable HB1 Active Driver Detection Interrupt.
Definition: bdrv.h:988
void BDRV_setLS1DrainSrcMonitoringIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Low Side 1 Drain-Source Monitoring Interrupt Node Pointer.
enum BDRV_currentCfg tBDRV_currentCfg
INLINE uint8 BDRV_getPh1ZCCompSts(void)
Get Phase1 Zero Crossing Comparator Status BDRV.BEMFC_CTRL.PH1_ZC_STS.
Definition: bdrv.h:2437
INLINE void BDRV_clrHB1AdaptSeqIntSts(void)
Clear HB1 Adaptive Sequencer Interrupt Status BDRV.IRQCLR.HB1_ASEQ_ISC.
Definition: bdrv.h:1603
INLINE uint8 BDRV_getHB1DischrgTimeMeasValidSts(void)
Get HB1 Switch-Off Measurement Values Valid Flag BDRV.HB1OFFVAL.HB1_OFFVALVF.
Definition: bdrv.h:2098
INLINE void BDRV_enExternalHS2MosfetOvercurrentInt(void)
Enable External HS2 MOSFET Overcurrent Interrupt.
Definition: bdrv.h:764
sint8 BDRV_init(void)
Initialize all CW registers of the BDRV module.
Definition: bdrv.c:111
INLINE void BDRV_clrHB2ChrgTimeMeasValidSts(void)
Clear HB2 Switch-On Measurement Values Valid Flag BDRV.HB2ONVAL.HB2_ONVALVF_CLR.
Definition: bdrv.h:2150
INLINE uint8 BDRV_getPh3ZCRiseIntSts(void)
Get Phase3 Zero Crossing Rising Interrupt Status BDRV.BEMFC_IRQS.PH3_ZCRISE_IS.
Definition: bdrv.h:2509
INLINE void BDRV_enHS1DrainSrcMonitoringInt(void)
Enable HS1 Drain Source Monitoring Interrupt.
Definition: bdrv.h:792
INLINE uint8 BDRV_getHB3DischrgPhase1Current(void)
Get HB3 Switch-Off Phase 1 Current Value From Adaptive Sequencer BDRV.HB3OFFVAL.HB3_I1OFFVAL.
Definition: bdrv.h:2299
INLINE void BDRV_disExternalHS2MosfetOvercurrentInt(void)
Disable External HS2 MOSFET Overcurrent Interrupt.
Definition: bdrv.h:904
INLINE uint8 BDRV_getHB3ChrgSlopeTimeMeasErr(void)
Get HB3 Switch-On Voltage Slope Time Measurement Value BDRV.HB3ONVAL.HB3_TONDURMERR.
Definition: bdrv.h:2256
INLINE void BDRV_clrPh3ZCFallIntSts(void)
Clear Phase3 Zero Crossing Falling Interrupt Status BDRV.BEMFC_IRQCLR.PH3_ZCFALL_ISC.
Definition: bdrv.h:2544
void BDRV_setExternalLS3MosfetOvercurrentIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Low Side 3 Overcurrent Interrupt Node Pointer.
INLINE void BDRV_clrHB2ActDrvDetectIntSts(void)
Clear HB2 Active Driver Detection Interrupt Status BDRV.IRQCLR.HB2_ACTDRV_ISC.
Definition: bdrv.h:1631
INLINE uint8 BDRV_getHB1ChrgActiveDrv(void)
Get HB1 Switch-On Active Driver BDRV.HB1ONVAL.HB1_ACTDRV_ON.
Definition: bdrv.h:2021
void BDRV_setHS1DrainSrcMonitoringIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set High Side 1 Drain-Source Monitoring Interrupt Node Pointer.
INLINE void BDRV_clrExternalLS2MosfetOvercurrentSts(void)
Clear External LS2 MOSFET Overcurrent Status BDRV.STSCLR.LS2_OC_SC.
Definition: bdrv.h:1262
INLINE uint8 BDRV_getHB2ChrgPhase1Current(void)
Get HB2 Switch-On Phase 1 Current Value From Adaptive Sequencer BDRV.HB2ONVAL.HB2_I1ONVAL.
Definition: bdrv.h:2116
tBDRV_offState BDRV_checkOpenLoad(void)
Off-State Diagnosis - Open-Load Detection.
Definition: bdrv.c:1400
uint8 BDRV_getFaults(void)
Read the fault information related to bridge driver and charge pump and provides them encoded in the ...
Definition: bdrv.c:1546
INLINE uint8 BDRV_getHS1DrainSrcMonitoringSts(void)
Get HS1 Off-State Drain Source Monitoring Status BDRV.STS.HS1_DS_STS.
Definition: bdrv.h:1088
INLINE void BDRV_disExternalLS3MosfetOvercurrentInt(void)
Disable External LS3 MOSFET Overcurrent Interrupt.
Definition: bdrv.h:911
BDRV_offStateDiag
This enum lists the states for off-state detection.
Definition: bdrv.h:172
INLINE uint8 BDRV_getHB2DischrgTimeMeasValidSts(void)
Get HB2 Switch-Off Measurement Values Valid Flag BDRV.HB2OFFVAL.HB2_OFFVALVF.
Definition: bdrv.h:2220
INLINE void BDRV_clrHS2DrainSrcMonitoringSts(void)
Clear HS2 Off-State Drain Source Monitoring Status BDRV.STSCLR.HS2_DS_SC.
Definition: bdrv.h:1311
INLINE uint8 BDRV_getHB2MaxI1ONReachedSts(void)
Get HB2 Max I1ON Value Reached BDRV.ASEQONSTS.HB2I1ONMAX.
Definition: bdrv.h:1724
void BDRV_setExternalHS3MosfetOvercurrentIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set High Side 3 Overcurrent Interrupt Node Pointer.
INLINE void BDRV_clrExternalHS2MosfetOvercurrentSts(void)
Clear External HS2 MOSFET Overcurrent Status BDRV.STSCLR.HS2_OC_SC.
Definition: bdrv.h:1269
INLINE uint8 BDRV_getLS2DrainSrcMonitoringSts(void)
Get LS2 Off-State Drain Source Monitoring Status BDRV.STS.LS2_DS_STS.
Definition: bdrv.h:1097
INLINE void BDRV_clrCPUndervoltageCompIntSts(void)
Clear Charge Pump Undervoltage Comparator Interrupt Status BDRV.IRQCLR.VCP_LOTH2_ISC.
Definition: bdrv.h:1652
INLINE uint8 BDRV_getVcpOvervoltageSts(void)
Get Vcp Overvoltage Status BDRV.STS.VCP_UPTH_STS.
Definition: bdrv.h:1205
sint8 BDRV_setHSDischrgSeqMode(tBDRV_hb e_hb, tBDRV_seqCfg s_seqDischrgCfg)
Set high-side discharge times and currents for sequencer mode.
Definition: bdrv.c:1143
INLINE void BDRV_clrHS3DrainSrcMonitoringSts(void)
Clear HS3 Off-State Drain Source Monitoring Status BDRV.STSCLR.HS3_DS_SC.
Definition: bdrv.h:1325
INLINE uint8 BDRV_getHB2MinT12ONReachedSts(void)
Get HB2 Min T12ON Value Reached BDRV.ASEQONSTS.HB2T12ONMIN.
Definition: bdrv.h:1733
INLINE void BDRV_clrHS1DrainSrcMonitoringSts(void)
Clear HS1 Off-State Drain Source Monitoring Status BDRV.STSCLR.HS1_DS_SC.
Definition: bdrv.h:1297
INLINE void BDRV_enLS3DrainSrcMonitoringInt(void)
Enable LS3 Drain Source Monitoring Interrupt.
Definition: bdrv.h:813
INLINE uint8 BDRV_getVsdOvervoltageCompSts(void)
Get Vsd Overvoltage Comparator Status BDRV.STS.VSD_OV_STS.
Definition: bdrv.h:1241
void BDRV_setPh1ZCFallIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Phase1 Zero Crossing Fall Interrupt Node Pointer.
INLINE uint8 BDRV_getHB3AdaptSeqChrgMeasFailSts(void)
Get HB3 Adaptive Sequencer Switch-On Measurement Failure BDRV.ASEQONSTS.HB3ONMF.
Definition: bdrv.h:1805
INLINE uint8 BDRV_getHB3MaxT12ONReachedSts(void)
Get HB3 Max T12ON Value Reached BDRV.ASEQONSTS.HB3T12ONMAX.
Definition: bdrv.h:1769
INLINE uint8 BDRV_getHB3ChrgTimeMeasValidSts(void)
Get HB3 Switch-On Measurement Values Valid Flag BDRV.HB3ONVAL.HB3_ONVALVF.
Definition: bdrv.h:2281
INLINE uint8 BDRV_getHB1MaxI1ONReachedSts(void)
Get HB1 Max I1ON Value Reached BDRV.ASEQONSTS.HB1I1ONMAX.
Definition: bdrv.h:1670
INLINE void BDRV_disLS3DrainSrcMonitoringInt(void)
Disable LS3 Drain Source Monitoring Interrupt.
Definition: bdrv.h:953
INLINE void BDRV_clrExternalLS3MosfetOvercurrentIntSts(void)
Clear External LS3 MOSFET Overcurrent Interrupt Status BDRV.IRQCLR.LS3_OC_ISC.
Definition: bdrv.h:1547
INLINE uint8 BDRV_getHB1DischrgDlyTime(void)
Get HB1 Switch-Off Delay Time Value Until Vsh Change BDRV.HB1OFFVAL.HB1_TOFFDLY.
Definition: bdrv.h:2046
INLINE void BDRV_clrHB3ActDrvDetectIntSts(void)
Clear HB3 Active Driver Detection Interrupt Status BDRV.IRQCLR.HB3_ACTDRV_ISC.
Definition: bdrv.h:1638
INLINE void BDRV_disHB3ActDrvDetectInt(void)
Disable HB3 Active Driver Detection Interrupt.
Definition: bdrv.h:1002
INLINE void BDRV_clrHS3DrainSrcMonitoringIntSts(void)
Clear HS3 Off-State Drain Source Monitoring Interrupt Status BDRV.IRQCLR.HS3_DS_ISC.
Definition: bdrv.h:1596
void BDRV_setHS2DrainSrcMonitoringIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set High Side 2 Drain-Source Monitoring Interrupt Node Pointer.
INLINE uint8 BDRV_getLS1DrainSrcMonitoringSts(void)
Get LS1 Off-State Drain Source Monitoring Status BDRV.STS.LS1_DS_STS.
Definition: bdrv.h:1079
sint8 BDRV_setHSChrgConstMode(tBDRV_hb e_hb, tBDRV_constCfg s_constChrgCfg)
Set high-side charge times and currents for constant mode.
Definition: bdrv.c:692
INLINE void BDRV_disExternalLS1MosfetOvercurrentInt(void)
Disable External LS1 MOSFET Overcurrent Interrupt.
Definition: bdrv.h:883
INLINE uint8 BDRV_getHB3MinT12ONReachedSts(void)
Get HB3 Min T12ON Value Reached BDRV.ASEQONSTS.HB3T12ONMIN.
Definition: bdrv.h:1787
INLINE void BDRV_enExternalHS3MosfetOvercurrentInt(void)
Enable External HS3 MOSFET Overcurrent Interrupt.
Definition: bdrv.h:778
INLINE uint8 BDRV_getExternalHS1MosfetOvercurrentIntSts(void)
Get External HS1 MOSFET Overcurrent Interrupt Status BDRV.IRQS.HS1_OC_IS.
Definition: bdrv.h:1350
INLINE void BDRV_clrPh1ZCRiseIntSts(void)
Clear Phase1 Zero Crossing Rising Interrupt Status BDRV.BEMFC_IRQCLR.PH1_ZCRISE_ISC.
Definition: bdrv.h:2523
INLINE uint8 BDRV_getHB1ChrgFailDrvSts(void)
Get HB1 Failed Gate Driver During Switch-On BDRV.ASEQONSTS.HB1ONFAILDRV.
Definition: bdrv.h:1706
INLINE uint8 BDRV_getHB3AdaptSeqDischrgMeasFailSts(void)
Get HB3 Adaptive Sequencer Switch-Off Measurement Failure BDRV.ASEQOFFSTS.HB3OFFMF.
Definition: bdrv.h:1967
INLINE void BDRV_clrPh1ZCFallIntSts(void)
Clear Phase1 Zero Crossing Falling Interrupt Status BDRV.BEMFC_IRQCLR.PH1_ZCFALL_ISC.
Definition: bdrv.h:2516
INLINE void BDRV_clrLS1DrainSrcMonitoringIntSts(void)
Clear LS1 Off-State Drain Source Monitoring Interrupt Status BDRV.IRQCLR.LS1_DS_ISC.
Definition: bdrv.h:1561
INLINE void BDRV_clrLS3DrainSrcMonitoringSts(void)
Clear LS3 Off-State Drain Source Monitoring Status BDRV.STSCLR.LS3_DS_SC.
Definition: bdrv.h:1318
INLINE void BDRV_disHS3DrainSrcMonitoringInt(void)
Disable HS3 Drain Source Monitoring Interrupt.
Definition: bdrv.h:960
INLINE void BDRV_clrExternalLS2MosfetOvercurrentIntSts(void)
Clear External LS2 MOSFET Overcurrent Interrupt Status BDRV.IRQCLR.LS2_OC_ISC.
Definition: bdrv.h:1533
INLINE void BDRV_clrHB1ActDrvDetectIntSts(void)
Clear HB1 Active Driver Detection Interrupt Status BDRV.IRQCLR.HB1_ACTDRV_ISC.
Definition: bdrv.h:1624
INLINE uint8 BDRV_getExternalLS2MosfetOvercurrentIntSts(void)
Get External LS2 MOSFET Overcurrent Interrupt Status BDRV.IRQS.LS2_OC_IS.
Definition: bdrv.h:1359
INLINE uint8 BDRV_getLS3DrainSrcMonitoringSts(void)
Get LS3 Off-State Drain Source Monitoring Status BDRV.STS.LS3_DS_STS.
Definition: bdrv.h:1115
INLINE uint8 BDRV_getHB2DischrgSlopeTimeMeasErr(void)
Get HB2 Switch-Off Voltage Slope Time Measurement Value BDRV.HB2OFFVAL.HB2_TOFFDURMERR.
Definition: bdrv.h:2195
INLINE uint8 BDRV_getHB1MaxT1OFFReachedSts(void)
Get HB1 Max T1OFF Value Reached BDRV.ASEQOFFSTS.HB1T1OFFMAX.
Definition: bdrv.h:1823
INLINE uint8 BDRV_getHB1MinT1OFFReachedSts(void)
Get HB1 Min T1OFF Value Reached BDRV.ASEQOFFSTS.HB1T1OFFMIN.
Definition: bdrv.h:1841
INLINE uint8 BDRV_getCPOverTempSts(void)
Get Charge Pump Over Temperature Status BDRV.STS.CP_OTSD_STS.
Definition: bdrv.h:1187
INLINE void BDRV_enExternalLS1MosfetOvercurrentInt(void)
Enable External LS1 MOSFET Overcurrent Interrupt.
Definition: bdrv.h:743
INLINE void BDRV_disLS1DrainSrcMonitoringInt(void)
Disable LS1 Drain Source Monitoring Interrupt.
Definition: bdrv.h:925
INLINE uint8 BDRV_getExternalLS3MosfetOvercurrentSts(void)
Get External LS3 MOSFET Overcurrent Status BDRV.STS.LS3_OC_STS.
Definition: bdrv.h:1061
INLINE uint8 BDRV_getHB3MaxI1OFFReachedSts(void)
Get HB3 Max I1OFF Value Reached BDRV.ASEQOFFSTS.HB3I1OFFMAX.
Definition: bdrv.h:1940
INLINE uint8 BDRV_getSH1UndervoltageCompSts(void)
Get SH1 Undervoltage Comparator Status BDRV.STS.SH1_LOW_STS.
Definition: bdrv.h:1133
@ BDRV_chCfg_off
Definition: bdrv.h:147
@ BDRV_chCfg_en
Channel disabled.
Definition: bdrv.h:148
@ BDRV_chCfg_pwm
Channel enabled.
Definition: bdrv.h:149
@ BDRV_chCfg_hsDcs
Channel enabled and static on.
Definition: bdrv.h:151
@ BDRV_chCfg_on
Channel enabled with PWM (CCU7 connection)
Definition: bdrv.h:150
@ BDRV_hb_2
Definition: bdrv.h:161
@ BDRV_hb_1
Definition: bdrv.h:160
@ BDRV_hb_3
Definition: bdrv.h:163
@ BDRV_currentCfg_54mA
Definition: bdrv.h:215
@ BDRV_currentCfg_125mA
Definition: bdrv.h:229
@ BDRV_currentCfg_207mA
Definition: bdrv.h:242
@ BDRV_currentCfg_5mA
Definition: bdrv.h:198
@ BDRV_currentCfg_63mA
Definition: bdrv.h:217
@ BDRV_currentCfg_228mA
Definition: bdrv.h:245
@ BDRV_currentCfg_7mA
Definition: bdrv.h:200
@ BDRV_currentCfg_214mA
Definition: bdrv.h:243
@ BDRV_currentCfg_167mA
Definition: bdrv.h:236
@ BDRV_currentCfg_9mA
Definition: bdrv.h:201
@ BDRV_currentCfg_174mA
Definition: bdrv.h:237
@ BDRV_currentCfg_310mA
Definition: bdrv.h:256
@ BDRV_currentCfg_42mA
Definition: bdrv.h:212
@ BDRV_currentCfg_15mA
Definition: bdrv.h:204
@ BDRV_currentCfg_200mA
Definition: bdrv.h:241
@ BDRV_currentCfg_257mA
Definition: bdrv.h:249
@ BDRV_currentCfg_279mA
Definition: bdrv.h:252
@ BDRV_currentCfg_6mA
Definition: bdrv.h:199
@ BDRV_currentCfg_194mA
Definition: bdrv.h:240
@ BDRV_currentCfg_97mA
Definition: bdrv.h:224
@ BDRV_currentCfg_13mA
Definition: bdrv.h:203
@ BDRV_currentCfg_87mA
Definition: bdrv.h:222
@ BDRV_currentCfg_108mA
Definition: bdrv.h:226
@ BDRV_currentCfg_11mA
Definition: bdrv.h:202
@ BDRV_currentCfg_155mA
Definition: bdrv.h:234
@ BDRV_currentCfg_137mA
Definition: bdrv.h:231
@ BDRV_currentCfg_58mA
Definition: bdrv.h:216
@ BDRV_currentCfg_350mA
Definition: bdrv.h:261
@ BDRV_currentCfg_242mA
Definition: bdrv.h:247
@ BDRV_currentCfg_249mA
Definition: bdrv.h:248
@ BDRV_currentCfg_342mA
Definition: bdrv.h:260
@ BDRV_currentCfg_27mA
Definition: bdrv.h:208
@ BDRV_currentCfg_119mA
Definition: bdrv.h:228
@ BDRV_currentCfg_103mA
Definition: bdrv.h:225
@ BDRV_currentCfg_272mA
Definition: bdrv.h:251
@ BDRV_currentCfg_334mA
Definition: bdrv.h:259
@ BDRV_currentCfg_114mA
Definition: bdrv.h:227
@ BDRV_currentCfg_72mA
Definition: bdrv.h:219
@ BDRV_currentCfg_326mA
Definition: bdrv.h:258
@ BDRV_currentCfg_287mA
Definition: bdrv.h:253
@ BDRV_currentCfg_264mA
Definition: bdrv.h:250
@ BDRV_currentCfg_67mA
Definition: bdrv.h:218
@ BDRV_currentCfg_235mA
Definition: bdrv.h:246
@ BDRV_currentCfg_34mA
Definition: bdrv.h:210
@ BDRV_currentCfg_50mA
Definition: bdrv.h:214
@ BDRV_currentCfg_82mA
Definition: bdrv.h:221
@ BDRV_currentCfg_221mA
Definition: bdrv.h:244
@ BDRV_currentCfg_294mA
Definition: bdrv.h:254
@ BDRV_currentCfg_38mA
Definition: bdrv.h:211
@ BDRV_currentCfg_46mA
Definition: bdrv.h:213
@ BDRV_currentCfg_92mA
Definition: bdrv.h:223
@ BDRV_currentCfg_24mA
Definition: bdrv.h:207
@ BDRV_currentCfg_77mA
Definition: bdrv.h:220
@ BDRV_currentCfg_180mA
Definition: bdrv.h:238
@ BDRV_currentCfg_31mA
Definition: bdrv.h:209
@ BDRV_currentCfg_143mA
Definition: bdrv.h:232
@ BDRV_currentCfg_149mA
Definition: bdrv.h:233
@ BDRV_currentCfg_187mA
Definition: bdrv.h:239
@ BDRV_currentCfg_318mA
Definition: bdrv.h:257
@ BDRV_currentCfg_161mA
Definition: bdrv.h:235
@ BDRV_currentCfg_302mA
Definition: bdrv.h:255
@ BDRV_currentCfg_131mA
Definition: bdrv.h:230
@ BDRV_currentCfg_21mA
Definition: bdrv.h:206
@ BDRV_currentCfg_18mA
Definition: bdrv.h:205
@ BDRV_offStateDiag_short2bat
Definition: bdrv.h:175
@ BDRV_offStateDiag_short2gnd
Definition: bdrv.h:174
@ BDRV_offStateDiag_openload
Definition: bdrv.h:176
@ BDRV_offStateDiag_ok
Definition: bdrv.h:173
#define BDRV
Definition: internal/tle989x.h:25595
__attribute__((noreturn))
Definition: startup_tle989x.c:221
Definition: bdrv.h:183
tBDRV_offStateDiag e_offStateDiagPhase3
Definition: bdrv.h:188
tBDRV_offStateDiag e_offStateDiagPhase2
Definition: bdrv.h:186
tBDRV_offStateDiag e_offStateDiagPhase1
Definition: bdrv.h:185
bool b_globFailSts
Definition: bdrv.h:184
This struct lists the configuration for adaptive sequencer for one half-bridge.
Definition: bdrv.h:324
tBDRV_currentCfg e_aseqMinCurrent
Definition: bdrv.h:325
tBDRV_currentCfg e_aseqMaxCurrent
Definition: bdrv.h:327
uint16 u16_aseqMaxTime_ns
Definition: bdrv.h:328
uint16 u16_aseqMinTime_ns
Definition: bdrv.h:326
This struct lists the configuration in constant mode for one half-bridge.
Definition: bdrv.h:291
tBDRV_currentCfg e_constCurrentFW
Constant time of the active driver.
Definition: bdrv.h:294
uint16 u16_constTimeAct_ns
Constant current of the active driver.
Definition: bdrv.h:293
uint16 u16_constTimeFW_ns
Constant current of the free-wheeling driver.
Definition: bdrv.h:295
tBDRV_currentCfg e_constCurrentAct
Definition: bdrv.h:292
This struct lists the off-state diagnosis status for every phase.
This struct lists the configuration in sequencer mode for one half-bridge.
Definition: bdrv.h:305
tBDRV_currentCfg e_constCurrentFW
Sequencer time, phase 4 of the active driver.
Definition: bdrv.h:314
uint16 u16_seqPhase1TimeAct_ns
Sequencer current, phase 4 of the active driver.
Definition: bdrv.h:310
tBDRV_currentCfg e_seqPhase4CurrentAct
Sequencer current, phase 3 of the active driver.
Definition: bdrv.h:309
uint16 u16_constTimeFW_ns
Constant current of the free-wheeling driver.
Definition: bdrv.h:315
uint16 u16_seqPhase3TimeAct_ns
Sequencer time, phase 2 of the active driver.
Definition: bdrv.h:312
tBDRV_currentCfg e_seqPhase1CurrentAct
Definition: bdrv.h:306
tBDRV_currentCfg e_seqPhase2CurrentAct
Sequencer current, phase 1 of the active driver.
Definition: bdrv.h:307
uint16 u16_seqPhase2TimeAct_ns
Sequencer time, phase 1 of the active driver.
Definition: bdrv.h:311
uint16 u16_seqPhase4TimeAct_ns
Sequencer time, phase 3 of the active driver.
Definition: bdrv.h:313
tBDRV_currentCfg e_seqPhase3CurrentAct
Sequencer current, phase 2 of the active driver.
Definition: bdrv.h:308
Device specific memory layout defines and features.
General type declarations.
#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