I read SIO pdf, and now i want to get a example.After read the example code, I find something unsure,for example:
1. SIO_get, exchange a empty buf with full buf filled data by ISR and I very care about if my program does not call SIO_get, whether or not the ISR to receive data for interface, such as UART? if receive , where to fill? becasue In my program the things is like this ISR receive data always, and if a buffer full, ISR send a sigal to TSK and change another buffer to receive data, but I feel SIO work different like this and almost opposite to this. what a ill thing!
2. SIO_issue + SIO_reclaim = SIO_get; which works very difficult to understand. I understand like this SIO_issue give a buffer to the Device Driver which was used by ISR at last, and then wait for the buffer filled full with calling SIO_reclaim,when full the SIO_reclaim return and reclaim the buffer gived out. my question is like above, if my program does not Call SIO_issue and SIO_reclaim, where is the place to put data received by ISR or ISR does not receive any data during the situation?
3. I read the real time IO stream reference pdf, but I can not understand the KEY feature of stream IO. what is mean stream IO? how is stream, like water? how to understand?
4. If I used SIO to communication with C6748 UART, should I write the UART Driver which is called by SIO module or ti had support the UART driver?
thank you, anyone!