diff options
| author | [email protected] <[email protected]> | 2012-05-22 18:10:03 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-05-22 18:10:03 +0000 |
| commit | f29989094cde5a672a2192e2141239c77c36e4cc (patch) | |
| tree | 1a8ee2185ae041fa5daf262eb6a17eafd76a44ad | |
| parent | 6e8a644db6b6be7d08a232b1d929105002b38767 (diff) | |
ADD I2C BUS device type
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2130 bbd45198-f89e-11dd-88c7-29a3b14d5316
| -rw-r--r-- | include/rtdef.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index 67fda14610..6bd8ed002e 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -628,7 +628,8 @@ enum rt_device_class_type RT_Device_Class_RTC, /**< RTC device */ RT_Device_Class_Sound, /**< Sound device */ RT_Device_Class_Graphic, /**< Graphic device */ - RT_Device_Class_I2C, /**< I2C device */ + RT_Device_Class_I2CBUS, /**< I2C bus device */ + RT_Device_Class_I2CDevice, /**< I2C device */ RT_Device_Class_USBDevice, /**< USB slave device */ RT_Device_Class_USBHost, /**< USB host bus */ RT_Device_Class_SPIBUS, /**< SPI bus device */ |
