The Serial Driver handles a serial port and is required for
a PPP or SLIP serial network interface. The Serial Driver is
interrupt driven since polling for a new character sometimes
fails at higher baud rates and some of the received characters might
be lost.
The serial receive interrupt function stores incoming characters
to an intermediate input buffer. The serial transmit interrupt
function sends outgoing data from an output buffer to a serial
port.
If you use a serial PPP or SLIP network interface, then
copy the serial device driver to your project directory and
add it to your project.
RL-TCPnet includes various serial device drivers for different ARM
device variants. The driver filename syntax used is
Serial_xxxx.c, where xxxx is the device name. The
drivers are located in the \Keil\ARM\RL\TCPnet\User
directory:
Serial.c is configured for Philips LPC21xx devices. Use
this driver for all Keil MCB21xx evaluation boards.
Serial_LPC214x.c is configured for Philips LPC214x
devices. This driver uses extended features which allow configuring
various baud rates using built-in fractional baud rate
generator.
Serial_S3C44B0X.c is configured for Samsung S3C44B0X
devices.
For ARM device variants that are not currently supported, or if
you are using an external UART, use the Serial.c device driver
as a template and customize it for your needs.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.