mbed library sources. With a patch for the can_api

Fork of mbed-dev by mbed official

Revision:
150:02e0a0aed4ec
Parent:
149:156823d33999
diff -r 156823d33999 -r 02e0a0aed4ec targets/TARGET_ONSEMI/TARGET_NCS36510/rtc.h
--- a/targets/TARGET_ONSEMI/TARGET_NCS36510/rtc.h	Fri Oct 28 11:17:30 2016 +0100
+++ b/targets/TARGET_ONSEMI/TARGET_NCS36510/rtc.h	Tue Nov 08 17:45:16 2016 +0000
@@ -52,9 +52,15 @@
 #define RTC_CONTROL_SUBSEC_CNT_INT_BIT_POS      2
 #define RTC_CONTROL_SEC_CNT_INT_BIT_POS         3
 
+#define RTC_STATUS_SUB_SEC_ALARM_WRT_BIT_POS    6
+#define RTC_STATUS_SEC_ALARM_WRT_BIT_POS        7
+#define RTC_STATUS_CONTROL_WRT_BIT_POS          8
 #define RTC_STATUS_SUB_SEC_INT_CLR_WRT_BIT_POS  9
 #define RTC_STATUS_SEC_INT_CLR_WRT_BIT_POS      10
 
+#define SUB_SEC_MASK    0x7FFF
+
+
 /* FUnction pointer for call back */
 typedef void (* fRtcCallBack)(void);