UART read() & scanf()

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

UART read() & scanf()

2,386件の閲覧回数
lel_chen
Contributor I

Hi ,

        With respect to UART functionality, what is the difference between _io_read() & _io_scanf() functions OR _io_write() & _io_printf() functions?

        Is _io_read() a blocking call?

 

Thanks,

Chen

ラベル(1)
タグ(1)
0 件の賞賛
3 返答(返信)

442件の閲覧回数
CrasyCat
Specialist III

Hello

 

Basically I would say io_read and io_write are used to read/write a single character, where io_scanf and io_printf are used for formatted output/input.

 

It would help to know which processor you are targeting for a more accurate answer.

 

CrasyCat

0 件の賞賛

442件の閲覧回数
lel_chen
Contributor I

Hi,

     The processor used is M52259. I would like to know which among them are blocking calls.

 

Thanks,

Chen

0 件の賞賛

442件の閲覧回数
CrasyCat
Specialist III

Hello

 

All of them are blocking calls.

 

CrasyCat

0 件の賞賛