Hi, Anguel
Sorry for that it is a typo. it should be "sometimes, the return value of read is the IO_ERROR", please refer to mqx\source\fio\io_read.c file for the _io_read() member fucntion. If you try to debug the default ADC demo project, in for() loop
for(i = 0; ; i++)
{
......
if (read(f_ch1, &data, sizeof(data) ))
printf("ADC ch 1: %4d ", data.result);
else
printf(" ");
.......
}
sometimes, printf(" "); is excuted.
have a nice day
fenghua