* 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