Signed-off-by: surenyi <surenyi82@qq.com>
@ -23,26 +23,31 @@ instance:
* }
* @p
*/
@DirectCall
create(Int port);
/*!
* read a byte from serial.
UInt8 read();
* write a byte to serial.
void write(UInt8 ch);
* data is comming.
*
Bool isReady();
* get the lowlevel uart handle.
Ptr getUart();
internal: