summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorAubr.Cool <[email protected]>2015-03-26 08:40:36 +0800
committerAubr.Cool <[email protected]>2015-03-26 08:40:36 +0800
commit7caabd2b7ab591cba1bccc3641ab8c0300654bfc (patch)
treec9d2ed067ae99187ec6aa800cbe196a0a0e95107 /components
parent20018741d2717ccba31d3a58f38f88dcfd9804b7 (diff)
mv device ctl cmd macros from serial.h to rtdef.h
Diffstat (limited to 'components')
-rw-r--r--components/drivers/include/drivers/serial.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/components/drivers/include/drivers/serial.h b/components/drivers/include/drivers/serial.h
index bf2a25ae1e..3b0a009072 100644
--- a/components/drivers/include/drivers/serial.h
+++ b/components/drivers/include/drivers/serial.h
@@ -65,11 +65,6 @@
#define RT_SERIAL_RB_BUFSZ 64
#endif
-#define RT_DEVICE_CTRL_CONFIG 0x03 /* configure device */
-#define RT_DEVICE_CTRL_SET_INT 0x10 /* enable receive irq */
-#define RT_DEVICE_CTRL_CLR_INT 0x11 /* disable receive irq */
-#define RT_DEVICE_CTRL_GET_INT 0x12
-
#define RT_SERIAL_EVENT_RX_IND 0x01 /* Rx indication */
#define RT_SERIAL_EVENT_TX_DONE 0x02 /* Tx complete */
#define RT_SERIAL_EVENT_RX_DMADONE 0x03 /* Rx DMA transfer done */