summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
authoriysheng <[email protected]>2021-07-05 11:34:11 +0800
committeriysheng <[email protected]>2021-07-08 22:41:06 +0800
commita2a7f3c2d926388c71d0be5fca0309bfef81e523 (patch)
treebf133529b101e5dcb63ba30d130f5ec765418336 /include/rtdef.h
parent2fda55d898826a1ee79babc4e0852ce539a3bff4 (diff)
[components][rtc] Add RTC framework V2.0 to simplify RTC registration process
Diffstat (limited to 'include/rtdef.h')
-rw-r--r--include/rtdef.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 111ac4a12c..2b4750330f 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -962,12 +962,6 @@ enum rt_device_class_type
#define RT_DEVICE_CTRL_BLK_AUTOREFRESH 0x13 /**< block device : enter/exit auto refresh mode */
#define RT_DEVICE_CTRL_NETIF_GETMAC 0x10 /**< get mac address */
#define RT_DEVICE_CTRL_MTD_FORMAT 0x10 /**< format a MTD device */
-#define RT_DEVICE_CTRL_RTC_GET_TIME 0x10 /**< get second time */
-#define RT_DEVICE_CTRL_RTC_SET_TIME 0x11 /**< set second time */
-#define RT_DEVICE_CTRL_RTC_GET_TIME_US 0x12 /**< get microsecond time */
-#define RT_DEVICE_CTRL_RTC_SET_TIME_US 0x13 /**< set microsecond time */
-#define RT_DEVICE_CTRL_RTC_GET_ALARM 0x14 /**< get alarm */
-#define RT_DEVICE_CTRL_RTC_SET_ALARM 0x15 /**< set alarm */
typedef struct rt_device *rt_device_t;