Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_ONSEMI/TARGET_NCS36510/rtc.h
- 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);