Receive data over SDU

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Receive data over SDU

Post by Giovanni »

The first parameter is an even source, the macro chnGetEventSource() returns the event source of an I/O channel.

chEvtDispatch() is called in a loop because you want to serve all events received not just he first one.

If you look in the development forum there is a very good guide to events in a recent thread.

Giovanni
Post Reply