@@ -28,8 +28,9 @@ class TimerF3xx : public Timer {
2828 * Will initialize the timer device on the STM with the given period and the given IRQ Handler
2929 * that triggers with the given period. Starts the timer
3030 *
31- * @param timerPeripheral[in] The timer peripheral to configure. Possible options for this board are
32- * TIM1, TIM2, TIM15, TIM16, TIM17. It is up to the user to verify that resource conflicts do not occur.
31+ * @param timerPeripheral[in] The timer peripheral to configure. It is up to the user to verify that resource conflicts do not occur.
32+ * F334 Valid Options: TIM1, TIM2, TIM3, TIM15, TIM16, TIM17.
33+ * F3O2 Valid Options: TIM1, TIM2, TIM15, TIM16, TIM17.
3334 * @param[in] timerPeripheral The timer to use
3435 * @param[in] clockPeriod The clock period in ticks (ms when using AUTO_PRESCALER). An interrupt will be triggered
3536 * at this frequency.
@@ -42,38 +43,19 @@ class TimerF3xx : public Timer {
4243 const TimerConfiguration_t& configuration = defaultConfig,
4344 uint32_t clockPrescaler = AUTO_PRESCALER );
4445
45- /* *
46- * Starts the given timer and registers the given interrupt pointer to trigger when the timer overflows
47- * @param[in] irqHandler The IRQ Handler function pointer. Sets a new interrupt handler function
48- * @param[in] context The context to be sent to the irqHandler when it is called.
49- */
46+ /* * @inheritDoc */
5047 void startTimer (void (*irqHandler)(void * context, void * htim), void* context) override ;
5148
52- /* *
53- * Starts the given timer using the IRQ Handler already assigned to that timer.
54- */
49+ /* * @inheritDoc */
5550 void startTimer () override ;
5651
57- /* *
58- * Stops the current timer from running. Does not complete its current counting sequence.
59- */
52+ /* * @inheritDoc */
6053 void stopTimer () override ;
6154
62- /* *
63- * Resets the timer counter.
64- */
55+ /* * @inheritDoc */
6556 void reloadTimer () override ;
6657
67- /* *
68- * Set the clock period for the timer. Will stop the timer, re-initialize the device with the updated period.
69- * You must call startTimer again to continue timer operation.
70- *
71- * @param[in] clockPeriod The clock period in ticks (ms when using AUTO_PRESCALER). An interrupt will be triggered
72- * at that frequency.
73- * @param [in] clockPrescaler The prescaler used by the clock. Divides the system clock frequency to get it within
74- * an acceptable range for clocking. If set to @ref AUTO_PRESCALER, the function implementation should calculate its
75- * own prescaler.
76- */
58+ /* * @inheritDoc */
7759 void setPeriod (uint32_t clockPeriod, uint32_t clockPrescaler = AUTO_PRESCALER ) override ;
7860
7961protected:
@@ -95,7 +77,7 @@ class TimerF3xx : public Timer {
9577 /* *
9678 * Handles the initialization of the timer module. Actually configures the device and enables it.
9779 *
98- * @param timerPeripheral[in] The timer peripheral to configure. It is up to the user to verify that resource conflicts do not occur.
80+ * @param timerPeripheral[in] The timer peripheral to configure. It is up to the user to verify that resource conflicts do not occur.
9981 * F334 Valid Options: TIM1, TIM2, TIM3, TIM15, TIM16, TIM17.
10082 * F3O2 Valid Options: TIM1, TIM2, TIM15, TIM16, TIM17.
10183 * @param[in] clockPeriod the clock period in ticks (ms when using AUTO_PRESCALER). An interrupt will be triggered
0 commit comments