Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
UART(4)			    Kernel Interfaces Manual		       UART(4)

NAME
       uart  --	 driver	for Universal Asynchronous Receiver/Transmitter	(UART)
       devices

SYNOPSIS
       device uart

       device puc
       device uart

DESCRIPTION
       The uart	device driver provides support for various  classes  of	 UARTs
       implementing  the EIA RS-232C (CCITT V.24) serial communications	inter-
       face.  Each such	interface is controlled	by a seperate and  independent
       instance	of the uart driver.  The primary support for devices that con-
       tain multiple serial interfaces or that contain other functionality be-
       sides  one  or  more serial interfaces is provided by the puc(4)	device
       driver.	However, the serial interfaces of those	devices	that are  man-
       aged  by	the puc(4) driver are controlled by the	uart driver.  As such,
       the puc(4) driver provides umbrella functionality for the  uart	driver
       and hides the complexities that are inherent when elementary components
       are packaged together.

       The  uart driver	has a modular design to	allow it to be used on differ-
       ing hardware and	for various purposes.  In the following	 sections  the
       components  are discussed in detail.  Options are described in the sec-
       tion that covers	the component to which each option applies.

   CORE	COMPONENT
       At the heart of the uart	driver is the core component.  It contains the
       bus attachments and the low-level interrupt handler.

   HARDWARE DRIVERS
       The core	component and the  kernel  interfaces  talk  to	 the  hardware
       through	the  hardware interface.  This interface serves	as an abstrac-
       tion of the hardware and	allows varying UARTs to	 be  used  for	serial
       communications.

   SYSTEM DEVICES
       System devices are UARTs	that have a special purpose by way of hardware
       design  or  software  setup.   For example, Sun UltraSparc machines use
       UARTs as	their keyboard interface.  Such	an UART	 cannot	 be  used  for
       general	purpose	 communications.  Likewise, when the kernel is config-
       ured for	a serial console, the corresponding UART will  in  turn	 be  a
       system  device  so that the kernel can output boot messages early on in
       the boot	process.

   KERNEL INTERFACES
       The last	but not	least of the components	is the kernel interface.  This
       component ultimately determines how the UART is	made  visible  to  the
       kernel  in  particular and to users in general.	The default kernel in-
       terface is the TTY interface.  This allows the UART to be used for ter-
       minals, modems and serial line IP applications.	System	devices,  with
       the  notable  exception	of serial consoles, generally have specialized
       kernel interfaces.

SEE ALSO
       puc(4)

HISTORY
       The uart	device driver first appeared in	FreeBSD	5.2.

AUTHORS
       This manual page	was written by Marcel Moolenaar	<marcel@xcllnt.net>.

FreeBSD	5.2.1			August 25, 2003			       UART(4)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=uart&sektion=4&manpath=FreeBSD+5.2.1-RELEASE>

home | help