I'm starting a project on a Coldfire 54418 with MQX.
I'm quite happy to use IO drivers and to avoid developping painful stuff as UART low level driver.
But at this point, I've spent some hours on the MQX document (I/O Drivers User's Guide) but I still have some questions on the UART management.
The UART can be used in "polled" and "interrupt" mode.
What is the difference between these 2 modes ?
When should the "polled" mode be used ?
Are "io_read" and "io_write" blocking functions ?
(For example, if I call _io_read, and no character has been received, is the task suspended until a character has been received on the UART?)
How does the flag IO_SERIAL_NON_BLOCKING operates ?
How exclusion works if several tasks call _io_read at the same time ?
I've seen many threads related to the UART but I still can't get a clear view on how it works.
Is there a reference document on this matter?
Thanks in advance.