From 31965bdc6cbb3875c8ebf96f158aac41ce87151c Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Wed, 15 Feb 2023 01:08:55 +0100 Subject: [PATCH] Update comments in timers header file --- include/drivers/timers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/drivers/timers.h b/include/drivers/timers.h index ff52eb8..c73a575 100644 --- a/include/drivers/timers.h +++ b/include/drivers/timers.h @@ -113,10 +113,10 @@ struct lpc_timer_pwm_config { * prescale_val: if not nul, override the prescaler value computed during timer_on() with this * value. It is not clear in the documentation whether the prescaler is used in counter mode * or not. - * count_control selects the capture channel used to increment the counter when in counter mode. + * count_control selects the capture event used to increment the counter when in counter mode. * count_control is one of LPC_COUNTER_INC_ON_RISING or LPC_COUNTER_INC_ON_FALLING or * LPC_COUNTER_INC_ON_BOTH. - * count_chann selects the channel used to increment the counter (value between 0 and MAX_CHANS). + * count_chan selects the channel used to increment the counter (value between 0 and MAX_CHANS). * reset_on_cap is activated by adding LPC_COUNTER_CLEAR_ON_EVENT_EN to a capture reset event (one * of LPC_COUNTER_CLEAR_ON_*** whith *** Going from CHAN0_RISE, CHAN0_FALL, ... to CHAN3_FALL) * match_control[] is a combination of LPC_TIMER_INTERRUPT_ON_MATCH, LPC_TIMER_RESET_ON_MATCH and -- 2.43.0