20#ifndef STM32H7xx_LL_HRTIM_H
21#define STM32H7xx_LL_HRTIM_H
47static const uint16_t REG_OFFSET_TAB_TIMER[] =
57static const uint8_t REG_OFFSET_TAB_ADCxR[] =
65static const uint16_t REG_OFFSET_TAB_SETxR[] =
79static const uint16_t REG_OFFSET_TAB_OUTxR[] =
93static const uint8_t REG_OFFSET_TAB_EECR[] =
107static const uint8_t REG_OFFSET_TAB_FLTINR[] =
116static const uint32_t REG_MASK_TAB_UPDATETRIG[] =
126static const uint8_t REG_SHIFT_TAB_UPDATETRIG[] =
136static const uint8_t REG_SHIFT_TAB_EExSRC[] =
150static const uint32_t REG_MASK_TAB_UPDATEGATING[] =
160static const uint8_t REG_SHIFT_TAB_UPDATEGATING[] =
170static const uint8_t REG_SHIFT_TAB_OUTxR[] =
184static const uint8_t REG_SHIFT_TAB_OxSTAT[] =
198static const uint8_t REG_SHIFT_TAB_FLTxE[] =
217#define HRTIM_CR1_UDIS_MASK ((uint32_t)(HRTIM_CR1_MUDIS |\
224#define HRTIM_CR2_SWUPD_MASK ((uint32_t)(HRTIM_CR2_MSWU |\
231#define HRTIM_CR2_SWRST_MASK ((uint32_t)(HRTIM_CR2_MRST |\
238#define HRTIM_OENR_OEN_MASK ((uint32_t)(HRTIM_OENR_TA1OEN |\
249#define HRTIM_OENR_ODIS_MASK ((uint32_t)(HRTIM_ODISR_TA1ODIS |\
250 HRTIM_ODISR_TA2ODIS |\
251 HRTIM_ODISR_TB1ODIS |\
252 HRTIM_ODISR_TB2ODIS |\
253 HRTIM_ODISR_TC1ODIS |\
254 HRTIM_ODISR_TC2ODIS |\
255 HRTIM_ODISR_TD1ODIS |\
256 HRTIM_ODISR_TD2ODIS |\
257 HRTIM_ODISR_TE1ODIS |\
258 HRTIM_ODISR_TE2ODIS))
260#define HRTIM_OUT_CONFIG_MASK ((uint32_t)(HRTIM_OUTR_POL1 |\
267#define HRTIM_EE_CONFIG_MASK ((uint32_t)(HRTIM_EECR1_EE1SRC |\
268 HRTIM_EECR1_EE1POL |\
269 HRTIM_EECR1_EE1SNS |\
270 HRTIM_EECR1_EE1FAST))
272#define HRTIM_FLT_CONFIG_MASK ((uint32_t)(HRTIM_FLTINR1_FLT1P |\
273 HRTIM_FLTINR1_FLT1SRC))
275#define HRTIM_BM_CONFIG_MASK ((uint32_t)( HRTIM_BMCR_BMPRSC |\
297#define LL_HRTIM_ISR_FLT1 HRTIM_ISR_FLT1
298#define LL_HRTIM_ISR_FLT2 HRTIM_ISR_FLT2
299#define LL_HRTIM_ISR_FLT3 HRTIM_ISR_FLT3
300#define LL_HRTIM_ISR_FLT4 HRTIM_ISR_FLT4
301#define LL_HRTIM_ISR_FLT5 HRTIM_ISR_FLT5
302#define LL_HRTIM_ISR_SYSFLT HRTIM_ISR_SYSFLT
303#define LL_HRTIM_ISR_BMPER HRTIM_ISR_BMPER
305#define LL_HRTIM_MISR_MCMP1 HRTIM_MISR_MCMP1
306#define LL_HRTIM_MISR_MCMP2 HRTIM_MISR_MCMP2
307#define LL_HRTIM_MISR_MCMP3 HRTIM_MISR_MCMP3
308#define LL_HRTIM_MISR_MCMP4 HRTIM_MISR_MCMP4
309#define LL_HRTIM_MISR_MREP HRTIM_MISR_MREP
310#define LL_HRTIM_MISR_SYNC HRTIM_MISR_SYNC
311#define LL_HRTIM_MISR_MUPD HRTIM_MISR_MUPD
313#define LL_HRTIM_TIMISR_CMP1 HRTIM_TIMISR_CMP1
314#define LL_HRTIM_TIMISR_CMP2 HRTIM_TIMISR_CMP2
315#define LL_HRTIM_TIMISR_CMP3 HRTIM_TIMISR_CMP3
316#define LL_HRTIM_TIMISR_CMP4 HRTIM_TIMISR_CMP4
317#define LL_HRTIM_TIMISR_REP HRTIM_TIMISR_REP
318#define LL_HRTIM_TIMISR_UPD HRTIM_TIMISR_UPD
319#define LL_HRTIM_TIMISR_CPT1 HRTIM_TIMISR_CPT1
320#define LL_HRTIM_TIMISR_CPT2 HRTIM_TIMISR_CPT2
321#define LL_HRTIM_TIMISR_SET1 HRTIM_TIMISR_SET1
322#define LL_HRTIM_TIMISR_RST1 HRTIM_TIMISR_RST1
323#define LL_HRTIM_TIMISR_SET2 HRTIM_TIMISR_SET2
324#define LL_HRTIM_TIMISR_RST2 HRTIM_TIMISR_RST2
325#define LL_HRTIM_TIMISR_RST HRTIM_TIMISR_RST
326#define LL_HRTIM_TIMISR_DLYPRT HRTIM_TIMISR_DLYPRT
336#define LL_HRTIM_IER_FLT1IE HRTIM_IER_FLT1IE
337#define LL_HRTIM_IER_FLT2IE HRTIM_IER_FLT2IE
338#define LL_HRTIM_IER_FLT3IE HRTIM_IER_FLT3IE
339#define LL_HRTIM_IER_FLT4IE HRTIM_IER_FLT4IE
340#define LL_HRTIM_IER_FLT5IE HRTIM_IER_FLT5IE
341#define LL_HRTIM_IER_SYSFLTIE HRTIM_IER_SYSFLTIE
342#define LL_HRTIM_IER_BMPERIE HRTIM_IER_BMPERIE
344#define LL_HRTIM_MDIER_MCMP1IE HRTIM_MDIER_MCMP1IE
345#define LL_HRTIM_MDIER_MCMP2IE HRTIM_MDIER_MCMP2IE
346#define LL_HRTIM_MDIER_MCMP3IE HRTIM_MDIER_MCMP3IE
347#define LL_HRTIM_MDIER_MCMP4IE HRTIM_MDIER_MCMP4IE
348#define LL_HRTIM_MDIER_MREPIE HRTIM_MDIER_MREPIE
349#define LL_HRTIM_MDIER_SYNCIE HRTIM_MDIER_SYNCIE
350#define LL_HRTIM_MDIER_MUPDIE HRTIM_MDIER_MUPDIE
352#define LL_HRTIM_TIMDIER_CMP1IE HRTIM_TIMDIER_CMP1IE
353#define LL_HRTIM_TIMDIER_CMP2IE HRTIM_TIMDIER_CMP2IE
354#define LL_HRTIM_TIMDIER_CMP3IE HRTIM_TIMDIER_CMP3IE
355#define LL_HRTIM_TIMDIER_CMP4IE HRTIM_TIMDIER_CMP4IE
356#define LL_HRTIM_TIMDIER_REPIE HRTIM_TIMDIER_REPIE
357#define LL_HRTIM_TIMDIER_UPDIE HRTIM_TIMDIER_UPDIE
358#define LL_HRTIM_TIMDIER_CPT1IE HRTIM_TIMDIER_CPT1IE
359#define LL_HRTIM_TIMDIER_CPT2IE HRTIM_TIMDIER_CPT2IE
360#define LL_HRTIM_TIMDIER_SET1IE HRTIM_TIMDIER_SET1IE
361#define LL_HRTIM_TIMDIER_RST1IE HRTIM_TIMDIER_RST1IE
362#define LL_HRTIM_TIMDIER_SET2IE HRTIM_TIMDIER_SET2IE
363#define LL_HRTIM_TIMDIER_RST2IE HRTIM_TIMDIER_RST2IE
364#define LL_HRTIM_TIMDIER_RSTIE HRTIM_TIMDIER_RSTIE
365#define LL_HRTIM_TIMDIER_DLYPRTIE HRTIM_TIMDIER_DLYPRTIE
375#define LL_HRTIM_SYNCIN_SRC_NONE 0x00000000U
376#define LL_HRTIM_SYNCIN_SRC_TIM_EVENT (HRTIM_MCR_SYNC_IN_1)
377#define LL_HRTIM_SYNCIN_SRC_EXTERNAL_EVENT (HRTIM_MCR_SYNC_IN_1 | HRTIM_MCR_SYNC_IN_0)
387#define LL_HRTIM_SYNCOUT_SRC_MASTER_START 0x00000000U
388#define LL_HRTIM_SYNCOUT_SRC_MASTER_CMP1 (HRTIM_MCR_SYNC_SRC_0)
389#define LL_HRTIM_SYNCOUT_SRC_TIMA_START (HRTIM_MCR_SYNC_SRC_1)
390#define LL_HRTIM_SYNCOUT_SRC_TIMA_CMP1 (HRTIM_MCR_SYNC_SRC_1 | HRTIM_MCR_SYNC_SRC_0)
400#define LL_HRTIM_SYNCOUT_DISABLED 0x00000000U
401#define LL_HRTIM_SYNCOUT_POSITIVE_PULSE (HRTIM_MCR_SYNC_OUT_1)
402#define LL_HRTIM_SYNCOUT_NEGATIVE_PULSE (HRTIM_MCR_SYNC_OUT_1 | HRTIM_MCR_SYNC_OUT_0)
412#define LL_HRTIM_TIMER_NONE 0U
413#define LL_HRTIM_TIMER_MASTER HRTIM_MCR_MCEN
414#define LL_HRTIM_TIMER_A HRTIM_MCR_TACEN
415#define LL_HRTIM_TIMER_B HRTIM_MCR_TBCEN
416#define LL_HRTIM_TIMER_C HRTIM_MCR_TCCEN
417#define LL_HRTIM_TIMER_D HRTIM_MCR_TDCEN
418#define LL_HRTIM_TIMER_E HRTIM_MCR_TECEN
419#define LL_HRTIM_TIMER_X (HRTIM_MCR_TACEN |\
420 HRTIM_MCR_TBCEN | HRTIM_MCR_TCCEN |\
421 HRTIM_MCR_TDCEN | HRTIM_MCR_TECEN )
422#define LL_HRTIM_TIMER_ALL (LL_HRTIM_TIMER_MASTER | LL_HRTIM_TIMER_X)
433#define LL_HRTIM_OUTPUT_TA1 HRTIM_OENR_TA1OEN
434#define LL_HRTIM_OUTPUT_TA2 HRTIM_OENR_TA2OEN
435#define LL_HRTIM_OUTPUT_TB1 HRTIM_OENR_TB1OEN
436#define LL_HRTIM_OUTPUT_TB2 HRTIM_OENR_TB2OEN
437#define LL_HRTIM_OUTPUT_TC1 HRTIM_OENR_TC1OEN
438#define LL_HRTIM_OUTPUT_TC2 HRTIM_OENR_TC2OEN
439#define LL_HRTIM_OUTPUT_TD1 HRTIM_OENR_TD1OEN
440#define LL_HRTIM_OUTPUT_TD2 HRTIM_OENR_TD2OEN
441#define LL_HRTIM_OUTPUT_TE1 HRTIM_OENR_TE1OEN
442#define LL_HRTIM_OUTPUT_TE2 HRTIM_OENR_TE2OEN
452#define LL_HRTIM_COMPAREUNIT_2 HRTIM_TIMCR_DELCMP2
453#define LL_HRTIM_COMPAREUNIT_4 HRTIM_TIMCR_DELCMP4
463#define LL_HRTIM_CAPTUREUNIT_1 0
464#define LL_HRTIM_CAPTUREUNIT_2 1
474#define LL_HRTIM_FAULT_1 HRTIM_FLTR_FLT1EN
475#define LL_HRTIM_FAULT_2 HRTIM_FLTR_FLT2EN
476#define LL_HRTIM_FAULT_3 HRTIM_FLTR_FLT3EN
477#define LL_HRTIM_FAULT_4 HRTIM_FLTR_FLT4EN
478#define LL_HRTIM_FAULT_5 HRTIM_FLTR_FLT5EN
488#define LL_HRTIM_EVENT_1 ((uint32_t)0x00000001U)
489#define LL_HRTIM_EVENT_2 ((uint32_t)0x00000002U)
490#define LL_HRTIM_EVENT_3 ((uint32_t)0x00000004U)
491#define LL_HRTIM_EVENT_4 ((uint32_t)0x00000008U)
492#define LL_HRTIM_EVENT_5 ((uint32_t)0x00000010U)
493#define LL_HRTIM_EVENT_6 ((uint32_t)0x00000020U)
494#define LL_HRTIM_EVENT_7 ((uint32_t)0x00000040U)
495#define LL_HRTIM_EVENT_8 ((uint32_t)0x00000080U)
496#define LL_HRTIM_EVENT_9 ((uint32_t)0x00000100U)
497#define LL_HRTIM_EVENT_10 ((uint32_t)0x00000200U)
507#define LL_HRTIM_OUTPUTSTATE_IDLE ((uint32_t)0x00000001U)
508#define LL_HRTIM_OUTPUTSTATE_RUN ((uint32_t)0x00000002U)
509#define LL_HRTIM_OUTPUTSTATE_FAULT ((uint32_t)0x00000003U)
519#define LL_HRTIM_ADCTRIG_1 ((uint32_t)0x00000000U)
520#define LL_HRTIM_ADCTRIG_2 ((uint32_t)0x00000001U)
521#define LL_HRTIM_ADCTRIG_3 ((uint32_t)0x00000002U)
522#define LL_HRTIM_ADCTRIG_4 ((uint32_t)0x00000003U)
532#define LL_HRTIM_ADCTRIG_UPDATE_MASTER 0x00000000U
533#define LL_HRTIM_ADCTRIG_UPDATE_TIMER_A (HRTIM_CR1_ADC1USRC_0)
534#define LL_HRTIM_ADCTRIG_UPDATE_TIMER_B (HRTIM_CR1_ADC1USRC_1)
535#define LL_HRTIM_ADCTRIG_UPDATE_TIMER_C (HRTIM_CR1_ADC1USRC_1 | HRTIM_CR1_ADC1USRC_0)
536#define LL_HRTIM_ADCTRIG_UPDATE_TIMER_D (HRTIM_CR1_ADC1USRC_2)
537#define LL_HRTIM_ADCTRIG_UPDATE_TIMER_E (HRTIM_CR1_ADC1USRC_2 | HRTIM_CR1_ADC1USRC_0)
547#define LL_HRTIM_ADCTRIG_SRC13_NONE 0x00000000U
548#define LL_HRTIM_ADCTRIG_SRC13_MCMP1 HRTIM_ADC1R_AD1MC1
549#define LL_HRTIM_ADCTRIG_SRC13_MCMP2 HRTIM_ADC1R_AD1MC2
550#define LL_HRTIM_ADCTRIG_SRC13_MCMP3 HRTIM_ADC1R_AD1MC3
551#define LL_HRTIM_ADCTRIG_SRC13_MCMP4 HRTIM_ADC1R_AD1MC4
552#define LL_HRTIM_ADCTRIG_SRC13_MPER HRTIM_ADC1R_AD1MPER
553#define LL_HRTIM_ADCTRIG_SRC13_EEV1 HRTIM_ADC1R_AD1EEV1
554#define LL_HRTIM_ADCTRIG_SRC13_EEV2 HRTIM_ADC1R_AD1EEV2
555#define LL_HRTIM_ADCTRIG_SRC13_EEV3 HRTIM_ADC1R_AD1EEV3
556#define LL_HRTIM_ADCTRIG_SRC13_EEV4 HRTIM_ADC1R_AD1EEV4
557#define LL_HRTIM_ADCTRIG_SRC13_EEV5 HRTIM_ADC1R_AD1EEV5
558#define LL_HRTIM_ADCTRIG_SRC13_TIMACMP2 HRTIM_ADC1R_AD1TAC2
559#define LL_HRTIM_ADCTRIG_SRC13_TIMACMP3 HRTIM_ADC1R_AD1TAC3
560#define LL_HRTIM_ADCTRIG_SRC13_TIMACMP4 HRTIM_ADC1R_AD1TAC4
561#define LL_HRTIM_ADCTRIG_SRC13_TIMAPER HRTIM_ADC1R_AD1TAPER
562#define LL_HRTIM_ADCTRIG_SRC13_TIMARST HRTIM_ADC1R_AD1TARST
563#define LL_HRTIM_ADCTRIG_SRC13_TIMBCMP2 HRTIM_ADC1R_AD1TBC2
564#define LL_HRTIM_ADCTRIG_SRC13_TIMBCMP3 HRTIM_ADC1R_AD1TBC3
565#define LL_HRTIM_ADCTRIG_SRC13_TIMBCMP4 HRTIM_ADC1R_AD1TBC4
566#define LL_HRTIM_ADCTRIG_SRC13_TIMBPER HRTIM_ADC1R_AD1TBPER
567#define LL_HRTIM_ADCTRIG_SRC13_TIMBRST HRTIM_ADC1R_AD1TBRST
568#define LL_HRTIM_ADCTRIG_SRC13_TIMCCMP2 HRTIM_ADC1R_AD1TCC2
569#define LL_HRTIM_ADCTRIG_SRC13_TIMCCMP3 HRTIM_ADC1R_AD1TCC3
570#define LL_HRTIM_ADCTRIG_SRC13_TIMCCMP4 HRTIM_ADC1R_AD1TCC4
571#define LL_HRTIM_ADCTRIG_SRC13_TIMCPER HRTIM_ADC1R_AD1TCPER
572#define LL_HRTIM_ADCTRIG_SRC13_TIMDCMP2 HRTIM_ADC1R_AD1TDC2
573#define LL_HRTIM_ADCTRIG_SRC13_TIMDCMP3 HRTIM_ADC1R_AD1TDC3
574#define LL_HRTIM_ADCTRIG_SRC13_TIMDCMP4 HRTIM_ADC1R_AD1TDC4
575#define LL_HRTIM_ADCTRIG_SRC13_TIMDPER HRTIM_ADC1R_AD1TDPER
576#define LL_HRTIM_ADCTRIG_SRC13_TIMECMP2 HRTIM_ADC1R_AD1TEC2
577#define LL_HRTIM_ADCTRIG_SRC13_TIMECMP3 HRTIM_ADC1R_AD1TEC3
578#define LL_HRTIM_ADCTRIG_SRC13_TIMECMP4 HRTIM_ADC1R_AD1TEC4
579#define LL_HRTIM_ADCTRIG_SRC13_TIMEPER HRTIM_ADC1R_AD1TEPER
589#define LL_HRTIM_ADCTRIG_SRC24_NONE 0x00000000U
590#define LL_HRTIM_ADCTRIG_SRC24_MCMP1 HRTIM_ADC2R_AD2MC1
591#define LL_HRTIM_ADCTRIG_SRC24_MCMP2 HRTIM_ADC2R_AD2MC2
592#define LL_HRTIM_ADCTRIG_SRC24_MCMP3 HRTIM_ADC2R_AD2MC3
593#define LL_HRTIM_ADCTRIG_SRC24_MCMP4 HRTIM_ADC2R_AD2MC4
594#define LL_HRTIM_ADCTRIG_SRC24_MPER HRTIM_ADC2R_AD2MPER
595#define LL_HRTIM_ADCTRIG_SRC24_EEV6 HRTIM_ADC2R_AD2EEV6
596#define LL_HRTIM_ADCTRIG_SRC24_EEV7 HRTIM_ADC2R_AD2EEV7
597#define LL_HRTIM_ADCTRIG_SRC24_EEV8 HRTIM_ADC2R_AD2EEV8
598#define LL_HRTIM_ADCTRIG_SRC24_EEV9 HRTIM_ADC2R_AD2EEV9
599#define LL_HRTIM_ADCTRIG_SRC24_EEV10 HRTIM_ADC2R_AD2EEV10
600#define LL_HRTIM_ADCTRIG_SRC24_TIMACMP2 HRTIM_ADC2R_AD2TAC2
601#define LL_HRTIM_ADCTRIG_SRC24_TIMACMP3 HRTIM_ADC2R_AD2TAC3
602#define LL_HRTIM_ADCTRIG_SRC24_TIMACMP4 HRTIM_ADC2R_AD2TAC4
603#define LL_HRTIM_ADCTRIG_SRC24_TIMAPER HRTIM_ADC2R_AD2TAPER
604#define LL_HRTIM_ADCTRIG_SRC24_TIMBCMP2 HRTIM_ADC2R_AD2TBC2
605#define LL_HRTIM_ADCTRIG_SRC24_TIMBCMP3 HRTIM_ADC2R_AD2TBC3
606#define LL_HRTIM_ADCTRIG_SRC24_TIMBCMP4 HRTIM_ADC2R_AD2TBC4
607#define LL_HRTIM_ADCTRIG_SRC24_TIMBPER HRTIM_ADC2R_AD2TBPER
608#define LL_HRTIM_ADCTRIG_SRC24_TIMCCMP2 HRTIM_ADC2R_AD2TCC2
609#define LL_HRTIM_ADCTRIG_SRC24_TIMCCMP3 HRTIM_ADC2R_AD2TCC3
610#define LL_HRTIM_ADCTRIG_SRC24_TIMCCMP4 HRTIM_ADC2R_AD2TCC4
611#define LL_HRTIM_ADCTRIG_SRC24_TIMCPER HRTIM_ADC2R_AD2TCPER
612#define LL_HRTIM_ADCTRIG_SRC24_TIMCRST HRTIM_ADC2R_AD2TCRST
613#define LL_HRTIM_ADCTRIG_SRC24_TIMDCMP2 HRTIM_ADC2R_AD2TDC2
614#define LL_HRTIM_ADCTRIG_SRC24_TIMDCMP3 HRTIM_ADC2R_AD2TDC3
615#define LL_HRTIM_ADCTRIG_SRC24_TIMDCMP4 HRTIM_ADC2R_AD2TDC4
616#define LL_HRTIM_ADCTRIG_SRC24_TIMDPER HRTIM_ADC2R_AD2TDPER
617#define LL_HRTIM_ADCTRIG_SRC24_TIMDRST HRTIM_ADC2R_AD2TDRST
618#define LL_HRTIM_ADCTRIG_SRC24_TIMECMP2 HRTIM_ADC2R_AD2TEC2
619#define LL_HRTIM_ADCTRIG_SRC24_TIMECMP3 HRTIM_ADC2R_AD2TEC3
620#define LL_HRTIM_ADCTRIG_SRC24_TIMECMP4 HRTIM_ADC2R_AD2TEC4
621#define LL_HRTIM_ADCTRIG_SRC24_TIMERST HRTIM_ADC2R_AD2TERST
631#define LL_HRTIM_PRESCALERRATIO_DIV1 ((uint32_t)0x00000005U)
632#define LL_HRTIM_PRESCALERRATIO_DIV2 ((uint32_t)0x00000006U)
633#define LL_HRTIM_PRESCALERRATIO_DIV4 ((uint32_t)0x00000007U)
643#define LL_HRTIM_MODE_CONTINUOUS ((uint32_t)0x00000008U)
644#define LL_HRTIM_MODE_SINGLESHOT 0x00000000U
645#define LL_HRTIM_MODE_RETRIGGERABLE ((uint32_t)0x00000010U)
655#define LL_HRTIM_DACTRIG_NONE 0x00000000U
656#define LL_HRTIM_DACTRIG_DACTRIGOUT_1 (HRTIM_MCR_DACSYNC_0)
657#define LL_HRTIM_DACTRIG_DACTRIGOUT_2 (HRTIM_MCR_DACSYNC_1)
658#define LL_HRTIM_DACTRIG_DACTRIGOUT_3 (HRTIM_MCR_DACSYNC_1 | HRTIM_MCR_DACSYNC_0)
668#define LL_HRTIM_UPDATETRIG_NONE 0x00000000U
669#define LL_HRTIM_UPDATETRIG_MASTER HRTIM_TIMCR_MSTU
670#define LL_HRTIM_UPDATETRIG_TIMER_A HRTIM_TIMCR_TAU
671#define LL_HRTIM_UPDATETRIG_TIMER_B HRTIM_TIMCR_TBU
672#define LL_HRTIM_UPDATETRIG_TIMER_C HRTIM_TIMCR_TCU
673#define LL_HRTIM_UPDATETRIG_TIMER_D HRTIM_TIMCR_TDU
674#define LL_HRTIM_UPDATETRIG_TIMER_E HRTIM_TIMCR_TEU
675#define LL_HRTIM_UPDATETRIG_REPETITION HRTIM_TIMCR_TREPU
676#define LL_HRTIM_UPDATETRIG_RESET HRTIM_TIMCR_TRSTU
686#define LL_HRTIM_UPDATEGATING_INDEPENDENT 0x00000000U
687#define LL_HRTIM_UPDATEGATING_DMABURST (HRTIM_TIMCR_UPDGAT_0)
688#define LL_HRTIM_UPDATEGATING_DMABURST_UPDATE (HRTIM_TIMCR_UPDGAT_1)
689#define LL_HRTIM_UPDATEGATING_UPDEN1 (HRTIM_TIMCR_UPDGAT_1 | HRTIM_TIMCR_UPDGAT_0)
690#define LL_HRTIM_UPDATEGATING_UPDEN2 (HRTIM_TIMCR_UPDGAT_2)
691#define LL_HRTIM_UPDATEGATING_UPDEN3 (HRTIM_TIMCR_UPDGAT_2 | HRTIM_TIMCR_UPDGAT_0)
692#define LL_HRTIM_UPDATEGATING_UPDEN1_UPDATE (HRTIM_TIMCR_UPDGAT_2 | HRTIM_TIMCR_UPDGAT_1)
693#define LL_HRTIM_UPDATEGATING_UPDEN2_UPDATE (HRTIM_TIMCR_UPDGAT_2 | HRTIM_TIMCR_UPDGAT_1 | HRTIM_TIMCR_UPDGAT_0)
694#define LL_HRTIM_UPDATEGATING_UPDEN3_UPDATE (HRTIM_TIMCR_UPDGAT_3)
704#define LL_HRTIM_COMPAREMODE_REGULAR 0x00000000U
705#define LL_HRTIM_COMPAREMODE_DELAY_NOTIMEOUT (HRTIM_TIMCR_DELCMP2_0)
706#define LL_HRTIM_COMPAREMODE_DELAY_CMP1 (HRTIM_TIMCR_DELCMP2_1)
707#define LL_HRTIM_COMPAREMODE_DELAY_CMP3 (HRTIM_TIMCR_DELCMP2_1 | HRTIM_TIMCR_DELCMP2_0)
717#define LL_HRTIM_RESETTRIG_NONE 0x00000000U
718#define LL_HRTIM_RESETTRIG_UPDATE HRTIM_RSTR_UPDATE
719#define LL_HRTIM_RESETTRIG_CMP2 HRTIM_RSTR_CMP2
720#define LL_HRTIM_RESETTRIG_CMP4 HRTIM_RSTR_CMP4
721#define LL_HRTIM_RESETTRIG_MASTER_PER HRTIM_RSTR_MSTPER
722#define LL_HRTIM_RESETTRIG_MASTER_CMP1 HRTIM_RSTR_MSTCMP1
723#define LL_HRTIM_RESETTRIG_MASTER_CMP2 HRTIM_RSTR_MSTCMP2
724#define LL_HRTIM_RESETTRIG_MASTER_CMP3 HRTIM_RSTR_MSTCMP3
725#define LL_HRTIM_RESETTRIG_MASTER_CMP4 HRTIM_RSTR_MSTCMP4
726#define LL_HRTIM_RESETTRIG_EEV_1 HRTIM_RSTR_EXTEVNT1
727#define LL_HRTIM_RESETTRIG_EEV_2 HRTIM_RSTR_EXTEVNT2
728#define LL_HRTIM_RESETTRIG_EEV_3 HRTIM_RSTR_EXTEVNT3
729#define LL_HRTIM_RESETTRIG_EEV_4 HRTIM_RSTR_EXTEVNT4
730#define LL_HRTIM_RESETTRIG_EEV_5 HRTIM_RSTR_EXTEVNT5
731#define LL_HRTIM_RESETTRIG_EEV_6 HRTIM_RSTR_EXTEVNT6
732#define LL_HRTIM_RESETTRIG_EEV_7 HRTIM_RSTR_EXTEVNT7
733#define LL_HRTIM_RESETTRIG_EEV_8 HRTIM_RSTR_EXTEVNT8
734#define LL_HRTIM_RESETTRIG_EEV_9 HRTIM_RSTR_EXTEVNT9
735#define LL_HRTIM_RESETTRIG_EEV_10 HRTIM_RSTR_EXTEVNT10
736#define LL_HRTIM_RESETTRIG_OTHER1_CMP1 HRTIM_RSTR_TIMBCMP1
737#define LL_HRTIM_RESETTRIG_OTHER1_CMP2 HRTIM_RSTR_TIMBCMP2
738#define LL_HRTIM_RESETTRIG_OTHER1_CMP4 HRTIM_RSTR_TIMBCMP4
739#define LL_HRTIM_RESETTRIG_OTHER2_CMP1 HRTIM_RSTR_TIMCCMP1
740#define LL_HRTIM_RESETTRIG_OTHER2_CMP2 HRTIM_RSTR_TIMCCMP2
741#define LL_HRTIM_RESETTRIG_OTHER2_CMP4 HRTIM_RSTR_TIMCCMP4
742#define LL_HRTIM_RESETTRIG_OTHER3_CMP1 HRTIM_RSTR_TIMDCMP1
743#define LL_HRTIM_RESETTRIG_OTHER3_CMP2 HRTIM_RSTR_TIMDCMP2
744#define LL_HRTIM_RESETTRIG_OTHER3_CMP4 HRTIM_RSTR_TIMDCMP4
745#define LL_HRTIM_RESETTRIG_OTHER4_CMP1 HRTIM_RSTR_TIMECMP1
746#define LL_HRTIM_RESETTRIG_OTHER4_CMP2 HRTIM_RSTR_TIMECMP2
747#define LL_HRTIM_RESETTRIG_OTHER4_CMP4 HRTIM_RSTR_TIMECMP4
757#define LL_HRTIM_CAPTURETRIG_NONE ((uint32_t)0x00000000U)
758#define LL_HRTIM_CAPTURETRIG_UPDATE HRTIM_CPT1CR_UPDCPT
759#define LL_HRTIM_CAPTURETRIG_EEV_1 HRTIM_CPT1CR_EXEV1CPT
760#define LL_HRTIM_CAPTURETRIG_EEV_2 HRTIM_CPT1CR_EXEV2CPT
761#define LL_HRTIM_CAPTURETRIG_EEV_3 HRTIM_CPT1CR_EXEV3CPT
762#define LL_HRTIM_CAPTURETRIG_EEV_4 HRTIM_CPT1CR_EXEV4CPT
763#define LL_HRTIM_CAPTURETRIG_EEV_5 HRTIM_CPT1CR_EXEV5CPT
764#define LL_HRTIM_CAPTURETRIG_EEV_6 HRTIM_CPT1CR_EXEV6CPT
765#define LL_HRTIM_CAPTURETRIG_EEV_7 HRTIM_CPT1CR_EXEV7CPT
766#define LL_HRTIM_CAPTURETRIG_EEV_8 HRTIM_CPT1CR_EXEV8CPT
767#define LL_HRTIM_CAPTURETRIG_EEV_9 HRTIM_CPT1CR_EXEV9CPT
768#define LL_HRTIM_CAPTURETRIG_EEV_10 HRTIM_CPT1CR_EXEV10CPT
769#define LL_HRTIM_CAPTURETRIG_TA1_SET HRTIM_CPT1CR_TA1SET
770#define LL_HRTIM_CAPTURETRIG_TA1_RESET HRTIM_CPT1CR_TA1RST
771#define LL_HRTIM_CAPTURETRIG_TIMA_CMP1 HRTIM_CPT1CR_TIMACMP1
772#define LL_HRTIM_CAPTURETRIG_TIMA_CMP2 HRTIM_CPT1CR_TIMACMP2
773#define LL_HRTIM_CAPTURETRIG_TB1_SET HRTIM_CPT1CR_TB1SET
774#define LL_HRTIM_CAPTURETRIG_TB1_RESET HRTIM_CPT1CR_TB1RST
775#define LL_HRTIM_CAPTURETRIG_TIMB_CMP1 HRTIM_CPT1CR_TIMBCMP1
776#define LL_HRTIM_CAPTURETRIG_TIMB_CMP2 HRTIM_CPT1CR_TIMBCMP2
777#define LL_HRTIM_CAPTURETRIG_TC1_SET HRTIM_CPT1CR_TC1SET
778#define LL_HRTIM_CAPTURETRIG_TC1_RESET HRTIM_CPT1CR_TC1RST
779#define LL_HRTIM_CAPTURETRIG_TIMC_CMP1 HRTIM_CPT1CR_TIMCCMP1
780#define LL_HRTIM_CAPTURETRIG_TIMC_CMP2 HRTIM_CPT1CR_TIMCCMP2
781#define LL_HRTIM_CAPTURETRIG_TD1_SET HRTIM_CPT1CR_TD1SET
782#define LL_HRTIM_CAPTURETRIG_TD1_RESET HRTIM_CPT1CR_TD1RST
783#define LL_HRTIM_CAPTURETRIG_TIMD_CMP1 HRTIM_CPT1CR_TIMDCMP1
784#define LL_HRTIM_CAPTURETRIG_TIMD_CMP2 HRTIM_CPT1CR_TIMDCMP2
785#define LL_HRTIM_CAPTURETRIG_TE1_SET HRTIM_CPT1CR_TE1SET
786#define LL_HRTIM_CAPTURETRIG_TE1_RESET HRTIM_CPT1CR_TE1RST
787#define LL_HRTIM_CAPTURETRIG_TIME_CMP1 HRTIM_CPT1CR_TIMECMP1
788#define LL_HRTIM_CAPTURETRIG_TIME_CMP2 HRTIM_CPT1CR_TIMECMP2
798#define LL_HRTIM_DLYPRT_DELAYOUT1_EEV6 0x00000000U
799#define LL_HRTIM_DLYPRT_DELAYOUT2_EEV6 (HRTIM_OUTR_DLYPRT_0)
800#define LL_HRTIM_DLYPRT_DELAYBOTH_EEV6 (HRTIM_OUTR_DLYPRT_1)
801#define LL_HRTIM_DLYPRT_BALANCED_EEV6 (HRTIM_OUTR_DLYPRT_1 | HRTIM_OUTR_DLYPRT_0)
802#define LL_HRTIM_DLYPRT_DELAYOUT1_EEV7 (HRTIM_OUTR_DLYPRT_2)
803#define LL_HRTIM_DLYPRT_DELAYOUT2_EEV7 (HRTIM_OUTR_DLYPRT_2 | HRTIM_OUTR_DLYPRT_0)
804#define LL_HRTIM_DLYPRT_DELAYBOTH_EEV7 (HRTIM_OUTR_DLYPRT_2 | HRTIM_OUTR_DLYPRT_1)
805#define LL_HRTIM_DLYPRT_BALANCED_EEV7 (HRTIM_OUTR_DLYPRT_2 | HRTIM_OUTR_DLYPRT_1 | HRTIM_OUTR_DLYPRT_0)
807#define LL_HRTIM_DLYPRT_DELAYOUT1_EEV8 0x00000000U
808#define LL_HRTIM_DLYPRT_DELAYOUT2_EEV8 (HRTIM_OUTR_DLYPRT_0)
809#define LL_HRTIM_DLYPRT_DELAYBOTH_EEV8 (HRTIM_OUTR_DLYPRT_1)
810#define LL_HRTIM_DLYPRT_BALANCED_EEV8 (HRTIM_OUTR_DLYPRT_1 | HRTIM_OUTR_DLYPRT_0)
811#define LL_HRTIM_DLYPRT_DELAYOUT1_EEV9 (HRTIM_OUTR_DLYPRT_2)
812#define LL_HRTIM_DLYPRT_DELAYOUT2_EEV9 (HRTIM_OUTR_DLYPRT_2 | HRTIM_OUTR_DLYPRT_0)
813#define LL_HRTIM_DLYPRT_DELAYBOTH_EEV9 (HRTIM_OUTR_DLYPRT_2 | HRTIM_OUTR_DLYPRT_1)
814#define LL_HRTIM_DLYPRT_BALANCED_EEV9 (HRTIM_OUTR_DLYPRT_2 | HRTIM_OUTR_DLYPRT_1 | HRTIM_OUTR_DLYPRT_0)
824#define LL_HRTIM_BURSTMODE_MAINTAINCLOCK (uint32_t)0x000000
825#define LL_HRTIM_BURSTMODE_RESETCOUNTER (HRTIM_BMCR_MTBM)
835#define LL_HRTIM_BURSTDMA_NONE 0x00000000U
836#define LL_HRTIM_BURSTDMA_MCR (HRTIM_BDMUPR_MCR)
837#define LL_HRTIM_BURSTDMA_MICR (HRTIM_BDMUPR_MICR)
838#define LL_HRTIM_BURSTDMA_MDIER (HRTIM_BDMUPR_MDIER)
839#define LL_HRTIM_BURSTDMA_MCNT (HRTIM_BDMUPR_MCNT)
840#define LL_HRTIM_BURSTDMA_MPER (HRTIM_BDMUPR_MPER)
841#define LL_HRTIM_BURSTDMA_MREP (HRTIM_BDMUPR_MREP)
842#define LL_HRTIM_BURSTDMA_MCMP1 (HRTIM_BDMUPR_MCMP1)
843#define LL_HRTIM_BURSTDMA_MCMP2 (HRTIM_BDMUPR_MCMP2)
844#define LL_HRTIM_BURSTDMA_MCMP3 (HRTIM_BDMUPR_MCMP3)
845#define LL_HRTIM_BURSTDMA_MCMP4 (HRTIM_BDMUPR_MCMP4)
846#define LL_HRTIM_BURSTDMA_TIMMCR (HRTIM_BDTUPR_TIMCR)
847#define LL_HRTIM_BURSTDMA_TIMICR (HRTIM_BDTUPR_TIMICR)
848#define LL_HRTIM_BURSTDMA_TIMDIER (HRTIM_BDTUPR_TIMDIER)
849#define LL_HRTIM_BURSTDMA_TIMCNT (HRTIM_BDTUPR_TIMCNT)
850#define LL_HRTIM_BURSTDMA_TIMPER (HRTIM_BDTUPR_TIMPER)
851#define LL_HRTIM_BURSTDMA_TIMREP (HRTIM_BDTUPR_TIMREP)
852#define LL_HRTIM_BURSTDMA_TIMCMP1 (HRTIM_BDTUPR_TIMCMP1)
853#define LL_HRTIM_BURSTDMA_TIMCMP2 (HRTIM_BDTUPR_TIMCMP2)
854#define LL_HRTIM_BURSTDMA_TIMCMP3 (HRTIM_BDTUPR_TIMCMP3)
855#define LL_HRTIM_BURSTDMA_TIMCMP4 (HRTIM_BDTUPR_TIMCMP4)
856#define LL_HRTIM_BURSTDMA_TIMDTR (HRTIM_BDTUPR_TIMDTR)
857#define LL_HRTIM_BURSTDMA_TIMSET1R (HRTIM_BDTUPR_TIMSET1R)
858#define LL_HRTIM_BURSTDMA_TIMRST1R (HRTIM_BDTUPR_TIMRST1R)
859#define LL_HRTIM_BURSTDMA_TIMSET2R (HRTIM_BDTUPR_TIMSET2R)
860#define LL_HRTIM_BURSTDMA_TIMRST2R (HRTIM_BDTUPR_TIMRST2R)
861#define LL_HRTIM_BURSTDMA_TIMEEFR1 (HRTIM_BDTUPR_TIMEEFR1)
862#define LL_HRTIM_BURSTDMA_TIMEEFR2 (HRTIM_BDTUPR_TIMEEFR2)
863#define LL_HRTIM_BURSTDMA_TIMRSTR (HRTIM_BDTUPR_TIMRSTR)
864#define LL_HRTIM_BURSTDMA_TIMCHPR (HRTIM_BDTUPR_TIMCHPR)
865#define LL_HRTIM_BURSTDMA_TIMOUTR (HRTIM_BDTUPR_TIMOUTR)
866#define LL_HRTIM_BURSTDMA_TIMFLTR (HRTIM_BDTUPR_TIMFLTR)
876#define LL_HRTIM_CPPSTAT_OUTPUT1 ((uint32_t) 0x00000000U)
877#define LL_HRTIM_CPPSTAT_OUTPUT2 (HRTIM_TIMISR_CPPSTAT)
887#define LL_HRTIM_IPPSTAT_OUTPUT1 ((uint32_t) 0x00000000U)
888#define LL_HRTIM_IPPSTAT_OUTPUT2 (HRTIM_TIMISR_IPPSTAT)
898#define LL_HRTIM_EEFLTR_NONE (0x00000000U)
899#define LL_HRTIM_EEFLTR_BLANKINGCMP1 (HRTIM_EEFR1_EE1FLTR_0)
900#define LL_HRTIM_EEFLTR_BLANKINGCMP2 (HRTIM_EEFR1_EE1FLTR_1)
901#define LL_HRTIM_EEFLTR_BLANKINGCMP3 (HRTIM_EEFR1_EE1FLTR_1 | HRTIM_EEFR1_EE1FLTR_0)
902#define LL_HRTIM_EEFLTR_BLANKINGCMP4 (HRTIM_EEFR1_EE1FLTR_2)
903#define LL_HRTIM_EEFLTR_BLANKINGFLTR1 (HRTIM_EEFR1_EE1FLTR_2 | HRTIM_EEFR1_EE1FLTR_0)
904#define LL_HRTIM_EEFLTR_BLANKINGFLTR2 (HRTIM_EEFR1_EE1FLTR_2 | HRTIM_EEFR1_EE1FLTR_1)
905#define LL_HRTIM_EEFLTR_BLANKINGFLTR3 (HRTIM_EEFR1_EE1FLTR_2 | HRTIM_EEFR1_EE1FLTR_1 | HRTIM_EEFR1_EE1FLTR_0)
906#define LL_HRTIM_EEFLTR_BLANKINGFLTR4 (HRTIM_EEFR1_EE1FLTR_3)
907#define LL_HRTIM_EEFLTR_BLANKINGFLTR5 (HRTIM_EEFR1_EE1FLTR_3 | HRTIM_EEFR1_EE1FLTR_0)
908#define LL_HRTIM_EEFLTR_BLANKINGFLTR6 (HRTIM_EEFR1_EE1FLTR_3 | HRTIM_EEFR1_EE1FLTR_1)
909#define LL_HRTIM_EEFLTR_BLANKINGFLTR7 (HRTIM_EEFR1_EE1FLTR_3 | HRTIM_EEFR1_EE1FLTR_1 | HRTIM_EEFR1_EE1FLTR_0)
910#define LL_HRTIM_EEFLTR_BLANKINGFLTR8 (HRTIM_EEFR1_EE1FLTR_3 | HRTIM_EEFR1_EE1FLTR_2)
911#define LL_HRTIM_EEFLTR_WINDOWINGCMP2 (HRTIM_EEFR1_EE1FLTR_3 | HRTIM_EEFR1_EE1FLTR_2 | HRTIM_EEFR1_EE1FLTR_0)
912#define LL_HRTIM_EEFLTR_WINDOWINGCMP3 (HRTIM_EEFR1_EE1FLTR_3 | HRTIM_EEFR1_EE1FLTR_2 | HRTIM_EEFR1_EE1FLTR_1)
913#define LL_HRTIM_EEFLTR_WINDOWINGTIM (HRTIM_EEFR1_EE1FLTR_3 | HRTIM_EEFR1_EE1FLTR_2 | HRTIM_EEFR1_EE1FLTR_1 | HRTIM_EEFR1_EE1FLTR_0)
923#define LL_HRTIM_EELATCH_DISABLED 0x00000000U
924#define LL_HRTIM_EELATCH_ENABLED HRTIM_EEFR1_EE1LTCH
934#define LL_HRTIM_DT_PRESCALER_MUL8 0x00000000U
935#define LL_HRTIM_DT_PRESCALER_MUL4 (HRTIM_DTR_DTPRSC_0)
936#define LL_HRTIM_DT_PRESCALER_MUL2 (HRTIM_DTR_DTPRSC_1)
937#define LL_HRTIM_DT_PRESCALER_DIV1 (HRTIM_DTR_DTPRSC_1 | HRTIM_DTR_DTPRSC_0)
938#define LL_HRTIM_DT_PRESCALER_DIV2 (HRTIM_DTR_DTPRSC_2)
939#define LL_HRTIM_DT_PRESCALER_DIV4 (HRTIM_DTR_DTPRSC_2 | HRTIM_DTR_DTPRSC_0)
940#define LL_HRTIM_DT_PRESCALER_DIV8 (HRTIM_DTR_DTPRSC_2 | HRTIM_DTR_DTPRSC_1)
941#define LL_HRTIM_DT_PRESCALER_DIV16 (HRTIM_DTR_DTPRSC_2 | HRTIM_DTR_DTPRSC_1 | HRTIM_DTR_DTPRSC_0)
951#define LL_HRTIM_DT_RISING_POSITIVE 0x00000000U
952#define LL_HRTIM_DT_RISING_NEGATIVE (HRTIM_DTR_SDTR)
962#define LL_HRTIM_DT_FALLING_POSITIVE 0x00000000U
963#define LL_HRTIM_DT_FALLING_NEGATIVE (HRTIM_DTR_SDTF)
973#define LL_HRTIM_CHP_PRESCALER_DIV16 0x00000000U
974#define LL_HRTIM_CHP_PRESCALER_DIV32 (HRTIM_CHPR_CARFRQ_0)
975#define LL_HRTIM_CHP_PRESCALER_DIV48 (HRTIM_CHPR_CARFRQ_1)
976#define LL_HRTIM_CHP_PRESCALER_DIV64 (HRTIM_CHPR_CARFRQ_1 | HRTIM_CHPR_CARFRQ_0)
977#define LL_HRTIM_CHP_PRESCALER_DIV80 (HRTIM_CHPR_CARFRQ_2)
978#define LL_HRTIM_CHP_PRESCALER_DIV96 (HRTIM_CHPR_CARFRQ_2 | HRTIM_CHPR_CARFRQ_0)
979#define LL_HRTIM_CHP_PRESCALER_DIV112 (HRTIM_CHPR_CARFRQ_2 | HRTIM_CHPR_CARFRQ_1)
980#define LL_HRTIM_CHP_PRESCALER_DIV128 (HRTIM_CHPR_CARFRQ_2 | HRTIM_CHPR_CARFRQ_1 | HRTIM_CHPR_CARFRQ_0)
981#define LL_HRTIM_CHP_PRESCALER_DIV144 (HRTIM_CHPR_CARFRQ_3)
982#define LL_HRTIM_CHP_PRESCALER_DIV160 (HRTIM_CHPR_CARFRQ_3 | HRTIM_CHPR_CARFRQ_0)
983#define LL_HRTIM_CHP_PRESCALER_DIV176 (HRTIM_CHPR_CARFRQ_3 | HRTIM_CHPR_CARFRQ_1)
984#define LL_HRTIM_CHP_PRESCALER_DIV192 (HRTIM_CHPR_CARFRQ_3 | HRTIM_CHPR_CARFRQ_1 | HRTIM_CHPR_CARFRQ_0)
985#define LL_HRTIM_CHP_PRESCALER_DIV208 (HRTIM_CHPR_CARFRQ_3 | HRTIM_CHPR_CARFRQ_2)
986#define LL_HRTIM_CHP_PRESCALER_DIV224 (HRTIM_CHPR_CARFRQ_3 | HRTIM_CHPR_CARFRQ_2 | HRTIM_CHPR_CARFRQ_0)
987#define LL_HRTIM_CHP_PRESCALER_DIV240 (HRTIM_CHPR_CARFRQ_3 | HRTIM_CHPR_CARFRQ_2 | HRTIM_CHPR_CARFRQ_1)
988#define LL_HRTIM_CHP_PRESCALER_DIV256 (HRTIM_CHPR_CARFRQ_3 | HRTIM_CHPR_CARFRQ_2 | HRTIM_CHPR_CARFRQ_1 | HRTIM_CHPR_CARFRQ_0)
998#define LL_HRTIM_CHP_DUTYCYCLE_0 0x00000000U
999#define LL_HRTIM_CHP_DUTYCYCLE_125 (HRTIM_CHPR_CARDTY_0)
1000#define LL_HRTIM_CHP_DUTYCYCLE_250 (HRTIM_CHPR_CARDTY_1)
1001#define LL_HRTIM_CHP_DUTYCYCLE_375 (HRTIM_CHPR_CARDTY_1 | HRTIM_CHPR_CARDTY_0)
1002#define LL_HRTIM_CHP_DUTYCYCLE_500 (HRTIM_CHPR_CARDTY_2)
1003#define LL_HRTIM_CHP_DUTYCYCLE_625 (HRTIM_CHPR_CARDTY_2 | HRTIM_CHPR_CARDTY_0)
1004#define LL_HRTIM_CHP_DUTYCYCLE_750 (HRTIM_CHPR_CARDTY_2 | HRTIM_CHPR_CARDTY_1)
1005#define LL_HRTIM_CHP_DUTYCYCLE_875 (HRTIM_CHPR_CARDTY_2 | HRTIM_CHPR_CARDTY_1 | HRTIM_CHPR_CARDTY_0)
1015#define LL_HRTIM_CHP_PULSEWIDTH_16 0x00000000U
1016#define LL_HRTIM_CHP_PULSEWIDTH_32 (HRTIM_CHPR_STRPW_0)
1017#define LL_HRTIM_CHP_PULSEWIDTH_48 (HRTIM_CHPR_STRPW_1)
1018#define LL_HRTIM_CHP_PULSEWIDTH_64 (HRTIM_CHPR_STRPW_1 | HRTIM_CHPR_STRPW_0)
1019#define LL_HRTIM_CHP_PULSEWIDTH_80 (HRTIM_CHPR_STRPW_2)
1020#define LL_HRTIM_CHP_PULSEWIDTH_96 (HRTIM_CHPR_STRPW_2 | HRTIM_CHPR_STRPW_0)
1021#define LL_HRTIM_CHP_PULSEWIDTH_112 (HRTIM_CHPR_STRPW_2 | HRTIM_CHPR_STRPW_1)
1022#define LL_HRTIM_CHP_PULSEWIDTH_128 (HRTIM_CHPR_STRPW_2 | HRTIM_CHPR_STRPW_1 | HRTIM_CHPR_STRPW_0)
1023#define LL_HRTIM_CHP_PULSEWIDTH_144 (HRTIM_CHPR_STRPW_3)
1024#define LL_HRTIM_CHP_PULSEWIDTH_160 (HRTIM_CHPR_STRPW_3 | HRTIM_CHPR_STRPW_0)
1025#define LL_HRTIM_CHP_PULSEWIDTH_176 (HRTIM_CHPR_STRPW_3 | HRTIM_CHPR_STRPW_1)
1026#define LL_HRTIM_CHP_PULSEWIDTH_192 (HRTIM_CHPR_STRPW_3 | HRTIM_CHPR_STRPW_1 | HRTIM_CHPR_STRPW_0)
1027#define LL_HRTIM_CHP_PULSEWIDTH_208 (HRTIM_CHPR_STRPW_3 | HRTIM_CHPR_STRPW_2)
1028#define LL_HRTIM_CHP_PULSEWIDTH_224 (HRTIM_CHPR_STRPW_3 | HRTIM_CHPR_STRPW_2 | HRTIM_CHPR_STRPW_0)
1029#define LL_HRTIM_CHP_PULSEWIDTH_240 (HRTIM_CHPR_STRPW_3 | HRTIM_CHPR_STRPW_2 | HRTIM_CHPR_STRPW_1)
1030#define LL_HRTIM_CHP_PULSEWIDTH_256 (HRTIM_CHPR_STRPW_3 | HRTIM_CHPR_STRPW_2 | HRTIM_CHPR_STRPW_1 | HRTIM_CHPR_STRPW_0)
1040#define LL_HRTIM_CROSSBAR_NONE 0x00000000U
1041#define LL_HRTIM_CROSSBAR_RESYNC (HRTIM_SET1R_RESYNC)
1042#define LL_HRTIM_CROSSBAR_TIMPER (HRTIM_SET1R_PER)
1043#define LL_HRTIM_CROSSBAR_TIMCMP1 (HRTIM_SET1R_CMP1)
1044#define LL_HRTIM_CROSSBAR_TIMCMP2 (HRTIM_SET1R_CMP2)
1045#define LL_HRTIM_CROSSBAR_TIMCMP3 (HRTIM_SET1R_CMP3)
1046#define LL_HRTIM_CROSSBAR_TIMCMP4 (HRTIM_SET1R_CMP4)
1047#define LL_HRTIM_CROSSBAR_MASTERPER (HRTIM_SET1R_MSTPER)
1048#define LL_HRTIM_CROSSBAR_MASTERCMP1 (HRTIM_SET1R_MSTCMP1)
1049#define LL_HRTIM_CROSSBAR_MASTERCMP2 (HRTIM_SET1R_MSTCMP2)
1050#define LL_HRTIM_CROSSBAR_MASTERCMP3 (HRTIM_SET1R_MSTCMP3)
1051#define LL_HRTIM_CROSSBAR_MASTERCMP4 (HRTIM_SET1R_MSTCMP4)
1052#define LL_HRTIM_CROSSBAR_TIMEV_1 (HRTIM_SET1R_TIMEVNT1)
1053#define LL_HRTIM_CROSSBAR_TIMEV_2 (HRTIM_SET1R_TIMEVNT2)
1054#define LL_HRTIM_CROSSBAR_TIMEV_3 (HRTIM_SET1R_TIMEVNT3)
1055#define LL_HRTIM_CROSSBAR_TIMEV_4 (HRTIM_SET1R_TIMEVNT4)
1056#define LL_HRTIM_CROSSBAR_TIMEV_5 (HRTIM_SET1R_TIMEVNT5)
1057#define LL_HRTIM_CROSSBAR_TIMEV_6 (HRTIM_SET1R_TIMEVNT6)
1058#define LL_HRTIM_CROSSBAR_TIMEV_7 (HRTIM_SET1R_TIMEVNT7)
1059#define LL_HRTIM_CROSSBAR_TIMEV_8 (HRTIM_SET1R_TIMEVNT8)
1060#define LL_HRTIM_CROSSBAR_TIMEV_9 (HRTIM_SET1R_TIMEVNT9)
1061#define LL_HRTIM_CROSSBAR_EEV_1 (HRTIM_SET1R_EXTVNT1)
1062#define LL_HRTIM_CROSSBAR_EEV_2 (HRTIM_SET1R_EXTVNT2)
1063#define LL_HRTIM_CROSSBAR_EEV_3 (HRTIM_SET1R_EXTVNT3)
1064#define LL_HRTIM_CROSSBAR_EEV_4 (HRTIM_SET1R_EXTVNT4)
1065#define LL_HRTIM_CROSSBAR_EEV_5 (HRTIM_SET1R_EXTVNT5)
1066#define LL_HRTIM_CROSSBAR_EEV_6 (HRTIM_SET1R_EXTVNT6)
1067#define LL_HRTIM_CROSSBAR_EEV_7 (HRTIM_SET1R_EXTVNT7)
1068#define LL_HRTIM_CROSSBAR_EEV_8 (HRTIM_SET1R_EXTVNT8)
1069#define LL_HRTIM_CROSSBAR_EEV_9 (HRTIM_SET1R_EXTVNT9)
1070#define LL_HRTIM_CROSSBAR_EEV_10 (HRTIM_SET1R_EXTVNT10)
1071#define LL_HRTIM_CROSSBAR_UPDATE (HRTIM_SET1R_UPDATE)
1081#define LL_HRTIM_OUT_POSITIVE_POLARITY 0x00000000U
1082#define LL_HRTIM_OUT_NEGATIVE_POLARITY (HRTIM_OUTR_POL1)
1092#define LL_HRTIM_OUT_NO_IDLE 0x00000000U
1093#define LL_HRTIM_OUT_IDLE_WHEN_BURST (HRTIM_OUTR_IDLM1)
1103#define LL_HRTIM_HALF_MODE_DISABLED 0x000U
1104#define LL_HRTIM_HALF_MODE_ENABLE HRTIM_MCR_HALF
1114#define LL_HRTIM_OUT_IDLELEVEL_INACTIVE 0x00000000U
1115#define LL_HRTIM_OUT_IDLELEVEL_ACTIVE (HRTIM_OUTR_IDLES1)
1125#define LL_HRTIM_OUT_FAULTSTATE_NO_ACTION 0x00000000U
1126#define LL_HRTIM_OUT_FAULTSTATE_ACTIVE (HRTIM_OUTR_FAULT1_0)
1127#define LL_HRTIM_OUT_FAULTSTATE_INACTIVE (HRTIM_OUTR_FAULT1_1)
1128#define LL_HRTIM_OUT_FAULTSTATE_HIGHZ (HRTIM_OUTR_FAULT1_1 | HRTIM_OUTR_FAULT1_0)
1138#define LL_HRTIM_OUT_CHOPPERMODE_DISABLED 0x00000000U
1139#define LL_HRTIM_OUT_CHOPPERMODE_ENABLED (HRTIM_OUTR_CHP1)
1150#define LL_HRTIM_OUT_BM_ENTRYMODE_REGULAR 0x00000000U
1151#define LL_HRTIM_OUT_BM_ENTRYMODE_DELAYED (HRTIM_OUTR_DIDL1)
1160#define LL_HRTIM_OUT_LEVEL_INACTIVE 0x00000000U
1161#define LL_HRTIM_OUT_LEVEL_ACTIVE ((uint32_t)0x00000001)
1171#define LL_HRTIM_EE_SRC_1 0x00000000U
1172#define LL_HRTIM_EE_SRC_2 (HRTIM_EECR1_EE1SRC_0)
1173#define LL_HRTIM_EE_SRC_3 (HRTIM_EECR1_EE1SRC_1)
1174#define LL_HRTIM_EE_SRC_4 (HRTIM_EECR1_EE1SRC_1 | HRTIM_EECR1_EE1SRC_0)
1183#define LL_HRTIM_EE_POLARITY_HIGH 0x00000000U
1184#define LL_HRTIM_EE_POLARITY_LOW (HRTIM_EECR1_EE1POL)
1194#define LL_HRTIM_EE_SENSITIVITY_LEVEL 0x00000000U
1195#define LL_HRTIM_EE_SENSITIVITY_RISINGEDGE (HRTIM_EECR1_EE1SNS_0)
1196#define LL_HRTIM_EE_SENSITIVITY_FALLINGEDGE (HRTIM_EECR1_EE1SNS_1)
1197#define LL_HRTIM_EE_SENSITIVITY_BOTHEDGES (HRTIM_EECR1_EE1SNS_1 | HRTIM_EECR1_EE1SNS_0)
1207#define LL_HRTIM_EE_FASTMODE_DISABLE 0x00000000U
1208#define LL_HRTIM_EE_FASTMODE_ENABLE (HRTIM_EECR1_EE1FAST)
1218#define LL_HRTIM_EE_FILTER_NONE 0x00000000U
1219#define LL_HRTIM_EE_FILTER_1 (HRTIM_EECR3_EE6F_0)
1220#define LL_HRTIM_EE_FILTER_2 (HRTIM_EECR3_EE6F_1)
1221#define LL_HRTIM_EE_FILTER_3 (HRTIM_EECR3_EE6F_1 | HRTIM_EECR3_EE6F_0)
1222#define LL_HRTIM_EE_FILTER_4 (HRTIM_EECR3_EE6F_2)
1223#define LL_HRTIM_EE_FILTER_5 (HRTIM_EECR3_EE6F_2 | HRTIM_EECR3_EE6F_0)
1224#define LL_HRTIM_EE_FILTER_6 (HRTIM_EECR3_EE6F_2 | HRTIM_EECR3_EE6F_1)
1225#define LL_HRTIM_EE_FILTER_7 (HRTIM_EECR3_EE6F_2 | HRTIM_EECR3_EE6F_1 | HRTIM_EECR3_EE6F_0)
1226#define LL_HRTIM_EE_FILTER_8 (HRTIM_EECR3_EE6F_3)
1227#define LL_HRTIM_EE_FILTER_9 (HRTIM_EECR3_EE6F_3 | HRTIM_EECR3_EE6F_0)
1228#define LL_HRTIM_EE_FILTER_10 (HRTIM_EECR3_EE6F_3 | HRTIM_EECR3_EE6F_1)
1229#define LL_HRTIM_EE_FILTER_11 (HRTIM_EECR3_EE6F_3 | HRTIM_EECR3_EE6F_1 | HRTIM_EECR3_EE6F_0)
1230#define LL_HRTIM_EE_FILTER_12 (HRTIM_EECR3_EE6F_3 | HRTIM_EECR3_EE6F_2)
1231#define LL_HRTIM_EE_FILTER_13 (HRTIM_EECR3_EE6F_3 | HRTIM_EECR3_EE6F_2 | HRTIM_EECR3_EE6F_0)
1232#define LL_HRTIM_EE_FILTER_14 (HRTIM_EECR3_EE6F_3 | HRTIM_EECR3_EE6F_2 | HRTIM_EECR3_EE6F_1)
1233#define LL_HRTIM_EE_FILTER_15 (HRTIM_EECR3_EE6F_3 | HRTIM_EECR3_EE6F_2 | HRTIM_EECR3_EE6F_1 | HRTIM_EECR3_EE6F_0)
1243#define LL_HRTIM_EE_PRESCALER_DIV1 0x00000000U
1244#define LL_HRTIM_EE_PRESCALER_DIV2 (HRTIM_EECR3_EEVSD_0)
1245#define LL_HRTIM_EE_PRESCALER_DIV4 (HRTIM_EECR3_EEVSD_1)
1246#define LL_HRTIM_EE_PRESCALER_DIV8 (HRTIM_EECR3_EEVSD_1 | HRTIM_EECR3_EEVSD_0)
1256#define LL_HRTIM_FLT_SRC_DIGITALINPUT 0x00000000U
1257#define LL_HRTIM_FLT_SRC_INTERNAL HRTIM_FLTINR1_FLT1SRC
1267#define LL_HRTIM_FLT_POLARITY_LOW 0x00000000U
1268#define LL_HRTIM_FLT_POLARITY_HIGH (HRTIM_FLTINR1_FLT1P)
1278#define LL_HRTIM_FLT_FILTER_NONE 0x00000000U
1279#define LL_HRTIM_FLT_FILTER_1 (HRTIM_FLTINR1_FLT1F_0)
1280#define LL_HRTIM_FLT_FILTER_2 (HRTIM_FLTINR1_FLT1F_1)
1281#define LL_HRTIM_FLT_FILTER_3 (HRTIM_FLTINR1_FLT1F_1 | HRTIM_FLTINR1_FLT1F_0)
1282#define LL_HRTIM_FLT_FILTER_4 (HRTIM_FLTINR1_FLT1F_2)
1283#define LL_HRTIM_FLT_FILTER_5 (HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_0)
1284#define LL_HRTIM_FLT_FILTER_6 (HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_1)
1285#define LL_HRTIM_FLT_FILTER_7 (HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_1 | HRTIM_FLTINR1_FLT1F_0)
1286#define LL_HRTIM_FLT_FILTER_8 (HRTIM_FLTINR1_FLT1F_3)
1287#define LL_HRTIM_FLT_FILTER_9 (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_0)
1288#define LL_HRTIM_FLT_FILTER_10 (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_1)
1289#define LL_HRTIM_FLT_FILTER_11 (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_1 | HRTIM_FLTINR1_FLT1F_0)
1290#define LL_HRTIM_FLT_FILTER_12 (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_2)
1291#define LL_HRTIM_FLT_FILTER_13 (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_0)
1292#define LL_HRTIM_FLT_FILTER_14 (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_1)
1293#define LL_HRTIM_FLT_FILTER_15 (HRTIM_FLTINR1_FLT1F_3 | HRTIM_FLTINR1_FLT1F_2 | HRTIM_FLTINR1_FLT1F_1 | HRTIM_FLTINR1_FLT1F_0)
1303#define LL_HRTIM_FLT_PRESCALER_DIV1 0x00000000U
1304#define LL_HRTIM_FLT_PRESCALER_DIV2 (HRTIM_FLTINR2_FLTSD_0)
1305#define LL_HRTIM_FLT_PRESCALER_DIV4 (HRTIM_FLTINR2_FLTSD_1)
1306#define LL_HRTIM_FLT_PRESCALER_DIV8 (HRTIM_FLTINR2_FLTSD_1 | HRTIM_FLTINR2_FLTSD_0)
1316#define LL_HRTIM_BM_MODE_SINGLESHOT 0x00000000U
1317#define LL_HRTIM_BM_MODE_CONTINOUS (HRTIM_BMCR_BMOM)
1327#define LL_HRTIM_BM_CLKSRC_MASTER 0x00000000U
1328#define LL_HRTIM_BM_CLKSRC_TIMER_A (HRTIM_BMCR_BMCLK_0)
1329#define LL_HRTIM_BM_CLKSRC_TIMER_B (HRTIM_BMCR_BMCLK_1)
1330#define LL_HRTIM_BM_CLKSRC_TIMER_C (HRTIM_BMCR_BMCLK_1 | HRTIM_BMCR_BMCLK_0)
1331#define LL_HRTIM_BM_CLKSRC_TIMER_D (HRTIM_BMCR_BMCLK_2)
1332#define LL_HRTIM_BM_CLKSRC_TIMER_E (HRTIM_BMCR_BMCLK_2 | HRTIM_BMCR_BMCLK_0)
1333#define LL_HRTIM_BM_CLKSRC_TIM16_OC (HRTIM_BMCR_BMCLK_2 | HRTIM_BMCR_BMCLK_1)
1334#define LL_HRTIM_BM_CLKSRC_TIM17_OC (HRTIM_BMCR_BMCLK_2 | HRTIM_BMCR_BMCLK_1 | HRTIM_BMCR_BMCLK_0)
1335#define LL_HRTIM_BM_CLKSRC_TIM7_TRGO (HRTIM_BMCR_BMCLK_3)
1336#define LL_HRTIM_BM_CLKSRC_FHRTIM (HRTIM_BMCR_BMCLK_3 | HRTIM_BMCR_BMCLK_1)
1346#define LL_HRTIM_BM_PRESCALER_DIV1 0x00000000U
1347#define LL_HRTIM_BM_PRESCALER_DIV2 (HRTIM_BMCR_BMPRSC_0)
1348#define LL_HRTIM_BM_PRESCALER_DIV4 (HRTIM_BMCR_BMPRSC_1)
1349#define LL_HRTIM_BM_PRESCALER_DIV8 (HRTIM_BMCR_BMPRSC_1 | HRTIM_BMCR_BMPRSC_0)
1350#define LL_HRTIM_BM_PRESCALER_DIV16 (HRTIM_BMCR_BMPRSC_2)
1351#define LL_HRTIM_BM_PRESCALER_DIV32 (HRTIM_BMCR_BMPRSC_2 | HRTIM_BMCR_BMPRSC_0)
1352#define LL_HRTIM_BM_PRESCALER_DIV64 (HRTIM_BMCR_BMPRSC_2 | HRTIM_BMCR_BMPRSC_1)
1353#define LL_HRTIM_BM_PRESCALER_DIV128 (HRTIM_BMCR_BMPRSC_2 | HRTIM_BMCR_BMPRSC_1 | HRTIM_BMCR_BMPRSC_0)
1354#define LL_HRTIM_BM_PRESCALER_DIV256 (HRTIM_BMCR_BMPRSC_3)
1355#define LL_HRTIM_BM_PRESCALER_DIV512 (HRTIM_BMCR_BMPRSC_3 | HRTIM_BMCR_BMPRSC_0)
1356#define LL_HRTIM_BM_PRESCALER_DIV1024 (HRTIM_BMCR_BMPRSC_3 | HRTIM_BMCR_BMPRSC_1)
1357#define LL_HRTIM_BM_PRESCALER_DIV2048 (HRTIM_BMCR_BMPRSC_3 | HRTIM_BMCR_BMPRSC_1 | HRTIM_BMCR_BMPRSC_0)
1358#define LL_HRTIM_BM_PRESCALER_DIV4096 (HRTIM_BMCR_BMPRSC_3 | HRTIM_BMCR_BMPRSC_2)
1359#define LL_HRTIM_BM_PRESCALER_DIV8192 (HRTIM_BMCR_BMPRSC_3 | HRTIM_BMCR_BMPRSC_2 | HRTIM_BMCR_BMPRSC_0)
1360#define LL_HRTIM_BM_PRESCALER_DIV16384 (HRTIM_BMCR_BMPRSC_3 | HRTIM_BMCR_BMPRSC_2 | HRTIM_BMCR_BMPRSC_1)
1361#define LL_HRTIM_BM_PRESCALER_DIV32768 (HRTIM_BMCR_BMPRSC_3 | HRTIM_BMCR_BMPRSC_2 | HRTIM_BMCR_BMPRSC_1 | HRTIM_BMCR_BMPRSC_0)
1371#define LL_HRTIM_BM_TRIG_NONE 0x00000000U
1372#define LL_HRTIM_BM_TRIG_MASTER_RESET (HRTIM_BMTRGR_MSTRST)
1373#define LL_HRTIM_BM_TRIG_MASTER_REPETITION (HRTIM_BMTRGR_MSTREP)
1374#define LL_HRTIM_BM_TRIG_MASTER_CMP1 (HRTIM_BMTRGR_MSTCMP1)
1375#define LL_HRTIM_BM_TRIG_MASTER_CMP2 (HRTIM_BMTRGR_MSTCMP2)
1376#define LL_HRTIM_BM_TRIG_MASTER_CMP3 (HRTIM_BMTRGR_MSTCMP3)
1377#define LL_HRTIM_BM_TRIG_MASTER_CMP4 (HRTIM_BMTRGR_MSTCMP4)
1378#define LL_HRTIM_BM_TRIG_TIMA_RESET (HRTIM_BMTRGR_TARST)
1379#define LL_HRTIM_BM_TRIG_TIMA_REPETITION (HRTIM_BMTRGR_TAREP)
1380#define LL_HRTIM_BM_TRIG_TIMA_CMP1 (HRTIM_BMTRGR_TACMP1)
1381#define LL_HRTIM_BM_TRIG_TIMA_CMP2 (HRTIM_BMTRGR_TACMP2)
1382#define LL_HRTIM_BM_TRIG_TIMB_RESET (HRTIM_BMTRGR_TBRST)
1383#define LL_HRTIM_BM_TRIG_TIMB_REPETITION (HRTIM_BMTRGR_TBREP)
1384#define LL_HRTIM_BM_TRIG_TIMB_CMP1 (HRTIM_BMTRGR_TBCMP1)
1385#define LL_HRTIM_BM_TRIG_TIMB_CMP2 (HRTIM_BMTRGR_TBCMP2)
1386#define LL_HRTIM_BM_TRIG_TIMC_RESET (HRTIM_BMTRGR_TCRST)
1387#define LL_HRTIM_BM_TRIG_TIMC_REPETITION (HRTIM_BMTRGR_TCREP)
1388#define LL_HRTIM_BM_TRIG_TIMC_CMP1 (HRTIM_BMTRGR_TCCMP1)
1389#define LL_HRTIM_BM_TRIG_TIMC_CMP2 (HRTIM_BMTRGR_TCCMP2)
1390#define LL_HRTIM_BM_TRIG_TIMD_RESET (HRTIM_BMTRGR_TDRST)
1391#define LL_HRTIM_BM_TRIG_TIMD_REPETITION (HRTIM_BMTRGR_TDREP)
1392#define LL_HRTIM_BM_TRIG_TIMD_CMP1 (HRTIM_BMTRGR_TDCMP1)
1393#define LL_HRTIM_BM_TRIG_TIMD_CMP2 (HRTIM_BMTRGR_TDCMP2)
1394#define LL_HRTIM_BM_TRIG_TIME_RESET (HRTIM_BMTRGR_TERST)
1395#define LL_HRTIM_BM_TRIG_TIME_REPETITION (HRTIM_BMTRGR_TEREP)
1396#define LL_HRTIM_BM_TRIG_TIME_CMP1 (HRTIM_BMTRGR_TECMP1)
1397#define LL_HRTIM_BM_TRIG_TIME_CMP2 (HRTIM_BMTRGR_TECMP2)
1398#define LL_HRTIM_BM_TRIG_TIMA_EVENT7 (HRTIM_BMTRGR_TAEEV7)
1399#define LL_HRTIM_BM_TRIG_TIMD_EVENT8 (HRTIM_BMTRGR_TDEEV8)
1400#define LL_HRTIM_BM_TRIG_EVENT_7 (HRTIM_BMTRGR_EEV7)
1401#define LL_HRTIM_BM_TRIG_EVENT_8 (HRTIM_BMTRGR_EEV8)
1402#define LL_HRTIM_BM_TRIG_EVENT_ONCHIP (HRTIM_BMTRGR_OCHPEV)
1412#define LL_HRTIM_BM_STATUS_NORMAL 0x00000000U
1413#define LL_HRTIM_BM_STATUS_BURST_ONGOING HRTIM_BMCR_BMSTAT
1440#define LL_HRTIM_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VALUE__))
1448#define LL_HRTIM_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__)
1466#define __LL_HRTIM_GET_OUTPUT_STATE(__OUTPUT_STATUS_EN__, __OUTPUT_STATUS_DIS__)\
1467 (((__OUTPUT_STATUS_EN__) == 1) ? LL_HRTIM_OUTPUTSTATE_RUN :\
1468 ((__OUTPUT_STATUS_DIS__) == 0) ? LL_HRTIM_OUTPUTSTATE_IDLE : LL_HRTIM_OUTPUTSTATE_FAULT)
1498__STATIC_INLINE
void LL_HRTIM_SetSyncInSrc(
HRTIM_TypeDef *HRTIMx, uint32_t SyncInSrc)
1512__STATIC_INLINE uint32_t LL_HRTIM_GetSyncInSrc(
const HRTIM_TypeDef *HRTIMx)
1533__STATIC_INLINE
void LL_HRTIM_ConfigSyncOut(
HRTIM_TypeDef *HRTIMx, uint32_t Config, uint32_t Src)
1549__STATIC_INLINE
void LL_HRTIM_SetSyncOutConfig(
HRTIM_TypeDef *HRTIMx, uint32_t SyncOutConfig)
1563__STATIC_INLINE uint32_t LL_HRTIM_GetSyncOutConfig(
const HRTIM_TypeDef *HRTIMx)
1579__STATIC_INLINE
void LL_HRTIM_SetSyncOutSrc(
HRTIM_TypeDef *HRTIMx, uint32_t SyncOutSrc)
1594__STATIC_INLINE uint32_t LL_HRTIM_GetSyncOutSrc(
const HRTIM_TypeDef *HRTIMx)
1620__STATIC_INLINE
void LL_HRTIM_SuspendUpdate(
HRTIM_TypeDef *HRTIMx, uint32_t Timers)
1622 SET_BIT(HRTIMx->sCommonRegs.
CR1, ((Timers >> HRTIM_MCR_MCEN_Pos) & HRTIM_CR1_UDIS_MASK));
1644__STATIC_INLINE
void LL_HRTIM_ResumeUpdate(
HRTIM_TypeDef *HRTIMx, uint32_t Timers)
1646 CLEAR_BIT(HRTIMx->sCommonRegs.
CR1, ((Timers >> HRTIM_MCR_MCEN_Pos) & HRTIM_CR1_UDIS_MASK));
1668__STATIC_INLINE
void LL_HRTIM_ForceUpdate(
HRTIM_TypeDef *HRTIMx, uint32_t Timers)
1670 SET_BIT(HRTIMx->sCommonRegs.
CR2, ((Timers >> HRTIM_MCR_MCEN_Pos) & HRTIM_CR2_SWUPD_MASK));
1691__STATIC_INLINE
void LL_HRTIM_CounterReset(
HRTIM_TypeDef *HRTIMx, uint32_t Timers)
1693 SET_BIT(HRTIMx->sCommonRegs.
CR2, (((Timers >> HRTIM_MCR_MCEN_Pos) << HRTIM_CR2_MRST_Pos) & HRTIM_CR2_SWRST_MASK));
1722__STATIC_INLINE
void LL_HRTIM_EnableOutput(
HRTIM_TypeDef *HRTIMx, uint32_t Outputs)
1724 SET_BIT(HRTIMx->sCommonRegs.
OENR, (Outputs & HRTIM_OENR_OEN_MASK));
1753__STATIC_INLINE
void LL_HRTIM_DisableOutput(
HRTIM_TypeDef *HRTIMx, uint32_t Outputs)
1755 SET_BIT(HRTIMx->sCommonRegs.
ODISR, (Outputs & HRTIM_OENR_ODIS_MASK));
1784__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledOutput(
const HRTIM_TypeDef *HRTIMx, uint32_t Output)
1786 return ((READ_BIT(HRTIMx->sCommonRegs.
OENR, Output) == Output) ? 1UL : 0UL);
1815__STATIC_INLINE uint32_t LL_HRTIM_IsDisabledOutput(
const HRTIM_TypeDef *HRTIMx, uint32_t Output)
1817 return ((READ_BIT(HRTIMx->sCommonRegs.
OENR, Output) == 0U) ? 1UL : 0UL);
2041__STATIC_INLINE
void LL_HRTIM_ConfigADCTrig(
HRTIM_TypeDef *HRTIMx, uint32_t ADCTrig, uint32_t Update, uint32_t Src)
2043 uint32_t shift = ((3U * ADCTrig) & 0x1FU);
2044 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
ADC1R) +
2045 REG_OFFSET_TAB_ADCxR[ADCTrig]));
2047 WRITE_REG(*pReg, Src);
2074__STATIC_INLINE
void LL_HRTIM_SetADCTrigUpdate(
HRTIM_TypeDef *HRTIMx, uint32_t ADCTrig, uint32_t Update)
2076 uint32_t shift = ((3U * ADCTrig) & 0x1FU);
2100__STATIC_INLINE uint32_t LL_HRTIM_GetADCTrigUpdate(
const HRTIM_TypeDef *HRTIMx, uint32_t ADCTrig)
2102 const uint32_t shift = ((3U * ADCTrig) & 0x1FU);
2317__STATIC_INLINE
void LL_HRTIM_SetADCTrigSrc(
HRTIM_TypeDef *HRTIMx, uint32_t ADCTrig, uint32_t Src)
2319 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
ADC1R) +
2320 REG_OFFSET_TAB_ADCxR[ADCTrig]));
2321 WRITE_REG(*pReg, Src);
2534__STATIC_INLINE uint32_t LL_HRTIM_GetADCTrigSrc(
const HRTIM_TypeDef *HRTIMx, uint32_t ADCTrig)
2536 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
ADC1R) +
2537 REG_OFFSET_TAB_ADCxR[ADCTrig]));
2570__STATIC_INLINE
void LL_HRTIM_TIM_CounterEnable(
HRTIM_TypeDef *HRTIMx, uint32_t Timers)
2572 SET_BIT(HRTIMx->sMasterRegs.
MCR, Timers);
2593__STATIC_INLINE
void LL_HRTIM_TIM_CounterDisable(
HRTIM_TypeDef *HRTIMx, uint32_t Timers)
2595 CLEAR_BIT(HRTIMx->sMasterRegs.
MCR, Timers);
2616__STATIC_INLINE uint32_t LL_HRTIM_TIM_IsCounterEnabled(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
2618 return ((READ_BIT(HRTIMx->sMasterRegs.
MCR, Timer) == (Timer)) ? 1UL : 0UL);
2641__STATIC_INLINE
void LL_HRTIM_TIM_SetPrescaler(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Prescaler)
2643 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
2644 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
2665__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetPrescaler(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
2667 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
2668 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
2692__STATIC_INLINE
void LL_HRTIM_TIM_SetCounterMode(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Mode)
2694 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
2695 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
2718__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetCounterMode(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
2720 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
2721 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
2742__STATIC_INLINE
void LL_HRTIM_TIM_EnableHalfMode(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
2744 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
2745 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
2763__STATIC_INLINE
void LL_HRTIM_TIM_DisableHalfMode(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
2765 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
2766 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
2784__STATIC_INLINE uint32_t LL_HRTIM_TIM_IsEnabledHalfMode(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
2786 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
2787 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
2805__STATIC_INLINE
void LL_HRTIM_TIM_EnableStartOnSync(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
2807 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
2808 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
2826__STATIC_INLINE
void LL_HRTIM_TIM_DisableStartOnSync(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
2828 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
2829 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
2847__STATIC_INLINE uint32_t LL_HRTIM_TIM_IsEnabledStartOnSync(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
2849 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
2850 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
2869__STATIC_INLINE
void LL_HRTIM_TIM_EnableResetOnSync(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
2871 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
2872 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
2890__STATIC_INLINE
void LL_HRTIM_TIM_DisableResetOnSync(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
2892 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
2893 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
2911__STATIC_INLINE uint32_t LL_HRTIM_TIM_IsEnabledResetOnSync(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
2913 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
2914 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
2938__STATIC_INLINE
void LL_HRTIM_TIM_SetDACTrig(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t DACTrig)
2940 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
2941 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
2963__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetDACTrig(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
2965 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
2966 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
2987__STATIC_INLINE
void LL_HRTIM_TIM_EnablePreload(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
2989 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
2990 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
3008__STATIC_INLINE
void LL_HRTIM_TIM_DisablePreload(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3010 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3011 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
3029__STATIC_INLINE uint32_t LL_HRTIM_TIM_IsEnabledPreload(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3031 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3032 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
3073__STATIC_INLINE
void LL_HRTIM_TIM_SetUpdateTrig(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t UpdateTrig)
3075 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3076 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
3077 MODIFY_REG(*pReg, REG_MASK_TAB_UPDATETRIG[iTimer], UpdateTrig << REG_SHIFT_TAB_UPDATETRIG[iTimer]);
3114__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetUpdateTrig(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3116 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3117 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
3118 return (READ_BIT(*pReg, REG_MASK_TAB_UPDATETRIG[iTimer]) >> REG_SHIFT_TAB_UPDATETRIG[iTimer]);
3152__STATIC_INLINE
void LL_HRTIM_TIM_SetUpdateGating(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t UpdateGating)
3154 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3155 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
3156 MODIFY_REG(*pReg, REG_MASK_TAB_UPDATEGATING[iTimer], (UpdateGating << REG_SHIFT_TAB_UPDATEGATING[iTimer]));
3189__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetUpdateGating(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3191 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3192 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCR) + REG_OFFSET_TAB_TIMER[iTimer]));
3193 return (READ_BIT(*pReg, REG_MASK_TAB_UPDATEGATING[iTimer]) >> REG_SHIFT_TAB_UPDATEGATING[iTimer]);
3208__STATIC_INLINE
void LL_HRTIM_TIM_EnablePushPullMode(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3210 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
3211 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
TIMxCR) +
3212 REG_OFFSET_TAB_TIMER[iTimer]));
3228__STATIC_INLINE
void LL_HRTIM_TIM_DisablePushPullMode(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3230 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
3231 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
TIMxCR) +
3232 REG_OFFSET_TAB_TIMER[iTimer]));
3248__STATIC_INLINE uint32_t LL_HRTIM_TIM_IsEnabledPushPullMode(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3250 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
3251 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
TIMxCR) +
3252 REG_OFFSET_TAB_TIMER[iTimer]));
3278__STATIC_INLINE
void LL_HRTIM_TIM_SetCompareMode(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t CompareUnit,
3281 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
3282 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
TIMxCR) +
3283 REG_OFFSET_TAB_TIMER[iTimer]));
3284 uint32_t shift = (((uint32_t)POSITION_VAL(CompareUnit) - (uint32_t)POSITION_VAL(LL_HRTIM_COMPAREUNIT_2)) & 0x1FU);
3308__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetCompareMode(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t CompareUnit)
3310 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
3311 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
TIMxCR) +
3312 REG_OFFSET_TAB_TIMER[iTimer]));
3313 uint32_t shift = (((uint32_t)POSITION_VAL(CompareUnit) - (uint32_t)POSITION_VAL(LL_HRTIM_COMPAREUNIT_2)) & 0x1FU);
3338__STATIC_INLINE
void LL_HRTIM_TIM_SetCounter(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Counter)
3340 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3341 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCNTR) +
3342 REG_OFFSET_TAB_TIMER[iTimer]));
3360__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetCounter(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3362 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3363 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCNTR) +
3364 REG_OFFSET_TAB_TIMER[iTimer]));
3383__STATIC_INLINE
void LL_HRTIM_TIM_SetPeriod(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Period)
3385 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3386 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MPER) +
3387 REG_OFFSET_TAB_TIMER[iTimer]));
3405__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetPeriod(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3407 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3408 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MPER) +
3409 REG_OFFSET_TAB_TIMER[iTimer]));
3428__STATIC_INLINE
void LL_HRTIM_TIM_SetRepetition(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Repetition)
3430 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3431 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MREP) +
3432 REG_OFFSET_TAB_TIMER[iTimer]));
3450__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetRepetition(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3452 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3453 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MREP) +
3454 REG_OFFSET_TAB_TIMER[iTimer]));
3475__STATIC_INLINE
void LL_HRTIM_TIM_SetCompare1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t CompareValue)
3477 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3478 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCMP1R) +
3479 REG_OFFSET_TAB_TIMER[iTimer]));
3499__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetCompare1(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3501 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3502 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCMP1R) +
3503 REG_OFFSET_TAB_TIMER[iTimer]));
3524__STATIC_INLINE
void LL_HRTIM_TIM_SetCompare2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t CompareValue)
3526 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3527 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCMP2R) +
3528 REG_OFFSET_TAB_TIMER[iTimer]));
3548__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetCompare2(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3550 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3551 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCMP2R) +
3552 REG_OFFSET_TAB_TIMER[iTimer]));
3573__STATIC_INLINE
void LL_HRTIM_TIM_SetCompare3(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t CompareValue)
3575 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3576 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCMP3R) +
3577 REG_OFFSET_TAB_TIMER[iTimer]));
3597__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetCompare3(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3599 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3600 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCMP3R) +
3601 REG_OFFSET_TAB_TIMER[iTimer]));
3622__STATIC_INLINE
void LL_HRTIM_TIM_SetCompare4(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t CompareValue)
3624 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3625 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCMP4R) +
3626 REG_OFFSET_TAB_TIMER[iTimer]));
3646__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetCompare4(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3648 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
3649 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MCMP4R) +
3650 REG_OFFSET_TAB_TIMER[iTimer]));
3733__STATIC_INLINE
void LL_HRTIM_TIM_SetResetTrig(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t ResetTrig)
3735 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
3736 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
RSTxR) +
3737 REG_OFFSET_TAB_TIMER[iTimer]));
3738 WRITE_REG(*pReg, ResetTrig);
3813__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetResetTrig(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3815 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
3816 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
RSTxR) +
3817 REG_OFFSET_TAB_TIMER[iTimer]));
3818 return (READ_REG(*pReg));
3833__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetCapture1(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3835 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
3836 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
CPT1xR) +
3837 REG_OFFSET_TAB_TIMER[iTimer]));
3838 return (READ_REG(*pReg));
3853__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetCapture2(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
3855 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
3856 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
CPT2xR) +
3857 REG_OFFSET_TAB_TIMER[iTimer]));
3858 return (READ_REG(*pReg));
3940__STATIC_INLINE
void LL_HRTIM_TIM_SetCaptureTrig(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t CaptureUnit,
3941 uint32_t CaptureTrig)
3943 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
3944 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0U].
CPT1xCR) +
3945 REG_OFFSET_TAB_TIMER[iTimer] + (CaptureUnit * 4U)));
3946 WRITE_REG(*pReg, CaptureTrig);
4027__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetCaptureTrig(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t CaptureUnit)
4029 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4030 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0U].
CPT1xCR) +
4031 REG_OFFSET_TAB_TIMER[iTimer] + (CaptureUnit * 4U)));
4032 return (READ_REG(*pReg));
4047__STATIC_INLINE
void LL_HRTIM_TIM_EnableDeadTime(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
4049 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4050 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
4051 REG_OFFSET_TAB_TIMER[iTimer]));
4067__STATIC_INLINE
void LL_HRTIM_TIM_DisableDeadTime(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
4069 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4070 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
4071 REG_OFFSET_TAB_TIMER[iTimer]));
4087__STATIC_INLINE uint32_t LL_HRTIM_TIM_IsEnabledDeadTime(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
4089 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4090 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
4091 REG_OFFSET_TAB_TIMER[iTimer]));
4132__STATIC_INLINE
void LL_HRTIM_TIM_SetDLYPRTMode(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t DLYPRTMode)
4134 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4135 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
4136 REG_OFFSET_TAB_TIMER[iTimer]));
4173__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetDLYPRTMode(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
4175 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4176 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
4177 REG_OFFSET_TAB_TIMER[iTimer]));
4194__STATIC_INLINE
void LL_HRTIM_TIM_EnableDLYPRT(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
4196 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4197 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
4198 REG_OFFSET_TAB_TIMER[iTimer]));
4215__STATIC_INLINE
void LL_HRTIM_TIM_DisableDLYPRT(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
4217 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4218 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
4219 REG_OFFSET_TAB_TIMER[iTimer]));
4235__STATIC_INLINE uint32_t LL_HRTIM_TIM_IsEnabledDLYPRT(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
4237 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4238 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
4239 REG_OFFSET_TAB_TIMER[iTimer]));
4265__STATIC_INLINE
void LL_HRTIM_TIM_EnableFault(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Faults)
4267 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4268 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
FLTxR) +
4269 REG_OFFSET_TAB_TIMER[iTimer]));
4270 SET_BIT(*pReg, Faults);
4295__STATIC_INLINE
void LL_HRTIM_TIM_DisableFault(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Faults)
4297 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4298 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
FLTxR) +
4299 REG_OFFSET_TAB_TIMER[iTimer]));
4300 CLEAR_BIT(*pReg, Faults);
4325__STATIC_INLINE uint32_t LL_HRTIM_TIM_IsEnabledFault(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Fault)
4327 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4328 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
FLTxR) +
4329 REG_OFFSET_TAB_TIMER[iTimer]));
4331 return ((READ_BIT(*pReg, Fault) == (Fault)) ? 1UL : 0UL);
4347__STATIC_INLINE
void LL_HRTIM_TIM_LockFault(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
4349 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4350 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
FLTxR) +
4351 REG_OFFSET_TAB_TIMER[iTimer]));
4377__STATIC_INLINE
void LL_HRTIM_TIM_SetBurstModeOption(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t BurtsModeOption)
4379 uint32_t iTimer = (uint8_t)((POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos) & 0x1FU);
4380 MODIFY_REG(HRTIMx->sCommonRegs.
BMCR, Timer, BurtsModeOption << iTimer);
4403__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetBurstModeOption(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
4405 uint32_t iTimer = (uint8_t)((POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos) & 0x1FU);
4406 return (READ_BIT(HRTIMx->sCommonRegs.
BMCR, Timer) >> iTimer);
4489__STATIC_INLINE
void LL_HRTIM_TIM_ConfigBurstDMA(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Registers)
4492 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
4493 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
BDMUPR) + (4U * iTimer)));
4494 WRITE_REG(*pReg, Registers);
4512__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetCurrentPushPullStatus(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
4514 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
4515 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MISR) +
4516 REG_OFFSET_TAB_TIMER[iTimer]));
4534__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetIdlePushPullStatus(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
4536 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
4537 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MISR) +
4538 REG_OFFSET_TAB_TIMER[iTimer]));
4593__STATIC_INLINE
void LL_HRTIM_TIM_SetEventFilter(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Event, uint32_t Filter)
4595 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - POSITION_VAL(LL_HRTIM_TIMER_A));
4596 uint32_t iEvent = (uint8_t)(POSITION_VAL(Event) - POSITION_VAL(LL_HRTIM_EVENT_1));
4597 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
EEFxR1) +
4598 REG_OFFSET_TAB_TIMER[iTimer] + REG_OFFSET_TAB_EECR[iEvent]));
4599 MODIFY_REG(*pReg, (
HRTIM_EEFR1_EE1FLTR << REG_SHIFT_TAB_EExSRC[iEvent]), (Filter << REG_SHIFT_TAB_EExSRC[iEvent]));
4650__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetEventFilter(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Event)
4652 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - POSITION_VAL(LL_HRTIM_TIMER_A));
4653 uint32_t iEvent = (uint8_t)(POSITION_VAL(Event) - POSITION_VAL(LL_HRTIM_EVENT_1));
4654 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
EEFxR1) +
4655 REG_OFFSET_TAB_TIMER[iTimer] + REG_OFFSET_TAB_EECR[iEvent]));
4656 return (READ_BIT(*pReg, (uint32_t)(
HRTIM_EEFR1_EE1FLTR) << (REG_SHIFT_TAB_EExSRC[iEvent])) >> (REG_SHIFT_TAB_EExSRC[iEvent]));
4695__STATIC_INLINE
void LL_HRTIM_TIM_SetEventLatchStatus(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Event,
4696 uint32_t LatchStatus)
4698 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - POSITION_VAL(LL_HRTIM_TIMER_A));
4699 uint32_t iEvent = (uint8_t)(POSITION_VAL(Event) - POSITION_VAL(LL_HRTIM_EVENT_1));
4700 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
EEFxR1) +
4701 REG_OFFSET_TAB_TIMER[iTimer] + REG_OFFSET_TAB_EECR[iEvent]));
4702 MODIFY_REG(*pReg, (
HRTIM_EEFR1_EE1LTCH << REG_SHIFT_TAB_EExSRC[iEvent]), (LatchStatus << REG_SHIFT_TAB_EExSRC[iEvent]));
4739__STATIC_INLINE uint32_t LL_HRTIM_TIM_GetEventLatchStatus(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Event)
4741 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - POSITION_VAL(LL_HRTIM_TIMER_A));
4742 uint32_t iEvent = (uint8_t)(POSITION_VAL(Event) - POSITION_VAL(LL_HRTIM_EVENT_1));
4743 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
EEFxR1) +
4744 REG_OFFSET_TAB_TIMER[iTimer] + REG_OFFSET_TAB_EECR[iEvent]));
4745 return (READ_BIT(*pReg, (uint32_t)(
HRTIM_EEFR1_EE1LTCH) << REG_SHIFT_TAB_EExSRC[iEvent]) >> (REG_SHIFT_TAB_EExSRC[iEvent]));
4775__STATIC_INLINE
void LL_HRTIM_DT_Config(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Configuration)
4777 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4778 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
DTxR) +
4779 REG_OFFSET_TAB_TIMER[iTimer]));
4804__STATIC_INLINE
void LL_HRTIM_DT_SetPrescaler(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Prescaler)
4806 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4807 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
DTxR) +
4808 REG_OFFSET_TAB_TIMER[iTimer]));
4832__STATIC_INLINE uint32_t LL_HRTIM_DT_GetPrescaler(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
4834 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4835 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
DTxR) +
4836 REG_OFFSET_TAB_TIMER[iTimer]));
4853__STATIC_INLINE
void LL_HRTIM_DT_SetRisingValue(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t RisingValue)
4855 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4856 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
DTxR) +
4857 REG_OFFSET_TAB_TIMER[iTimer]));
4873__STATIC_INLINE uint32_t LL_HRTIM_DT_GetRisingValue(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
4875 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4876 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
DTxR) +
4877 REG_OFFSET_TAB_TIMER[iTimer]));
4896__STATIC_INLINE
void LL_HRTIM_DT_SetRisingSign(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t RisingSign)
4898 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4899 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
DTxR) +
4900 REG_OFFSET_TAB_TIMER[iTimer]));
4918__STATIC_INLINE uint32_t LL_HRTIM_DT_GetRisingSign(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
4920 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4921 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
DTxR) +
4922 REG_OFFSET_TAB_TIMER[iTimer]));
4939__STATIC_INLINE
void LL_HRTIM_DT_SetFallingValue(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t FallingValue)
4941 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4942 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
DTxR) +
4943 REG_OFFSET_TAB_TIMER[iTimer]));
4944 MODIFY_REG(*pReg,
HRTIM_DTR_DTF, FallingValue << HRTIM_DTR_DTF_Pos);
4959__STATIC_INLINE uint32_t LL_HRTIM_DT_GetFallingValue(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
4961 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4962 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
DTxR) +
4963 REG_OFFSET_TAB_TIMER[iTimer]));
4964 return ((READ_BIT(*pReg,
HRTIM_DTR_DTF)) >> HRTIM_DTR_DTF_Pos);
4982__STATIC_INLINE
void LL_HRTIM_DT_SetFallingSign(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t FallingSign)
4984 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
4985 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
DTxR) +
4986 REG_OFFSET_TAB_TIMER[iTimer]));
5004__STATIC_INLINE uint32_t LL_HRTIM_DT_GetFallingSign(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
5006 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
5007 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
DTxR) +
5008 REG_OFFSET_TAB_TIMER[iTimer]));
5024__STATIC_INLINE
void LL_HRTIM_DT_LockRising(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
5026 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
5027 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
DTxR) +
5028 REG_OFFSET_TAB_TIMER[iTimer]));
5044__STATIC_INLINE
void LL_HRTIM_DT_LockRisingSign(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
5046 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
5047 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
DTxR) +
5048 REG_OFFSET_TAB_TIMER[iTimer]));
5064__STATIC_INLINE
void LL_HRTIM_DT_LockFalling(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
5066 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
5067 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
DTxR) +
5068 REG_OFFSET_TAB_TIMER[iTimer]));
5084__STATIC_INLINE
void LL_HRTIM_DT_LockFallingSign(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
5086 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
5087 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
DTxR) +
5088 REG_OFFSET_TAB_TIMER[iTimer]));
5121__STATIC_INLINE
void LL_HRTIM_CHP_Config(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Configuration)
5123 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
5124 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
CHPxR) +
5125 REG_OFFSET_TAB_TIMER[iTimer]));
5161__STATIC_INLINE
void LL_HRTIM_CHP_SetPrescaler(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t Prescaler)
5163 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
5164 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
CHPxR) +
5165 REG_OFFSET_TAB_TIMER[iTimer]));
5197__STATIC_INLINE uint32_t LL_HRTIM_CHP_GetPrescaler(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
5199 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
5200 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
CHPxR) +
5201 REG_OFFSET_TAB_TIMER[iTimer]));
5229__STATIC_INLINE
void LL_HRTIM_CHP_SetDutyCycle(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t DutyCycle)
5231 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
5232 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
CHPxR) +
5233 REG_OFFSET_TAB_TIMER[iTimer]));
5257__STATIC_INLINE uint32_t LL_HRTIM_CHP_GetDutyCycle(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
5259 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
5260 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
CHPxR) +
5261 REG_OFFSET_TAB_TIMER[iTimer]));
5296__STATIC_INLINE
void LL_HRTIM_CHP_SetPulseWidth(
HRTIM_TypeDef *HRTIMx, uint32_t Timer, uint32_t PulseWidth)
5298 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
5299 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
CHPxR) +
5300 REG_OFFSET_TAB_TIMER[iTimer]));
5332__STATIC_INLINE uint32_t LL_HRTIM_CHP_GetPulseWidth(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
5334 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_TACEN_Pos);
5335 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
CHPxR) +
5336 REG_OFFSET_TAB_TIMER[iTimer]));
5462__STATIC_INLINE
void LL_HRTIM_OUT_SetOutputSetSrc(
HRTIM_TypeDef *HRTIMx, uint32_t Output, uint32_t SetSrc)
5464 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
5465 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
SETx1R) +
5466 REG_OFFSET_TAB_SETxR[iOutput]));
5467 WRITE_REG(*pReg, SetSrc);
5582__STATIC_INLINE uint32_t LL_HRTIM_OUT_GetOutputSetSrc(
const HRTIM_TypeDef *HRTIMx, uint32_t Output)
5584 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
5585 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
SETx1R) +
5586 REG_OFFSET_TAB_SETxR[iOutput]));
5587 return (uint32_t) READ_REG(*pReg);
5703__STATIC_INLINE
void LL_HRTIM_OUT_SetOutputResetSrc(
HRTIM_TypeDef *HRTIMx, uint32_t Output, uint32_t ResetSrc)
5705 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
5706 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
RSTx1R) +
5707 REG_OFFSET_TAB_SETxR[iOutput]));
5708 WRITE_REG(*pReg, ResetSrc);
5823__STATIC_INLINE uint32_t LL_HRTIM_OUT_GetOutputResetSrc(
const HRTIM_TypeDef *HRTIMx, uint32_t Output)
5825 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
5826 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
RSTx1R) +
5827 REG_OFFSET_TAB_SETxR[iOutput]));
5828 return (uint32_t) READ_REG(*pReg);
5866__STATIC_INLINE
void LL_HRTIM_OUT_Config(
HRTIM_TypeDef *HRTIMx, uint32_t Output, uint32_t Configuration)
5868 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
5869 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
5870 REG_OFFSET_TAB_OUTxR[iOutput]));
5871 MODIFY_REG(*pReg, (HRTIM_OUT_CONFIG_MASK << REG_SHIFT_TAB_OUTxR[iOutput]),
5872 (Configuration << REG_SHIFT_TAB_OUTxR[iOutput]));
5896__STATIC_INLINE
void LL_HRTIM_OUT_SetPolarity(
HRTIM_TypeDef *HRTIMx, uint32_t Output, uint32_t Polarity)
5898 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
5899 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
5900 REG_OFFSET_TAB_OUTxR[iOutput]));
5901 MODIFY_REG(*pReg, (
HRTIM_OUTR_POL1 << REG_SHIFT_TAB_OUTxR[iOutput]), (Polarity << REG_SHIFT_TAB_OUTxR[iOutput]));
5924__STATIC_INLINE uint32_t LL_HRTIM_OUT_GetPolarity(
const HRTIM_TypeDef *HRTIMx, uint32_t Output)
5926 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
5927 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
5928 REG_OFFSET_TAB_OUTxR[iOutput]));
5929 return (READ_BIT(*pReg, (uint32_t)(
HRTIM_OUTR_POL1) << REG_SHIFT_TAB_OUTxR[iOutput]) >> REG_SHIFT_TAB_OUTxR[iOutput]);
5954__STATIC_INLINE
void LL_HRTIM_OUT_SetIdleMode(
HRTIM_TypeDef *HRTIMx, uint32_t Output, uint32_t IdleMode)
5956 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
5957 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
5958 REG_OFFSET_TAB_OUTxR[iOutput]));
5959 MODIFY_REG(*pReg, (
HRTIM_OUTR_IDLM1 << (REG_SHIFT_TAB_OUTxR[iOutput])), (IdleMode << (REG_SHIFT_TAB_OUTxR[iOutput])));
5982__STATIC_INLINE uint32_t LL_HRTIM_OUT_GetIdleMode(
const HRTIM_TypeDef *HRTIMx, uint32_t Output)
5984 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
5985 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
5986 REG_OFFSET_TAB_OUTxR[iOutput]));
5987 return (READ_BIT(*pReg, (uint32_t)(
HRTIM_OUTR_IDLM1) << REG_SHIFT_TAB_OUTxR[iOutput]) >> REG_SHIFT_TAB_OUTxR[iOutput]);
6013__STATIC_INLINE
void LL_HRTIM_OUT_SetIdleLevel(
HRTIM_TypeDef *HRTIMx, uint32_t Output, uint32_t IdleLevel)
6015 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
6016 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
6017 REG_OFFSET_TAB_OUTxR[iOutput]));
6018 MODIFY_REG(*pReg, (
HRTIM_OUTR_IDLES1 << REG_SHIFT_TAB_OUTxR[iOutput]), (IdleLevel << REG_SHIFT_TAB_OUTxR[iOutput]));
6041__STATIC_INLINE uint32_t LL_HRTIM_OUT_GetIdleLevel(
const HRTIM_TypeDef *HRTIMx, uint32_t Output)
6043 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
6044 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
6045 REG_OFFSET_TAB_OUTxR[iOutput]));
6046 return (READ_BIT(*pReg, (uint32_t)(
HRTIM_OUTR_IDLES1) << REG_SHIFT_TAB_OUTxR[iOutput]) >> REG_SHIFT_TAB_OUTxR[iOutput]);
6074__STATIC_INLINE
void LL_HRTIM_OUT_SetFaultState(
HRTIM_TypeDef *HRTIMx, uint32_t Output, uint32_t FaultState)
6076 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
6077 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
6078 REG_OFFSET_TAB_OUTxR[iOutput]));
6079 MODIFY_REG(*pReg, (
HRTIM_OUTR_FAULT1 << REG_SHIFT_TAB_OUTxR[iOutput]), (FaultState << REG_SHIFT_TAB_OUTxR[iOutput]));
6104__STATIC_INLINE uint32_t LL_HRTIM_OUT_GetFaultState(
const HRTIM_TypeDef *HRTIMx, uint32_t Output)
6106 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
6107 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
6108 REG_OFFSET_TAB_OUTxR[iOutput]));
6109 return (READ_BIT(*pReg, (uint32_t)(
HRTIM_OUTR_FAULT1) << REG_SHIFT_TAB_OUTxR[iOutput]) >> REG_SHIFT_TAB_OUTxR[iOutput]);
6134__STATIC_INLINE
void LL_HRTIM_OUT_SetChopperMode(
HRTIM_TypeDef *HRTIMx, uint32_t Output, uint32_t ChopperMode)
6136 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
6137 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
6138 REG_OFFSET_TAB_OUTxR[iOutput]));
6139 MODIFY_REG(*pReg, (
HRTIM_OUTR_CHP1 << REG_SHIFT_TAB_OUTxR[iOutput]), (ChopperMode << REG_SHIFT_TAB_OUTxR[iOutput]));
6162__STATIC_INLINE uint32_t LL_HRTIM_OUT_GetChopperMode(
const HRTIM_TypeDef *HRTIMx, uint32_t Output)
6164 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
6165 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
6166 REG_OFFSET_TAB_OUTxR[iOutput]));
6167 return (READ_BIT(*pReg, (uint32_t)(
HRTIM_OUTR_CHP1) << REG_SHIFT_TAB_OUTxR[iOutput]) >> REG_SHIFT_TAB_OUTxR[iOutput]);
6192__STATIC_INLINE
void LL_HRTIM_OUT_SetBMEntryMode(
HRTIM_TypeDef *HRTIMx, uint32_t Output, uint32_t BMEntryMode)
6194 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
6195 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
6196 REG_OFFSET_TAB_OUTxR[iOutput]));
6197 MODIFY_REG(*pReg, (
HRTIM_OUTR_DIDL1 << REG_SHIFT_TAB_OUTxR[iOutput]), (BMEntryMode << REG_SHIFT_TAB_OUTxR[iOutput]));
6220__STATIC_INLINE uint32_t LL_HRTIM_OUT_GetBMEntryMode(
const HRTIM_TypeDef *HRTIMx, uint32_t Output)
6222 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
6223 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
OUTxR) +
6224 REG_OFFSET_TAB_OUTxR[iOutput]));
6225 return (READ_BIT(*pReg, (uint32_t)(
HRTIM_OUTR_DIDL1) << REG_SHIFT_TAB_OUTxR[iOutput]) >> REG_SHIFT_TAB_OUTxR[iOutput]);
6249__STATIC_INLINE uint32_t LL_HRTIM_OUT_GetDLYPRTOutStatus(
const HRTIM_TypeDef *HRTIMx, uint32_t Output)
6251 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
6252 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
TIMxISR) +
6253 REG_OFFSET_TAB_OUTxR[iOutput]));
6254 return ((READ_BIT(*pReg, (uint32_t)(
HRTIM_TIMISR_O1STAT) << REG_SHIFT_TAB_OxSTAT[iOutput]) >> REG_SHIFT_TAB_OxSTAT[iOutput]) >>
6255 HRTIM_TIMISR_O1STAT_Pos);
6281__STATIC_INLINE
void LL_HRTIM_OUT_ForceLevel(
HRTIM_TypeDef *HRTIMx, uint32_t Output, uint32_t OutputLevel)
6283 const uint8_t REG_OFFSET_TAB_OUT_LEVEL[] =
6289 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
6290 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
SETx1R) +
6291 REG_OFFSET_TAB_SETxR[iOutput] + REG_OFFSET_TAB_OUT_LEVEL[OutputLevel]));
6315__STATIC_INLINE uint32_t LL_HRTIM_OUT_GetLevel(
const HRTIM_TypeDef *HRTIMx, uint32_t Output)
6317 uint32_t iOutput = (uint8_t)(POSITION_VAL(Output) - POSITION_VAL(LL_HRTIM_OUTPUT_TA1));
6318 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sTimerxRegs[0].
TIMxISR) +
6319 REG_OFFSET_TAB_OUTxR[iOutput]));
6320 return ((READ_BIT(*pReg, (uint32_t)(
HRTIM_TIMISR_O1CPY) << REG_SHIFT_TAB_OxSTAT[iOutput]) >> REG_SHIFT_TAB_OxSTAT[iOutput]) >>
6321 HRTIM_TIMISR_O1CPY_Pos);
6397__STATIC_INLINE
void LL_HRTIM_EE_Config(
HRTIM_TypeDef *HRTIMx, uint32_t Event, uint32_t Configuration)
6399 uint32_t iEvent = (uint8_t)(POSITION_VAL(Event) - POSITION_VAL(LL_HRTIM_EVENT_1));
6400 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
EECR1) +
6401 REG_OFFSET_TAB_EECR[iEvent]));
6402 MODIFY_REG(*pReg, (HRTIM_EE_CONFIG_MASK << REG_SHIFT_TAB_EExSRC[iEvent]),
6403 (Configuration << REG_SHIFT_TAB_EExSRC[iEvent]));
6437__STATIC_INLINE
void LL_HRTIM_EE_SetSrc(
HRTIM_TypeDef *HRTIMx, uint32_t Event, uint32_t Src)
6439 uint32_t iEvent = (uint8_t)(POSITION_VAL(Event) - POSITION_VAL(LL_HRTIM_EVENT_1));
6440 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
EECR1) +
6441 REG_OFFSET_TAB_EECR[iEvent]));
6442 MODIFY_REG(*pReg, (
HRTIM_EECR1_EE1SRC << REG_SHIFT_TAB_EExSRC[iEvent]), (Src << REG_SHIFT_TAB_EExSRC[iEvent]));
6475__STATIC_INLINE uint32_t LL_HRTIM_EE_GetSrc(
const HRTIM_TypeDef *HRTIMx, uint32_t Event)
6477 uint32_t iEvent = (uint8_t)(POSITION_VAL(Event) - POSITION_VAL(LL_HRTIM_EVENT_1));
6478 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
EECR1) +
6479 REG_OFFSET_TAB_EECR[iEvent]));
6480 return (READ_BIT(*pReg, (uint32_t)(
HRTIM_EECR1_EE1SRC) << REG_SHIFT_TAB_EExSRC[iEvent]) >> REG_SHIFT_TAB_EExSRC[iEvent]);
6514__STATIC_INLINE
void LL_HRTIM_EE_SetPolarity(
HRTIM_TypeDef *HRTIMx, uint32_t Event, uint32_t Polarity)
6516 uint32_t iEvent = (uint8_t)(POSITION_VAL(Event) - POSITION_VAL(LL_HRTIM_EVENT_1));
6517 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
EECR1) +
6518 REG_OFFSET_TAB_EECR[iEvent]));
6519 MODIFY_REG(*pReg, (
HRTIM_EECR1_EE1POL << REG_SHIFT_TAB_EExSRC[iEvent]), (Polarity << REG_SHIFT_TAB_EExSRC[iEvent]));
6550__STATIC_INLINE uint32_t LL_HRTIM_EE_GetPolarity(
const HRTIM_TypeDef *HRTIMx, uint32_t Event)
6552 uint32_t iEvent = (uint8_t)(POSITION_VAL(Event) - POSITION_VAL(LL_HRTIM_EVENT_1));
6553 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
EECR1) +
6554 REG_OFFSET_TAB_EECR[iEvent]));
6555 return (READ_BIT(*pReg, (uint32_t)(
HRTIM_EECR1_EE1POL) << REG_SHIFT_TAB_EExSRC[iEvent]) >> REG_SHIFT_TAB_EExSRC[iEvent]);
6590__STATIC_INLINE
void LL_HRTIM_EE_SetSensitivity(
HRTIM_TypeDef *HRTIMx, uint32_t Event, uint32_t Sensitivity)
6592 uint32_t iEvent = (uint8_t)(POSITION_VAL(Event) - POSITION_VAL(LL_HRTIM_EVENT_1));
6593 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
EECR1) +
6594 REG_OFFSET_TAB_EECR[iEvent]));
6595 MODIFY_REG(*pReg, (
HRTIM_EECR1_EE1SNS << REG_SHIFT_TAB_EExSRC[iEvent]), (Sensitivity << REG_SHIFT_TAB_EExSRC[iEvent]));
6628__STATIC_INLINE uint32_t LL_HRTIM_EE_GetSensitivity(
const HRTIM_TypeDef *HRTIMx, uint32_t Event)
6630 uint32_t iEvent = (uint8_t)(POSITION_VAL(Event) - POSITION_VAL(LL_HRTIM_EVENT_1));
6631 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
EECR1) +
6632 REG_OFFSET_TAB_EECR[iEvent]));
6633 return (READ_BIT(*pReg, (uint32_t)(
HRTIM_EECR1_EE1SNS) << REG_SHIFT_TAB_EExSRC[iEvent]) >> REG_SHIFT_TAB_EExSRC[iEvent]);
6661__STATIC_INLINE
void LL_HRTIM_EE_SetFastMode(
HRTIM_TypeDef *HRTIMx, uint32_t Event, uint32_t FastMode)
6663 uint32_t iEvent = (uint8_t)(POSITION_VAL(Event) - POSITION_VAL(LL_HRTIM_EVENT_1));
6664 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
EECR1) +
6665 REG_OFFSET_TAB_EECR[iEvent]));
6666 MODIFY_REG(*pReg, (
HRTIM_EECR1_EE1FAST << REG_SHIFT_TAB_EExSRC[iEvent]), (FastMode << REG_SHIFT_TAB_EExSRC[iEvent]));
6692__STATIC_INLINE uint32_t LL_HRTIM_EE_GetFastMode(
const HRTIM_TypeDef *HRTIMx, uint32_t Event)
6694 uint32_t iEvent = (uint8_t)(POSITION_VAL(Event) - POSITION_VAL(LL_HRTIM_EVENT_1));
6695 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
EECR1) +
6696 REG_OFFSET_TAB_EECR[iEvent]));
6697 return (READ_BIT(*pReg, (uint32_t)(
HRTIM_EECR1_EE1FAST) << REG_SHIFT_TAB_EExSRC[iEvent]) >> REG_SHIFT_TAB_EExSRC[iEvent]);
6733__STATIC_INLINE
void LL_HRTIM_EE_SetFilter(
HRTIM_TypeDef *HRTIMx, uint32_t Event, uint32_t Filter)
6735 uint32_t iEvent = (uint8_t)(POSITION_VAL(Event) - POSITION_VAL(LL_HRTIM_EVENT_1));
6737 (Filter << REG_SHIFT_TAB_EExSRC[iEvent]));
6772__STATIC_INLINE uint32_t LL_HRTIM_EE_GetFilter(
const HRTIM_TypeDef *HRTIMx, uint32_t Event)
6774 uint32_t iEvent = (uint8_t)(POSITION_VAL(Event) - POSITION_VAL(LL_HRTIM_EVENT_6));
6775 return (READ_BIT(HRTIMx->sCommonRegs.
EECR3,
6776 (uint32_t)(
HRTIM_EECR3_EE6F) << REG_SHIFT_TAB_EExSRC[iEvent]) >> REG_SHIFT_TAB_EExSRC[iEvent]);
6791__STATIC_INLINE
void LL_HRTIM_EE_SetPrescaler(
HRTIM_TypeDef *HRTIMx, uint32_t Prescaler)
6807__STATIC_INLINE uint32_t LL_HRTIM_EE_GetPrescaler(
const HRTIM_TypeDef *HRTIMx)
6845__STATIC_INLINE
void LL_HRTIM_FLT_Config(
HRTIM_TypeDef *HRTIMx, uint32_t Fault, uint32_t Configuration)
6847 uint32_t iFault = (uint8_t)POSITION_VAL(Fault);
6848 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
FLTINR1) +
6849 REG_OFFSET_TAB_FLTINR[iFault]));
6850 MODIFY_REG(*pReg, (HRTIM_FLT_CONFIG_MASK << REG_SHIFT_TAB_FLTxE[iFault]),
6851 (Configuration << REG_SHIFT_TAB_FLTxE[iFault]));
6874__STATIC_INLINE
void LL_HRTIM_FLT_SetSrc(
HRTIM_TypeDef *HRTIMx, uint32_t Fault, uint32_t Src)
6876 uint32_t iFault = (uint8_t)POSITION_VAL(Fault);
6877 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
FLTINR1) +
6878 REG_OFFSET_TAB_FLTINR[iFault]));
6879 MODIFY_REG(*pReg, (
HRTIM_FLTINR1_FLT1SRC << REG_SHIFT_TAB_FLTxE[iFault]), (Src << REG_SHIFT_TAB_FLTxE[iFault]));
6900__STATIC_INLINE uint32_t LL_HRTIM_FLT_GetSrc(
const HRTIM_TypeDef *HRTIMx, uint32_t Fault)
6902 uint32_t iFault = (uint8_t)POSITION_VAL(Fault);
6903 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
FLTINR1) +
6904 REG_OFFSET_TAB_FLTINR[iFault]));
6905 return (READ_BIT(*pReg, (
HRTIM_FLTINR1_FLT1SRC << REG_SHIFT_TAB_FLTxE[iFault])) >> REG_SHIFT_TAB_FLTxE[iFault]);
6928__STATIC_INLINE
void LL_HRTIM_FLT_SetPolarity(
HRTIM_TypeDef *HRTIMx, uint32_t Fault, uint32_t Polarity)
6930 uint32_t iFault = (uint8_t)POSITION_VAL(Fault);
6931 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
FLTINR1) +
6932 REG_OFFSET_TAB_FLTINR[iFault]));
6933 MODIFY_REG(*pReg, (
HRTIM_FLTINR1_FLT1P << REG_SHIFT_TAB_FLTxE[iFault]), (Polarity << REG_SHIFT_TAB_FLTxE[iFault]));
6954__STATIC_INLINE uint32_t LL_HRTIM_FLT_GetPolarity(
const HRTIM_TypeDef *HRTIMx, uint32_t Fault)
6956 uint32_t iFault = (uint8_t)POSITION_VAL(Fault);
6957 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
FLTINR1) +
6958 REG_OFFSET_TAB_FLTINR[iFault]));
6959 return (READ_BIT(*pReg, (
HRTIM_FLTINR1_FLT1P << REG_SHIFT_TAB_FLTxE[iFault])) >> REG_SHIFT_TAB_FLTxE[iFault]);
6996__STATIC_INLINE
void LL_HRTIM_FLT_SetFilter(
HRTIM_TypeDef *HRTIMx, uint32_t Fault, uint32_t Filter)
6998 uint32_t iFault = (uint8_t)POSITION_VAL(Fault);
6999 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
FLTINR1) +
7000 REG_OFFSET_TAB_FLTINR[iFault]));
7001 MODIFY_REG(*pReg, (
HRTIM_FLTINR1_FLT1F << REG_SHIFT_TAB_FLTxE[iFault]), (Filter << REG_SHIFT_TAB_FLTxE[iFault]));
7036__STATIC_INLINE uint32_t LL_HRTIM_FLT_GetFilter(
const HRTIM_TypeDef *HRTIMx, uint32_t Fault)
7038 uint32_t iFault = (uint8_t)POSITION_VAL(Fault);
7039 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
FLTINR1) +
7040 REG_OFFSET_TAB_FLTINR[iFault]));
7041 return (READ_BIT(*pReg, (
HRTIM_FLTINR1_FLT1F << REG_SHIFT_TAB_FLTxE[iFault])) >> REG_SHIFT_TAB_FLTxE[iFault]);
7056__STATIC_INLINE
void LL_HRTIM_FLT_SetPrescaler(
HRTIM_TypeDef *HRTIMx, uint32_t Prescaler)
7071__STATIC_INLINE uint32_t LL_HRTIM_FLT_GetPrescaler(
const HRTIM_TypeDef *HRTIMx)
7092__STATIC_INLINE
void LL_HRTIM_FLT_Lock(
HRTIM_TypeDef *HRTIMx, uint32_t Fault)
7094 uint32_t iFault = (uint8_t)POSITION_VAL(Fault);
7095 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
FLTINR1) +
7096 REG_OFFSET_TAB_FLTINR[iFault]));
7116__STATIC_INLINE
void LL_HRTIM_FLT_Enable(
HRTIM_TypeDef *HRTIMx, uint32_t Fault)
7118 uint32_t iFault = (uint8_t)POSITION_VAL(Fault);
7119 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
FLTINR1) +
7120 REG_OFFSET_TAB_FLTINR[iFault]));
7140__STATIC_INLINE
void LL_HRTIM_FLT_Disable(
HRTIM_TypeDef *HRTIMx, uint32_t Fault)
7142 uint32_t iFault = (uint8_t)POSITION_VAL(Fault);
7143 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
FLTINR1) +
7144 REG_OFFSET_TAB_FLTINR[iFault]));
7164__STATIC_INLINE uint32_t LL_HRTIM_FLT_IsEnabled(
const HRTIM_TypeDef *HRTIMx, uint32_t Fault)
7166 uint32_t iFault = (uint8_t)POSITION_VAL(Fault);
7167 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sCommonRegs.
FLTINR1) +
7168 REG_OFFSET_TAB_FLTINR[iFault]));
7169 return (((READ_BIT(*pReg, (
HRTIM_FLTINR1_FLT1E << REG_SHIFT_TAB_FLTxE[iFault])) >> REG_SHIFT_TAB_FLTxE[iFault]) ==
7194__STATIC_INLINE
void LL_HRTIM_BM_Config(
HRTIM_TypeDef *HRTIMx, uint32_t Configuration)
7196 MODIFY_REG(HRTIMx->sCommonRegs.
BMCR, HRTIM_BM_CONFIG_MASK, Configuration);
7208__STATIC_INLINE
void LL_HRTIM_BM_SetMode(
HRTIM_TypeDef *HRTIMx, uint32_t Mode)
7221__STATIC_INLINE uint32_t LL_HRTIM_BM_GetMode(
const HRTIM_TypeDef *HRTIMx)
7243__STATIC_INLINE
void LL_HRTIM_BM_SetClockSrc(
HRTIM_TypeDef *HRTIMx, uint32_t ClockSrc)
7275__STATIC_INLINE uint32_t LL_HRTIM_BM_GetClockSrc(
const HRTIM_TypeDef *HRTIMx)
7303__STATIC_INLINE
void LL_HRTIM_BM_SetPrescaler(
HRTIM_TypeDef *HRTIMx, uint32_t Prescaler)
7330__STATIC_INLINE uint32_t LL_HRTIM_BM_GetPrescaler(
const HRTIM_TypeDef *HRTIMx)
7341__STATIC_INLINE
void LL_HRTIM_BM_EnablePreload(
HRTIM_TypeDef *HRTIMx)
7352__STATIC_INLINE
void LL_HRTIM_BM_DisablePreload(
HRTIM_TypeDef *HRTIMx)
7363__STATIC_INLINE uint32_t LL_HRTIM_BM_IsEnabledPreload(
const HRTIM_TypeDef *HRTIMx)
7441__STATIC_INLINE
void LL_HRTIM_BM_SetTrig(
HRTIM_TypeDef *HRTIMx, uint32_t Trig)
7443 WRITE_REG(HRTIMx->sCommonRegs.
BMTRGR, Trig);
7515__STATIC_INLINE uint32_t LL_HRTIM_BM_GetTrig(
const HRTIM_TypeDef *HRTIMx)
7517 return (uint32_t)READ_REG(HRTIMx->sCommonRegs.
BMTRGR);
7529__STATIC_INLINE
void LL_HRTIM_BM_SetCompare(
HRTIM_TypeDef *HRTIMx, uint32_t CompareValue)
7531 WRITE_REG(HRTIMx->sCommonRegs.
BMCMPR, CompareValue);
7542__STATIC_INLINE uint32_t LL_HRTIM_BM_GetCompare(
const HRTIM_TypeDef *HRTIMx)
7544 return (uint32_t)READ_REG(HRTIMx->sCommonRegs.
BMCMPR);
7556__STATIC_INLINE
void LL_HRTIM_BM_SetPeriod(
HRTIM_TypeDef *HRTIMx, uint32_t Period)
7558 WRITE_REG(HRTIMx->sCommonRegs.
BMPER, Period);
7569__STATIC_INLINE uint32_t LL_HRTIM_BM_GetPeriod(
const HRTIM_TypeDef *HRTIMx)
7571 return (uint32_t)READ_REG(HRTIMx->sCommonRegs.
BMPER);
7580__STATIC_INLINE
void LL_HRTIM_BM_Enable(
HRTIM_TypeDef *HRTIMx)
7591__STATIC_INLINE
void LL_HRTIM_BM_Disable(
HRTIM_TypeDef *HRTIMx)
7602__STATIC_INLINE uint32_t LL_HRTIM_BM_IsEnabled(
const HRTIM_TypeDef *HRTIMx)
7613__STATIC_INLINE
void LL_HRTIM_BM_Start(
HRTIM_TypeDef *HRTIMx)
7638__STATIC_INLINE uint32_t LL_HRTIM_BM_GetStatus(
const HRTIM_TypeDef *HRTIMx)
7658__STATIC_INLINE
void LL_HRTIM_ClearFlag_FLT1(
HRTIM_TypeDef *HRTIMx)
7669__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_FLT1(
const HRTIM_TypeDef *HRTIMx)
7680__STATIC_INLINE
void LL_HRTIM_ClearFlag_FLT2(
HRTIM_TypeDef *HRTIMx)
7691__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_FLT2(
const HRTIM_TypeDef *HRTIMx)
7702__STATIC_INLINE
void LL_HRTIM_ClearFlag_FLT3(
HRTIM_TypeDef *HRTIMx)
7713__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_FLT3(
const HRTIM_TypeDef *HRTIMx)
7724__STATIC_INLINE
void LL_HRTIM_ClearFlag_FLT4(
HRTIM_TypeDef *HRTIMx)
7735__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_FLT4(
const HRTIM_TypeDef *HRTIMx)
7746__STATIC_INLINE
void LL_HRTIM_ClearFlag_FLT5(
HRTIM_TypeDef *HRTIMx)
7757__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_FLT5(
const HRTIM_TypeDef *HRTIMx)
7768__STATIC_INLINE
void LL_HRTIM_ClearFlag_SYSFLT(
HRTIM_TypeDef *HRTIMx)
7779__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_SYSFLT(
const HRTIM_TypeDef *HRTIMx)
7790__STATIC_INLINE
void LL_HRTIM_ClearFlag_BMPER(
HRTIM_TypeDef *HRTIMx)
7801__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_BMPER(
const HRTIM_TypeDef *HRTIMx)
7812__STATIC_INLINE
void LL_HRTIM_ClearFlag_SYNC(
HRTIM_TypeDef *HRTIMx)
7823__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_SYNC(
const HRTIM_TypeDef *HRTIMx)
7842__STATIC_INLINE
void LL_HRTIM_ClearFlag_UPDATE(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
7844 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
7845 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MICR) +
7846 REG_OFFSET_TAB_TIMER[iTimer]));
7864__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_UPDATE(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
7866 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
7867 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MISR) +
7868 REG_OFFSET_TAB_TIMER[iTimer]));
7887__STATIC_INLINE
void LL_HRTIM_ClearFlag_REP(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
7889 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
7890 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MICR) +
7891 REG_OFFSET_TAB_TIMER[iTimer]));
7910__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_REP(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
7912 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
7913 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MISR) +
7914 REG_OFFSET_TAB_TIMER[iTimer]));
7933__STATIC_INLINE
void LL_HRTIM_ClearFlag_CMP1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
7935 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
7936 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MICR) +
7937 REG_OFFSET_TAB_TIMER[iTimer]));
7955__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_CMP1(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
7957 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
7958 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MISR) +
7959 REG_OFFSET_TAB_TIMER[iTimer]));
7978__STATIC_INLINE
void LL_HRTIM_ClearFlag_CMP2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
7980 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
7981 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MICR) +
7982 REG_OFFSET_TAB_TIMER[iTimer]));
8000__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_CMP2(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8002 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8003 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MISR) +
8004 REG_OFFSET_TAB_TIMER[iTimer]));
8023__STATIC_INLINE
void LL_HRTIM_ClearFlag_CMP3(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8025 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8026 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MICR) +
8027 REG_OFFSET_TAB_TIMER[iTimer]));
8045__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_CMP3(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8047 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8048 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MISR) +
8049 REG_OFFSET_TAB_TIMER[iTimer]));
8068__STATIC_INLINE
void LL_HRTIM_ClearFlag_CMP4(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8070 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8071 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MICR) +
8072 REG_OFFSET_TAB_TIMER[iTimer]));
8090__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_CMP4(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8092 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8093 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MISR) +
8094 REG_OFFSET_TAB_TIMER[iTimer]));
8111__STATIC_INLINE
void LL_HRTIM_ClearFlag_CPT1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8113 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8114 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MICR) +
8115 REG_OFFSET_TAB_TIMER[iTimer]));
8131__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_CPT1(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8133 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8134 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MISR) +
8135 REG_OFFSET_TAB_TIMER[iTimer]));
8152__STATIC_INLINE
void LL_HRTIM_ClearFlag_CPT2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8154 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8155 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MICR) +
8156 REG_OFFSET_TAB_TIMER[iTimer]));
8172__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_CPT2(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8174 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8175 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MISR) +
8176 REG_OFFSET_TAB_TIMER[iTimer]));
8193__STATIC_INLINE
void LL_HRTIM_ClearFlag_SET1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8195 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8196 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MICR) +
8197 REG_OFFSET_TAB_TIMER[iTimer]));
8213__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_SET1(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8215 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8216 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MISR) +
8217 REG_OFFSET_TAB_TIMER[iTimer]));
8234__STATIC_INLINE
void LL_HRTIM_ClearFlag_RST1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8236 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8237 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MICR) +
8238 REG_OFFSET_TAB_TIMER[iTimer]));
8254__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_RST1(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8256 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8257 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MISR) +
8258 REG_OFFSET_TAB_TIMER[iTimer]));
8275__STATIC_INLINE
void LL_HRTIM_ClearFlag_SET2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8277 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8278 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MICR) +
8279 REG_OFFSET_TAB_TIMER[iTimer]));
8295__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_SET2(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8297 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8298 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MISR) +
8299 REG_OFFSET_TAB_TIMER[iTimer]));
8316__STATIC_INLINE
void LL_HRTIM_ClearFlag_RST2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8318 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8319 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MICR) +
8320 REG_OFFSET_TAB_TIMER[iTimer]));
8336__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_RST2(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8338 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8339 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MISR) +
8340 REG_OFFSET_TAB_TIMER[iTimer]));
8357__STATIC_INLINE
void LL_HRTIM_ClearFlag_RST(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8359 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8360 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MICR) +
8361 REG_OFFSET_TAB_TIMER[iTimer]));
8377__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_RST(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8379 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8380 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MISR) +
8381 REG_OFFSET_TAB_TIMER[iTimer]));
8398__STATIC_INLINE
void LL_HRTIM_ClearFlag_DLYPRT(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8400 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8401 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MICR) +
8402 REG_OFFSET_TAB_TIMER[iTimer]));
8418__STATIC_INLINE uint32_t LL_HRTIM_IsActiveFlag_DLYPRT(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8420 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8421 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MISR) +
8422 REG_OFFSET_TAB_TIMER[iTimer]));
8442__STATIC_INLINE
void LL_HRTIM_EnableIT_FLT1(
HRTIM_TypeDef *HRTIMx)
8453__STATIC_INLINE
void LL_HRTIM_DisableIT_FLT1(
HRTIM_TypeDef *HRTIMx)
8464__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_FLT1(
const HRTIM_TypeDef *HRTIMx)
8475__STATIC_INLINE
void LL_HRTIM_EnableIT_FLT2(
HRTIM_TypeDef *HRTIMx)
8486__STATIC_INLINE
void LL_HRTIM_DisableIT_FLT2(
HRTIM_TypeDef *HRTIMx)
8497__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_FLT2(
const HRTIM_TypeDef *HRTIMx)
8508__STATIC_INLINE
void LL_HRTIM_EnableIT_FLT3(
HRTIM_TypeDef *HRTIMx)
8519__STATIC_INLINE
void LL_HRTIM_DisableIT_FLT3(
HRTIM_TypeDef *HRTIMx)
8530__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_FLT3(
const HRTIM_TypeDef *HRTIMx)
8541__STATIC_INLINE
void LL_HRTIM_EnableIT_FLT4(
HRTIM_TypeDef *HRTIMx)
8552__STATIC_INLINE
void LL_HRTIM_DisableIT_FLT4(
HRTIM_TypeDef *HRTIMx)
8563__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_FLT4(
const HRTIM_TypeDef *HRTIMx)
8574__STATIC_INLINE
void LL_HRTIM_EnableIT_FLT5(
HRTIM_TypeDef *HRTIMx)
8585__STATIC_INLINE
void LL_HRTIM_DisableIT_FLT5(
HRTIM_TypeDef *HRTIMx)
8596__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_FLT5(
const HRTIM_TypeDef *HRTIMx)
8607__STATIC_INLINE
void LL_HRTIM_EnableIT_SYSFLT(
HRTIM_TypeDef *HRTIMx)
8618__STATIC_INLINE
void LL_HRTIM_DisableIT_SYSFLT(
HRTIM_TypeDef *HRTIMx)
8629__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_SYSFLT(
const HRTIM_TypeDef *HRTIMx)
8640__STATIC_INLINE
void LL_HRTIM_EnableIT_BMPER(
HRTIM_TypeDef *HRTIMx)
8651__STATIC_INLINE
void LL_HRTIM_DisableIT_BMPER(
HRTIM_TypeDef *HRTIMx)
8662__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_BMPER(
const HRTIM_TypeDef *HRTIMx)
8673__STATIC_INLINE
void LL_HRTIM_EnableIT_SYNC(
HRTIM_TypeDef *HRTIMx)
8684__STATIC_INLINE
void LL_HRTIM_DisableIT_SYNC(
HRTIM_TypeDef *HRTIMx)
8695__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_SYNC(
const HRTIM_TypeDef *HRTIMx)
8714__STATIC_INLINE
void LL_HRTIM_EnableIT_UPDATE(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8716 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8717 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
8718 REG_OFFSET_TAB_TIMER[iTimer]));
8736__STATIC_INLINE
void LL_HRTIM_DisableIT_UPDATE(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8738 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8739 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
8740 REG_OFFSET_TAB_TIMER[iTimer]));
8758__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_UPDATE(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8760 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8761 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
8762 REG_OFFSET_TAB_TIMER[iTimer]));
8781__STATIC_INLINE
void LL_HRTIM_EnableIT_REP(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8783 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8784 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
8785 REG_OFFSET_TAB_TIMER[iTimer]));
8803__STATIC_INLINE
void LL_HRTIM_DisableIT_REP(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8805 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8806 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
8807 REG_OFFSET_TAB_TIMER[iTimer]));
8825__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_REP(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8827 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8828 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
8829 REG_OFFSET_TAB_TIMER[iTimer]));
8848__STATIC_INLINE
void LL_HRTIM_EnableIT_CMP1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8850 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8851 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
8852 REG_OFFSET_TAB_TIMER[iTimer]));
8870__STATIC_INLINE
void LL_HRTIM_DisableIT_CMP1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8872 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8873 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
8874 REG_OFFSET_TAB_TIMER[iTimer]));
8892__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_CMP1(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8894 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8895 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
8896 REG_OFFSET_TAB_TIMER[iTimer]));
8915__STATIC_INLINE
void LL_HRTIM_EnableIT_CMP2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8917 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8918 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
8919 REG_OFFSET_TAB_TIMER[iTimer]));
8937__STATIC_INLINE
void LL_HRTIM_DisableIT_CMP2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8939 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8940 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
8941 REG_OFFSET_TAB_TIMER[iTimer]));
8959__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_CMP2(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8961 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8962 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
8963 REG_OFFSET_TAB_TIMER[iTimer]));
8982__STATIC_INLINE
void LL_HRTIM_EnableIT_CMP3(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
8984 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
8985 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
8986 REG_OFFSET_TAB_TIMER[iTimer]));
9004__STATIC_INLINE
void LL_HRTIM_DisableIT_CMP3(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9006 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9007 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9008 REG_OFFSET_TAB_TIMER[iTimer]));
9026__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_CMP3(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9028 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9029 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9030 REG_OFFSET_TAB_TIMER[iTimer]));
9049__STATIC_INLINE
void LL_HRTIM_EnableIT_CMP4(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9051 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9052 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9053 REG_OFFSET_TAB_TIMER[iTimer]));
9071__STATIC_INLINE
void LL_HRTIM_DisableIT_CMP4(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9073 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9074 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9075 REG_OFFSET_TAB_TIMER[iTimer]));
9093__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_CMP4(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9095 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9096 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9097 REG_OFFSET_TAB_TIMER[iTimer]));
9114__STATIC_INLINE
void LL_HRTIM_EnableIT_CPT1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9116 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9117 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9118 REG_OFFSET_TAB_TIMER[iTimer]));
9134__STATIC_INLINE
void LL_HRTIM_DisableIT_CPT1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9136 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9137 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9138 REG_OFFSET_TAB_TIMER[iTimer]));
9154__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_CPT1(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9156 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9157 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9158 REG_OFFSET_TAB_TIMER[iTimer]));
9175__STATIC_INLINE
void LL_HRTIM_EnableIT_CPT2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9177 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9178 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9179 REG_OFFSET_TAB_TIMER[iTimer]));
9195__STATIC_INLINE
void LL_HRTIM_DisableIT_CPT2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9197 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9198 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9199 REG_OFFSET_TAB_TIMER[iTimer]));
9215__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_CPT2(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9217 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9218 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9219 REG_OFFSET_TAB_TIMER[iTimer]));
9236__STATIC_INLINE
void LL_HRTIM_EnableIT_SET1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9238 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9239 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9240 REG_OFFSET_TAB_TIMER[iTimer]));
9256__STATIC_INLINE
void LL_HRTIM_DisableIT_SET1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9258 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9259 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9260 REG_OFFSET_TAB_TIMER[iTimer]));
9276__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_SET1(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9278 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9279 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9280 REG_OFFSET_TAB_TIMER[iTimer]));
9297__STATIC_INLINE
void LL_HRTIM_EnableIT_RST1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9299 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9300 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9301 REG_OFFSET_TAB_TIMER[iTimer]));
9317__STATIC_INLINE
void LL_HRTIM_DisableIT_RST1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9319 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9320 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9321 REG_OFFSET_TAB_TIMER[iTimer]));
9337__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_RST1(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9339 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9340 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9341 REG_OFFSET_TAB_TIMER[iTimer]));
9358__STATIC_INLINE
void LL_HRTIM_EnableIT_SET2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9360 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9361 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9362 REG_OFFSET_TAB_TIMER[iTimer]));
9378__STATIC_INLINE
void LL_HRTIM_DisableIT_SET2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9380 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9381 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9382 REG_OFFSET_TAB_TIMER[iTimer]));
9398__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_SET2(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9400 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9401 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9402 REG_OFFSET_TAB_TIMER[iTimer]));
9419__STATIC_INLINE
void LL_HRTIM_EnableIT_RST2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9421 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9422 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9423 REG_OFFSET_TAB_TIMER[iTimer]));
9439__STATIC_INLINE
void LL_HRTIM_DisableIT_RST2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9441 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9442 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9443 REG_OFFSET_TAB_TIMER[iTimer]));
9459__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_RST2(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9461 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9462 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9463 REG_OFFSET_TAB_TIMER[iTimer]));
9480__STATIC_INLINE
void LL_HRTIM_EnableIT_RST(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9482 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9483 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9484 REG_OFFSET_TAB_TIMER[iTimer]));
9500__STATIC_INLINE
void LL_HRTIM_DisableIT_RST(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9502 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9503 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9504 REG_OFFSET_TAB_TIMER[iTimer]));
9520__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_RST(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9522 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9523 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9524 REG_OFFSET_TAB_TIMER[iTimer]));
9541__STATIC_INLINE
void LL_HRTIM_EnableIT_DLYPRT(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9543 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9544 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9545 REG_OFFSET_TAB_TIMER[iTimer]));
9561__STATIC_INLINE
void LL_HRTIM_DisableIT_DLYPRT(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9563 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9564 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9565 REG_OFFSET_TAB_TIMER[iTimer]));
9581__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledIT_DLYPRT(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9583 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9584 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9585 REG_OFFSET_TAB_TIMER[iTimer]));
9605__STATIC_INLINE
void LL_HRTIM_EnableDMAReq_SYNC(
HRTIM_TypeDef *HRTIMx)
9616__STATIC_INLINE
void LL_HRTIM_DisableDMAReq_SYNC(
HRTIM_TypeDef *HRTIMx)
9627__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_SYNC(
const HRTIM_TypeDef *HRTIMx)
9646__STATIC_INLINE
void LL_HRTIM_EnableDMAReq_UPDATE(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9648 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9649 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9650 REG_OFFSET_TAB_TIMER[iTimer]));
9668__STATIC_INLINE
void LL_HRTIM_DisableDMAReq_UPDATE(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9670 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9671 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9672 REG_OFFSET_TAB_TIMER[iTimer]));
9690__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_UPDATE(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9692 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9693 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9694 REG_OFFSET_TAB_TIMER[iTimer]));
9713__STATIC_INLINE
void LL_HRTIM_EnableDMAReq_REP(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9715 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9716 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9717 REG_OFFSET_TAB_TIMER[iTimer]));
9735__STATIC_INLINE
void LL_HRTIM_DisableDMAReq_REP(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9737 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9738 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9739 REG_OFFSET_TAB_TIMER[iTimer]));
9757__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_REP(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9759 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9760 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9761 REG_OFFSET_TAB_TIMER[iTimer]));
9780__STATIC_INLINE
void LL_HRTIM_EnableDMAReq_CMP1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9782 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9783 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9784 REG_OFFSET_TAB_TIMER[iTimer]));
9802__STATIC_INLINE
void LL_HRTIM_DisableDMAReq_CMP1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9804 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9805 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9806 REG_OFFSET_TAB_TIMER[iTimer]));
9824__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_CMP1(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9826 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9827 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9828 REG_OFFSET_TAB_TIMER[iTimer]));
9847__STATIC_INLINE
void LL_HRTIM_EnableDMAReq_CMP2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9849 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9850 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9851 REG_OFFSET_TAB_TIMER[iTimer]));
9869__STATIC_INLINE
void LL_HRTIM_DisableDMAReq_CMP2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9871 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9872 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9873 REG_OFFSET_TAB_TIMER[iTimer]));
9891__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_CMP2(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9893 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9894 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9895 REG_OFFSET_TAB_TIMER[iTimer]));
9914__STATIC_INLINE
void LL_HRTIM_EnableDMAReq_CMP3(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9916 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9917 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9918 REG_OFFSET_TAB_TIMER[iTimer]));
9936__STATIC_INLINE
void LL_HRTIM_DisableDMAReq_CMP3(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9938 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9939 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9940 REG_OFFSET_TAB_TIMER[iTimer]));
9958__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_CMP3(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9960 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9961 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9962 REG_OFFSET_TAB_TIMER[iTimer]));
9981__STATIC_INLINE
void LL_HRTIM_EnableDMAReq_CMP4(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
9983 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
9984 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
9985 REG_OFFSET_TAB_TIMER[iTimer]));
10003__STATIC_INLINE
void LL_HRTIM_DisableDMAReq_CMP4(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10005 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10006 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10007 REG_OFFSET_TAB_TIMER[iTimer]));
10025__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_CMP4(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10027 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10028 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10029 REG_OFFSET_TAB_TIMER[iTimer]));
10046__STATIC_INLINE
void LL_HRTIM_EnableDMAReq_CPT1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10048 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10049 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10050 REG_OFFSET_TAB_TIMER[iTimer]));
10066__STATIC_INLINE
void LL_HRTIM_DisableDMAReq_CPT1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10068 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10069 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10070 REG_OFFSET_TAB_TIMER[iTimer]));
10086__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_CPT1(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10088 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10089 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10090 REG_OFFSET_TAB_TIMER[iTimer]));
10107__STATIC_INLINE
void LL_HRTIM_EnableDMAReq_CPT2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10109 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10110 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10111 REG_OFFSET_TAB_TIMER[iTimer]));
10127__STATIC_INLINE
void LL_HRTIM_DisableDMAReq_CPT2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10129 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10130 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10131 REG_OFFSET_TAB_TIMER[iTimer]));
10147__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_CPT2(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10149 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10150 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10151 REG_OFFSET_TAB_TIMER[iTimer]));
10168__STATIC_INLINE
void LL_HRTIM_EnableDMAReq_SET1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10170 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10171 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10172 REG_OFFSET_TAB_TIMER[iTimer]));
10188__STATIC_INLINE
void LL_HRTIM_DisableDMAReq_SET1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10190 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10191 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10192 REG_OFFSET_TAB_TIMER[iTimer]));
10208__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_SET1(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10210 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10211 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10212 REG_OFFSET_TAB_TIMER[iTimer]));
10229__STATIC_INLINE
void LL_HRTIM_EnableDMAReq_RST1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10231 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10232 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10233 REG_OFFSET_TAB_TIMER[iTimer]));
10249__STATIC_INLINE
void LL_HRTIM_DisableDMAReq_RST1(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10251 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10252 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10253 REG_OFFSET_TAB_TIMER[iTimer]));
10269__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_RST1(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10271 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10272 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10273 REG_OFFSET_TAB_TIMER[iTimer]));
10290__STATIC_INLINE
void LL_HRTIM_EnableDMAReq_SET2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10292 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10293 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10294 REG_OFFSET_TAB_TIMER[iTimer]));
10310__STATIC_INLINE
void LL_HRTIM_DisableDMAReq_SET2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10312 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10313 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10314 REG_OFFSET_TAB_TIMER[iTimer]));
10330__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_SET2(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10332 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10333 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10334 REG_OFFSET_TAB_TIMER[iTimer]));
10351__STATIC_INLINE
void LL_HRTIM_EnableDMAReq_RST2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10353 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10354 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10355 REG_OFFSET_TAB_TIMER[iTimer]));
10371__STATIC_INLINE
void LL_HRTIM_DisableDMAReq_RST2(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10373 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10374 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10375 REG_OFFSET_TAB_TIMER[iTimer]));
10391__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_RST2(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10393 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10394 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10395 REG_OFFSET_TAB_TIMER[iTimer]));
10412__STATIC_INLINE
void LL_HRTIM_EnableDMAReq_RST(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10414 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10415 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10416 REG_OFFSET_TAB_TIMER[iTimer]));
10432__STATIC_INLINE
void LL_HRTIM_DisableDMAReq_RST(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10434 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10435 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10436 REG_OFFSET_TAB_TIMER[iTimer]));
10452__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_RST(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10454 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10455 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10456 REG_OFFSET_TAB_TIMER[iTimer]));
10473__STATIC_INLINE
void LL_HRTIM_EnableDMAReq_DLYPRT(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10475 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10476 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10477 REG_OFFSET_TAB_TIMER[iTimer]));
10493__STATIC_INLINE
void LL_HRTIM_DisableDMAReq_DLYPRT(
HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10495 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10496 __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10497 REG_OFFSET_TAB_TIMER[iTimer]));
10513__STATIC_INLINE uint32_t LL_HRTIM_IsEnabledDMAReq_DLYPRT(
const HRTIM_TypeDef *HRTIMx, uint32_t Timer)
10515 uint32_t iTimer = (uint8_t)(POSITION_VAL(Timer) - HRTIM_MCR_MCEN_Pos);
10516 const __IO uint32_t *pReg = (
__IO uint32_t *)((uint32_t)((uint32_t)(&HRTIMx->sMasterRegs.
MDIER) +
10517 REG_OFFSET_TAB_TIMER[iTimer]));
10526#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
#define __IO
Definition: core_cm4.h:239
#define HRTIM_FLTINR1_FLT1P
Definition: stm32h742xx.h:23268
#define HRTIM_DTR_DTF
Definition: stm32h742xx.h:21160
#define HRTIM_MCMP1R_MCMP3R
Definition: stm32h742xx.h:20799
#define HRTIM_TIMDIER_CPT1IE
Definition: stm32h742xx.h:21014
#define HRTIM_MCR_RETRIG
Definition: stm32h742xx.h:20615
#define HRTIM_TIMISR_RST2
Definition: stm32h742xx.h:20923
#define HRTIM_MDIER_MCMP3IE
Definition: stm32h742xx.h:20735
#define HRTIM_MDIER_MCMP3DE
Definition: stm32h742xx.h:20757
#define HRTIM_TIMICR_CPT2C
Definition: stm32h742xx.h:20973
#define HRTIM_FLTINR2_FLTSD
Definition: stm32h742xx.h:23365
#define HRTIM_MCR_DACSYNC
Definition: stm32h742xx.h:20663
#define HRTIM_TIMISR_RST
Definition: stm32h742xx.h:20926
#define HRTIM_TIMDIER_RSTIE
Definition: stm32h742xx.h:21032
#define HRTIM_MCMP1R_MCMP2R
Definition: stm32h742xx.h:20794
#define HRTIM_MCR_SYNCSTRTM
Definition: stm32h742xx.h:20630
#define HRTIM_TIMDIER_RSTDE
Definition: stm32h742xx.h:21075
#define HRTIM_MCR_PREEN
Definition: stm32h742xx.h:20669
#define HRTIM_MCR_SYNC_SRC
Definition: stm32h742xx.h:20638
#define HRTIM_ISR_FLT4
Definition: stm32h742xx.h:22364
#define HRTIM_SET1R_SST
Definition: stm32h742xx.h:21183
#define HRTIM_EECR1_EE1FAST
Definition: stm32h742xx.h:22687
#define HRTIM_IER_FLT5
Definition: stm32h742xx.h:22413
#define HRTIM_ISR_FLT1
Definition: stm32h742xx.h:22355
#define HRTIM_IER_SYSFLT
Definition: stm32h742xx.h:22416
#define HRTIM_EECR1_EE1SNS
Definition: stm32h742xx.h:22682
#define HRTIM_MICR_MCMP4
Definition: stm32h742xx.h:20715
#define HRTIM_TIMICR_DLYPRTC
Definition: stm32h742xx.h:20991
#define HRTIM_OUTR_IDLM1
Definition: stm32h742xx.h:22200
#define HRTIM_TIMDIER_CPT2IE
Definition: stm32h742xx.h:21017
#define HRTIM_BMCR_BMSTAT
Definition: stm32h742xx.h:22561
#define HRTIM_BMCR_BMPREN
Definition: stm32h742xx.h:22540
#define HRTIM_DTR_DTR
Definition: stm32h742xx.h:21133
#define HRTIM_MCR_SYNC_IN
Definition: stm32h742xx.h:20622
#define HRTIM_MICR_MCMP1
Definition: stm32h742xx.h:20706
#define HRTIM_BMTRGR_SW
Definition: stm32h742xx.h:22566
#define HRTIM_TIMCR_UPDGAT
Definition: stm32h742xx.h:20881
#define HRTIM_DTR_DTRSLK
Definition: stm32h742xx.h:21154
#define HRTIM_OUTR_POL1
Definition: stm32h742xx.h:22197
#define HRTIM_OUTR_CHP1
Definition: stm32h742xx.h:22211
#define HRTIM_MCR_HALF
Definition: stm32h742xx.h:20618
#define HRTIM_TIMICR_CPT1C
Definition: stm32h742xx.h:20970
#define HRTIM_MISR_SYNC
Definition: stm32h742xx.h:20698
#define HRTIM_MDIER_MUPDDE
Definition: stm32h742xx.h:20769
#define HRTIM_IER_FLT1
Definition: stm32h742xx.h:22401
#define HRTIM_DTR_SDTR
Definition: stm32h742xx.h:21145
#define HRTIM_ISR_FLT3
Definition: stm32h742xx.h:22361
#define HRTIM_MICR_MCMP3
Definition: stm32h742xx.h:20712
#define HRTIM_TIMISR_CPT2
Definition: stm32h742xx.h:20911
#define HRTIM_ICR_FLT2C
Definition: stm32h742xx.h:22381
#define HRTIM_MDIER_MUPDIE
Definition: stm32h742xx.h:20747
#define HRTIM_EECR3_EE6F
Definition: stm32h742xx.h:22831
#define HRTIM_MCR_SYNC_OUT
Definition: stm32h742xx.h:20633
#define HRTIM_TIMISR_O1CPY
Definition: stm32h742xx.h:20944
#define HRTIM_FLTINR1_FLT1SRC
Definition: stm32h742xx.h:23271
#define HRTIM_MCMP1R_MCMP1R
Definition: stm32h742xx.h:20789
#define HRTIM_DTR_DTPRSC
Definition: stm32h742xx.h:21148
#define HRTIM_TIMCR_PSHPLL
Definition: stm32h742xx.h:20825
#define HRTIM_TIMDIER_CPT2DE
Definition: stm32h742xx.h:21060
#define HRTIM_TIMICR_RSTC
Definition: stm32h742xx.h:20988
#define HRTIM_MISR_MREP
Definition: stm32h742xx.h:20695
#define HRTIM_DTR_SDTF
Definition: stm32h742xx.h:21172
#define HRTIM_CR1_ADC1USRC
Definition: stm32h742xx.h:22291
#define HRTIM_ISR_FLT5
Definition: stm32h742xx.h:22367
#define HRTIM_OUTR_IDLES1
Definition: stm32h742xx.h:22203
#define HRTIM_MDIER_SYNCDE
Definition: stm32h742xx.h:20766
#define HRTIM_MCMP1R_MCMP4R
Definition: stm32h742xx.h:20804
#define HRTIM_MPER_MPER
Definition: stm32h742xx.h:20779
#define HRTIM_TIMISR_RST1
Definition: stm32h742xx.h:20917
#define HRTIM_IER_BMPER
Definition: stm32h742xx.h:22419
#define HRTIM_TIMISR_IPPSTAT
Definition: stm32h742xx.h:20935
#define HRTIM_MICR_SYNC
Definition: stm32h742xx.h:20721
#define HRTIM_TIMISR_CPPSTAT
Definition: stm32h742xx.h:20932
#define HRTIM_EEFR1_EE1LTCH
Definition: stm32h742xx.h:21592
#define HRTIM_MISR_MUPD
Definition: stm32h742xx.h:20701
#define HRTIM_EECR3_EEVSD
Definition: stm32h742xx.h:22866
#define HRTIM_TIMICR_SET1C
Definition: stm32h742xx.h:20976
#define HRTIM_IER_FLT3
Definition: stm32h742xx.h:22407
#define HRTIM_ISR_SYSFLT
Definition: stm32h742xx.h:22370
#define HRTIM_FLTINR1_FLT1LCK
Definition: stm32h742xx.h:23281
#define HRTIM_MCR_CK_PSC
Definition: stm32h742xx.h:20605
#define HRTIM_FLTINR1_FLT1F
Definition: stm32h742xx.h:23274
#define HRTIM_MDIER_MCMP1IE
Definition: stm32h742xx.h:20729
#define HRTIM_ISR_BMPER
Definition: stm32h742xx.h:22373
#define HRTIM_OUTR_DTEN
Definition: stm32h742xx.h:22218
#define HRTIM_MISR_MCMP2
Definition: stm32h742xx.h:20686
#define HRTIM_MCR_CONT
Definition: stm32h742xx.h:20612
#define HRTIM_OUTR_DLYPRT
Definition: stm32h742xx.h:22224
#define HRTIM_MDIER_MCMP4IE
Definition: stm32h742xx.h:20738
#define HRTIM_MICR_MCMP2
Definition: stm32h742xx.h:20709
#define HRTIM_MICR_MREP
Definition: stm32h742xx.h:20718
#define HRTIM_EEFR1_EE1FLTR
Definition: stm32h742xx.h:21595
#define HRTIM_MDIER_MCMP4DE
Definition: stm32h742xx.h:20760
#define HRTIM_OUTR_DLYPRTEN
Definition: stm32h742xx.h:22221
#define HRTIM_MCR_BRSTDMA
Definition: stm32h742xx.h:20676
#define HRTIM_BMCR_BME
Definition: stm32h742xx.h:22520
#define HRTIM_TIMDIER_CPT1DE
Definition: stm32h742xx.h:21057
#define HRTIM_TIMISR_SET2
Definition: stm32h742xx.h:20920
#define HRTIM_MISR_MCMP1
Definition: stm32h742xx.h:20683
#define HRTIM_TIMCR_RETRIG
Definition: stm32h742xx.h:20819
#define HRTIM_TIMDIER_RST1DE
Definition: stm32h742xx.h:21066
#define HRTIM_TIMDIER_DLYPRTIE
Definition: stm32h742xx.h:21035
#define HRTIM_TIMISR_CPT1
Definition: stm32h742xx.h:20908
#define HRTIM_TIMDIER_SET2IE
Definition: stm32h742xx.h:21026
#define HRTIM_FLTR_FLTLCK
Definition: stm32h742xx.h:22268
#define HRTIM_TIMDIER_SET1IE
Definition: stm32h742xx.h:21020
#define HRTIM_TIMISR_O1STAT
Definition: stm32h742xx.h:20938
#define HRTIM_ICR_FLT5C
Definition: stm32h742xx.h:22390
#define HRTIM_TIMDIER_DLYPRTDE
Definition: stm32h742xx.h:21078
#define HRTIM_ISR_FLT2
Definition: stm32h742xx.h:22358
#define HRTIM_TIMISR_SET1
Definition: stm32h742xx.h:20914
#define HRTIM_MREP_MREP
Definition: stm32h742xx.h:20784
#define HRTIM_MDIER_MCMP1DE
Definition: stm32h742xx.h:20751
#define HRTIM_TIMDIER_RST2DE
Definition: stm32h742xx.h:21072
#define HRTIM_DTR_DTFSLK
Definition: stm32h742xx.h:21175
#define HRTIM_TIMDIER_RST1IE
Definition: stm32h742xx.h:21023
#define HRTIM_IER_FLT2
Definition: stm32h742xx.h:22404
#define HRTIM_DTR_DTFLK
Definition: stm32h742xx.h:21178
#define HRTIM_BMCR_BMPRSC
Definition: stm32h742xx.h:22533
#define HRTIM_ICR_FLT4C
Definition: stm32h742xx.h:22387
#define HRTIM_ICR_BMPERC
Definition: stm32h742xx.h:22396
#define HRTIM_OUTR_FAULT1
Definition: stm32h742xx.h:22206
#define HRTIM_MISR_MCMP4
Definition: stm32h742xx.h:20692
#define HRTIM_IER_FLT4
Definition: stm32h742xx.h:22410
#define HRTIM_OUTR_DIDL1
Definition: stm32h742xx.h:22214
#define HRTIM_BMCR_BMCLK
Definition: stm32h742xx.h:22526
#define HRTIM_ICR_FLT3C
Definition: stm32h742xx.h:22384
#define HRTIM_TIMDIER_RST2IE
Definition: stm32h742xx.h:21029
#define HRTIM_MCR_SYNCRSTM
Definition: stm32h742xx.h:20627
#define HRTIM_FLTINR1_FLT1E
Definition: stm32h742xx.h:23265
#define HRTIM_TIMICR_RST1C
Definition: stm32h742xx.h:20979
#define HRTIM_TIMDIER_SET2DE
Definition: stm32h742xx.h:21069
#define HRTIM_DTR_DTRLK
Definition: stm32h742xx.h:21157
#define HRTIM_TIMICR_SET2C
Definition: stm32h742xx.h:20982
#define HRTIM_MDIER_MREPIE
Definition: stm32h742xx.h:20741
#define HRTIM_ICR_SYSFLTC
Definition: stm32h742xx.h:22393
#define HRTIM_EECR1_EE1SRC
Definition: stm32h742xx.h:22674
#define HRTIM_CHPR_STRPW
Definition: stm32h742xx.h:21982
#define HRTIM_MDIER_MCMP2IE
Definition: stm32h742xx.h:20732
#define HRTIM_MICR_MUPD
Definition: stm32h742xx.h:20724
#define HRTIM_EECR1_EE1POL
Definition: stm32h742xx.h:22679
#define HRTIM_TIMCR_DELCMP2
Definition: stm32h742xx.h:20836
#define HRTIM_TIMICR_RST2C
Definition: stm32h742xx.h:20985
#define HRTIM_ICR_FLT1C
Definition: stm32h742xx.h:22378
#define HRTIM_MISR_MCMP3
Definition: stm32h742xx.h:20689
#define HRTIM_MCNTR_MCNTR
Definition: stm32h742xx.h:20774
#define HRTIM_MDIER_MREPDE
Definition: stm32h742xx.h:20763
#define HRTIM_TIMDIER_SET1DE
Definition: stm32h742xx.h:21063
#define HRTIM_TIMISR_DLYPRT
Definition: stm32h742xx.h:20929
#define HRTIM_BMCR_BMOM
Definition: stm32h742xx.h:22523
#define HRTIM_CHPR_CARFRQ
Definition: stm32h742xx.h:21967
#define HRTIM_MDIER_MCMP2DE
Definition: stm32h742xx.h:20754
#define HRTIM_CHPR_CARDTY
Definition: stm32h742xx.h:21975
#define HRTIM_MDIER_SYNCIE
Definition: stm32h742xx.h:20744
CMSIS STM32H7xx Device Peripheral Access Layer Header File.
__IO uint32_t CR2
Definition: stm32h742xx.h:1632
__IO uint32_t FLTINR2
Definition: stm32h742xx.h:1652
__IO uint32_t EECR3
Definition: stm32h742xx.h:1645
__IO uint32_t FLTINR1
Definition: stm32h742xx.h:1651
__IO uint32_t EECR1
Definition: stm32h742xx.h:1643
__IO uint32_t ISR
Definition: stm32h742xx.h:1633
__IO uint32_t BDMUPR
Definition: stm32h742xx.h:1653
__IO uint32_t BMCR
Definition: stm32h742xx.h:1639
__IO uint32_t CR1
Definition: stm32h742xx.h:1631
__IO uint32_t OENR
Definition: stm32h742xx.h:1636
__IO uint32_t BMPER
Definition: stm32h742xx.h:1642
__IO uint32_t IER
Definition: stm32h742xx.h:1635
__IO uint32_t ICR
Definition: stm32h742xx.h:1634
__IO uint32_t BMTRGR
Definition: stm32h742xx.h:1640
__IO uint32_t BMCMPR
Definition: stm32h742xx.h:1641
__IO uint32_t ADC1R
Definition: stm32h742xx.h:1646
__IO uint32_t ODISR
Definition: stm32h742xx.h:1637
__IO uint32_t MCMP1R
Definition: stm32h742xx.h:1587
__IO uint32_t MCMP3R
Definition: stm32h742xx.h:1590
__IO uint32_t MPER
Definition: stm32h742xx.h:1585
__IO uint32_t MCNTR
Definition: stm32h742xx.h:1584
__IO uint32_t MCR
Definition: stm32h742xx.h:1580
__IO uint32_t MISR
Definition: stm32h742xx.h:1581
__IO uint32_t MCMP4R
Definition: stm32h742xx.h:1591
__IO uint32_t MCMP2R
Definition: stm32h742xx.h:1589
__IO uint32_t MICR
Definition: stm32h742xx.h:1582
__IO uint32_t MDIER
Definition: stm32h742xx.h:1583
__IO uint32_t MREP
Definition: stm32h742xx.h:1586
__IO uint32_t EEFxR1
Definition: stm32h742xx.h:1617
__IO uint32_t CHPxR
Definition: stm32h742xx.h:1620
__IO uint32_t TIMxISR
Definition: stm32h742xx.h:1599
__IO uint32_t CPT2xR
Definition: stm32h742xx.h:1611
__IO uint32_t RSTx1R
Definition: stm32h742xx.h:1614
__IO uint32_t DTxR
Definition: stm32h742xx.h:1612
__IO uint32_t CPT1xR
Definition: stm32h742xx.h:1610
__IO uint32_t RSTxR
Definition: stm32h742xx.h:1619
__IO uint32_t TIMxCR
Definition: stm32h742xx.h:1598
__IO uint32_t OUTxR
Definition: stm32h742xx.h:1623
__IO uint32_t CPT1xCR
Definition: stm32h742xx.h:1621
__IO uint32_t SETx1R
Definition: stm32h742xx.h:1613
__IO uint32_t FLTxR
Definition: stm32h742xx.h:1624
Definition: stm32h742xx.h:1663