提交 f6f81eb0 编写于 作者: B bernard.xiong@gmail.com

Add more device type.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1835 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 adb734ec
...@@ -147,10 +147,10 @@ typedef rt_base_t rt_off_t; /**< Type for offset ...@@ -147,10 +147,10 @@ typedef rt_base_t rt_off_t; /**< Type for offset
#define RT_EEMPTY 4 /**< The resource is empty */ #define RT_EEMPTY 4 /**< The resource is empty */
#define RT_ENOMEM 5 /**< No memory */ #define RT_ENOMEM 5 /**< No memory */
#define RT_ENOSYS 6 /**< No system */ #define RT_ENOSYS 6 /**< No system */
#define RT_EBUSY 7 /**< Busy */ #define RT_EBUSY 7 /**< Busy */
#define RT_EIO 8 /**< IO error */
/*@}*/ /*@}*/
/** /**
* @ingroup BasicDef * @ingroup BasicDef
* *
...@@ -577,7 +577,10 @@ enum rt_device_class_type ...@@ -577,7 +577,10 @@ enum rt_device_class_type
RT_Device_Class_Graphic, /**< Graphic device */ RT_Device_Class_Graphic, /**< Graphic device */
RT_Device_Class_I2C, /**< I2C device */ RT_Device_Class_I2C, /**< I2C device */
RT_Device_Class_USBDevice, /**< USB slave device */ RT_Device_Class_USBDevice, /**< USB slave device */
RT_Device_Class_USBHost, /**< USB host bus */ RT_Device_Class_USBHost, /**< USB host bus */
RT_Device_Class_SPIBUS, /**< SPI bus device */
RT_Device_Class_SPIDevice, /**< SPI device */
RT_Device_Class_SDIO, /**< SDIO bus device */
RT_Device_Class_Unknown /**< unknown device */ RT_Device_Class_Unknown /**< unknown device */
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册