This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cc2540 USB问题

Expert 1254 points

类似按键的中断处理最后会启动 一个osal_start_timerEx 进而处理按键事务,但是USB的中断 usbirqHandler 这个处理之后清除完标志位就直接退出了,这个中断的事务怎么提示操作系统处理呢?

  • wei,

    按键中断和USB中断处理不一样。

    USB因为有USB控制器,软件方面集成了CDC驱动,你可以看一下HostTestApp工程里面的USB驱动代码。