diff --git a/peripherals/tim/tim21.yaml b/peripherals/tim/tim21.yaml index 6a28fbe33..647b1f107 100644 --- a/peripherals/tim/tim21.yaml +++ b/peripherals/tim/tim21.yaml @@ -2,10 +2,6 @@ "TIM2?": CR1: - CKD: - Div1: [0, "t_DTS = t_CK_INT"] - Div2: [1, "t_DTS = 2 × t_CK_INT"] - Div4: [2, "t_DTS = 4 × t_CK_INT"] CMS: EdgeAligned: [0, "The counter counts up or down depending on the direction bit"] CenterAligned1: [1, "The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down."] @@ -162,3 +158,9 @@ COMP1_OUT: [2, "TIM2x ETR input connected to COMP1_OUT"] LSE: [3, "TIM2x ETR input connected to LSE clock"] +# TI2_RMP is only available on TIM21 +TIM21: + OR: + TI2_RMP: + GPIO: [0, "TIM2x TI2 input connected to GPIO"] + COMP2_OUT: [1, "TIM2x TI2 input connected to COMP2_OUT"] \ No newline at end of file diff --git a/peripherals/tim/tim_l0.yaml b/peripherals/tim/tim_l0.yaml index e73808e51..e533510d3 100644 --- a/peripherals/tim/tim_l0.yaml +++ b/peripherals/tim/tim_l0.yaml @@ -30,8 +30,5 @@ LSE: [5, "TIM2 ETR input is connected to LSE"] HSI: [3, "TIM2 ETR input is connected to HSI16 when HSI16OUTEN bit is set"] -"TIM21": - OR: - TI2_RMP: - GPIO: [0, "TIM2x TI2 input connected to GPIO"] - COMP2_OUT: [1, "TIM2x TI2 input connected to COMP2_OUT"] \ No newline at end of file +_include: + - ./tim21.yaml