Please enable JavaScript to view this site.

Function that cleans all data in the TX and RX buffers of the specified serial.

Syntax

i32 ser_flush (i32 nSer)

nSer

Serial channel number

Result

Returns:

Value

Meaning

0

Operation performed successfully

-2

nSer illegal

Validity

Rule, Task

Note


 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC