BSP and Device Driver Development Guide
The pollWrite
routine is responsible for writing len
characters
from buf
to the serial device specified by minor
.
int pollWrite (int minor, const char *buf, int len) { for (i=0; i<len; i++) { put buf[i] into the UART channel minor wait for the character to be transmitted on the serial line } return 0 }
BSP and Device Driver Development Guide
Copyright © 1988-2004 OAR Corporation