Name
serial_rx_setcb —
set the serial callback
Synopsis
#include <serial.h>
void serial_rx_setcb ( | cb) ; | |
event_handle_t cb
;
Arguments
cb
callback function to be invoked
Description
Specify the callback function to be invoked, when a character is
received in the serial port. The callback does not take arguments
and does not return values. An example callback is shown below.