Chapter 4 Software Developmentpage 4-27Table 4.5.1. Library Functions Calling read() and write()I/O Library Function Required Low-Level Functionfgetc,fgets,fscanf,getc,getchar,gets,scanf readfflush,fprintf,fputc,fputs,fwrite,printf,putc,putchar,puts,vfprintf,vprintf writeFor further details on these and other library functions, refer to the RTL665S Run-Time LibraryReference.The source code file stdrw573.c contains the source code and settings for these two low-levelfunctions. Including it on the compiler command line provides the user program with access to thestandard library I/O functions.Command Linecl665s /T m66573 /H /WIN [user program] stdrw573.c l66ks50s.lib 4.5.2 Serial PortIncluding the source code file stdrw573.c provides the user program with access to this standard I/O.This Section discusses the MSM66Q573 internal serial port that the JOB60851 board uses for thispurpose, with the structure outlined in Figure 4.5.2.Baud rategenerator(BRG)SIO0 (UART)I/O controlcircuitry I/ObuffersMSM66Q573 internal busTransmit data: TXD0 (Port7_1)Receive data: RXD0 (Port7_0)External clock: RXC0 (Port7_2)I/O dataFigure 4.5.2. Serial Port StructurePort 7_1 on the is the MSM66Q573 TX pin transmitting the standard output data to the terminalemulator running on the host personal computer; Port 7_0, the RX pin receiving the standard inputdata in the reverse direction. (The JOB60851 board does not use Port 7_2.)The baud rate generator (BRG) uses the overflow signal from MSM66Q573 internal timer 3.