From: Nathael Pajani Date: Fri, 28 Dec 2018 11:00:15 +0000 (+0100) Subject: Add 16bits versions of defines for Autolimit and autoreload register fields X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=a47d013c28fea50b09afc9b22085af3216be7a8a;p=soft%2Flpc82x%2Fcore Add 16bits versions of defines for Autolimit and autoreload register fields --- diff --git a/include/drivers/sctimers.h b/include/drivers/sctimers.h index 16a3893..292eaea 100644 --- a/include/drivers/sctimers.h +++ b/include/drivers/sctimers.h @@ -106,8 +106,12 @@ struct lpc_sct_timer #define LPC_SCT_CLK_FALLING_IN(x) ((((x) * 2 ) + 1) << 3) /* Other */ #define LPC_SCT_NORELOAD (0x01 << 7) +#define LPC_SCT_NORELOAD_L (0x01 << 7) +#define LPC_SCT_NORELOAD_H (0x01 << 8) #define LPC_SCT_IN_EVT_SYNC(x) ((0x01 << ((x) & 0x03)) << 9) #define LPC_SCT_AUTOLIMIT (0x01 << 17) +#define LPC_SCT_AUTOLIMIT_L (0x01 << 17) +#define LPC_SCT_AUTOLIMIT_H (0x01 << 18) /* Control register */ #define LPC_SCT_DOWN (0x01 << 0)