mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-23 04:04:15 +08:00
[optimize] stm32 uart driver
This commit is contained in:
@@ -898,6 +898,7 @@ enum rt_device_class_type
|
||||
#define RT_DEVICE_CTRL_RESUME 0x01 /**< resume device */
|
||||
#define RT_DEVICE_CTRL_SUSPEND 0x02 /**< suspend device */
|
||||
#define RT_DEVICE_CTRL_CONFIG 0x03 /**< configure device */
|
||||
#define RT_DEVICE_CTRL_CLOSE 0x04 /**< close device */
|
||||
|
||||
#define RT_DEVICE_CTRL_SET_INT 0x10 /**< set interrupt */
|
||||
#define RT_DEVICE_CTRL_CLR_INT 0x11 /**< clear interrupt */
|
||||
|
||||
Reference in New Issue
Block a user