mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-08-20 21:29:42 +08:00
implement set_timeval
This commit is contained in:
+4
-4
@@ -964,10 +964,10 @@ enum rt_device_class_type
|
||||
#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_ALARM 0x12 /**< get alarm */
|
||||
#define RT_DEVICE_CTRL_RTC_SET_ALARM 0x13 /**< set alarm */
|
||||
#define RT_DEVICE_CTRL_RTC_GET_TIME_US 0x14 /**< get microsecond time */
|
||||
#define RT_DEVICE_CTRL_RTC_SET_TIME_US 0x15 /**< set microsecond 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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user