We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I was trying to understand the following code. We have "void myUSART_callback(uint32_t event)" this function having parameter "uint32_t event" so can anyone please exaplain from where the value of event comes???
link of the code - https://arm-software.github.io/CMSIS_5/Driver/html/group__usart__interface__gr.html
It's explained on the same page you copied the example from: the driver generates the event by calling the user-supplied callback function with the appropriate value for event. The conditions that generate each event are also explained. Which events are generated depend on the driver capabilities.