From ff7a4d776db3377ee522ffdbdd11262bf82f6763 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Mon, 3 Oct 2016 17:05:29 +0200 Subject: [PATCH] Add enum for timer channels --- include/drivers/timers.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 : -- 2.43.0