Quantcast
Channel: Zigbee 和 Thread
Viewing all articles
Browse latest Browse all 16964

帖子: cc2538 usb cdc

$
0
0

您好,

        在cc2538 usb cdc 的demo中,在usbCdcInit()中有个usbCdcData.cts = 1; // Indicate CTS to DCE (here handled internally as CDC does not directly support CTC).

 在usbCdcProcessEvents()中有

if(usbCdcData.cts && usbCdcData.rts){ usbobufPollEndpoint(&usbCdcOutBufferData); usbibufPollEndpoint(&usbCdcInBufferData);}

 在上位机用c#编程中,发现需要打开DTE=1,是否cc2538 USB CDC 可以直接支持硬件握手。 


Viewing all articles
Browse latest Browse all 16964

Trending Articles