diff --git a/devices/collect/hrtim/f3.yaml b/devices/collect/hrtim/f3.yaml index 6752c1b28..8a181f704 100644 --- a/devices/collect/hrtim/f3.yaml +++ b/devices/collect/hrtim/f3.yaml @@ -1,5 +1,10 @@ _include: v1.yaml +"HRTIM_TIM[B-F]": + RSTR: + _derive: + TIM?CMP[1-4]: HRTIM_TIMA.RSTR.TIMBCMP1 + HRTIM_Common: EECR3: _array: diff --git a/devices/collect/hrtim/h7.yaml b/devices/collect/hrtim/h7.yaml index a45f4bd5d..06086e8fe 100644 --- a/devices/collect/hrtim/h7.yaml +++ b/devices/collect/hrtim/h7.yaml @@ -1 +1,6 @@ _include: v1.yaml + +"HRTIM_TIM[B-F]": + RSTR: + _derive: + TIM?CMP[1-4]: HRTIM_TIMA.RSTR.TIMBCMP1 diff --git a/devices/collect/hrtim/v1.yaml b/devices/collect/hrtim/v1.yaml index 82c3e1e95..ba135dd7c 100644 --- a/devices/collect/hrtim/v1.yaml +++ b/devices/collect/hrtim/v1.yaml @@ -112,6 +112,14 @@ HRTIM_Master: MSTU: HRTIM_TIMA.CR.MSTU UPDGAT: HRTIM_TIMA.CR.UPDGAT + RSTR: + _derive: + UPDT: HRTIM_TIMA.RSTR.UPDT + CMP[24]: HRTIM_TIMA.RSTR.CMP2 + MSTPER: HRTIM_TIMA.RSTR.MSTPER + MSTCMP[1-4]: HRTIM_TIMA.RSTR.MSTCMP1 + EXTEVNT*: HRTIM_TIMA.RSTR.EXTEVNT1 + HRTIM_Common: _derive: ADC3R: ADC1R diff --git a/devices/collect/hrtim/v2.yaml b/devices/collect/hrtim/v2.yaml index baa8dd8ce..0fe4d2c95 100644 --- a/devices/collect/hrtim/v2.yaml +++ b/devices/collect/hrtim/v2.yaml @@ -4,6 +4,15 @@ _include: v1.yaml CR2: HRTIM_TIMA.CR2 EEFR3: HRTIM_TIMA.EEFR3 +"HRTIM_TIM[B-F]": + CR: + _derive: + INTLVD: HRTIM_TIMA.CR.INTLVD + RSYNCU: HRTIM_TIMA.CR.RSYNCU + RSTR: + _derive: + TIM?CMP[1-4]: HRTIM_TIMA.RSTR.TIMFCMP1 + HRTIM_Common: _derive: BDTFUPR: BDTAUPR @@ -30,9 +39,3 @@ HRTIM_Common: dimIncrement: 8 FLT[1-6]CRES: dimIncrement: 8 - -"HRTIM_TIM[B-F]": - CR: - _derive: - INTLVD: HRTIM_TIMA.CR.INTLVD - RSYNCU: HRTIM_TIMA.CR.RSYNCU