1.USB device drivers are advanced drivers. To develop such device drivers, developers must be familiar with the corresponding peripheral protocols. When developing USBD device drivers, it is not necessary to implement all the operation methods provided by the driver framework. Some operation methods may not be implemented. For example, which ones?
set_config configures USBD device, suspend suspends USBD device, wakeup wakes up USBD device
2. The CAN interrupt function does not have a return value. In the process of driver writing, according to different interrupt events, event
The following values are possible: 0x01/*receive complete*/, 0x02/*send complete*/, 0x03/*send failed*/, 0x05/*receive timeout*/, 0x06/*receive overflow*/
3. Which functions need to be called when entering and exiting an interrupt?
When entering and exiting an interrupt, you need to call the interrupt entry function rt_interrupt_enter and the interrupt exit function rt_interrupt_leave.
2023.10.01, happy National Day holiday~