From: Nathael Pajani Date: Mon, 3 Oct 2016 15:05:29 +0000 (+0200) Subject: Add enum for timer channels X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=ff7a4d776db3377ee522ffdbdd11262bf82f6763;p=soft%2Flpc122x%2Fcore Add enum for timer channels --- diff --git a/include/drivers/timers.h b/include/drivers/timers.h index b735ddb..4620a27 100644 --- a/include/drivers/timers.h +++ b/include/drivers/timers.h @@ -57,6 +57,13 @@ enum lpc_timers { LPC_TIMER_32B1, /* 32 bits timer 1 */ }; +enum lpc_timer_channels { + CHAN0 = 0, + CHAN1, + CHAN2, + CHAN3, +}; + /* Available timer modes * * Some mode may be combined, and some are exlusive : * Values here are important :