VIRTUTECH CONFIDENTIAL Previous - Up - Next
NS16450
- Provided by
-
NS16450
- Class Hierarchy
-
conf-object → log-object → NS16450
- Interfaces Implemented
-
log_object, rs232_device, serial_device, event_poster, io_memory
- Ports
-
Reset (signal)
- Description
-
National Semiconductor's NS16450, a Universal Asynchronous Receiver/Transmitter (UART).
Attributes
- Attributes inherited from class conf-object
-
attributes, classname, component, iface, name, object_id, queue
- Attributes inherited from class log-object
-
access_count, log_buffer, log_buffer_last, log_buffer_size, log_group_mask, log_groups, log_level, log_type_mask
- Attribute List
-
- console
- Optional attribute; read/write access; type: Object or Nil.
Console or device connected to the serial port.
- dl
- Optional attribute; read/write access; type: Integer.
Baud rate divisor latches (MSB|LSB).
- fcr
- Optional attribute; read/write access; type: Integer.
FIFO Control Register.
- ier
- Optional attribute; read/write access; type: Integer.
Interrupt Enable Register.
- iir
- Optional attribute; read/write access; type: Integer.
Interrupt Identification Register.
- interrupt_mask_out2
- Optional attribute; read/write access; type: Integer.
If set to non-zero, then the OUT2 pin is used to mask the output interrupt pin, meaning that no interrupt will be raised unless OUT2 is high.
- interrupt_pin
- Optional attribute; read/write access; type: Integer.
Interrupt pin status.
- interrupt_requests
- Optional attribute; read/write access; type: Integer.
Interrupt requests.
- irq_dev
- Optional attribute; read/write access; type: Object or Nil.
Device that interrupts are sent to.
- irq_level
- Optional attribute; read/write access; type: Integer.
Interrupt level.
- lcr
- Optional attribute; read/write access; type: Integer.
Line Control Register (Data Format Register).
- link
- Optional attribute; read/write access; type: Object or Nil.
Serial link that this device is connected to.
- lsr
- Optional attribute; read/write access; type: Integer.
Line Status Register (Serialization Status Register).
- mcr
- Optional attribute; read/write access; type: Integer.
Modem Control Register.
- msr
- Optional attribute; read/write access; type: Integer.
Modem Status Register.
- overrun_debug_level
- Optional attribute; read/write access; type: Integer.
Debug level for receive overrun messages.
- rbr
- Optional attribute; read/write access; type: Integer.
Receiver Buffer Register.
- rbr_busy
- Optional attribute; read/write access; type: Integer.
Receiver buffer register not read by CPU.
- rcvr_fifo
- Optional attribute; read/write access; type: [i*].
Contents of the 16 byte deep receive FIFO.
- recorder
- Required attribute; read/write access; type: Object.
Recorder device for playback of serial traffic.
- scr
- Optional attribute; read/write access; type: Integer.
Scratch-pad Register.
- target_pace_receive
- Optional attribute; read/write access; type: Integer.
If this attribute is non-zero (default), no receiver overruns will occur (except for loopback operation). Bytes will be read from the console at the same pace as they are consumed by the target operating system. This means that received bytes must be buffered by the console.
- thr
- Optional attribute; read/write access; type: Integer.
Transmitter Hold Register.
- waiting_for_tx
- Optional attribute; read/write access; type: Integer.
Set if the device is waiting to transmit a character, but the destination is blocking.
- waiting_for_tx_fifo
- Optional attribute; read/write access; type: Integer.
Set if the character blocking is in the fifo.
- xmit_fifo
- Optional attribute; read/write access; type: [i*].
Contents of the 16 byte deep transmit FIFO.
- xmit_time
- Optional attribute; read/write access; type: Integer.
Time between character transmits, in ns. Default is 100000.
Command List
- Commands defined by interface log_object
-
log, log-group, log-level, log-size, log-type
- Commands
-
info | print information about the device |
status | print status of the device |
Command Descriptions
-
<NS16450>.info
- Synopsis
-
<NS16450>.info
- Description
-
Print detailed information about the configuration of the device.
-
<NS16450>.status
- Synopsis
-
<NS16450>.status
- Description
-
Print detailed information about the current status of the device.
VIRTUTECH CONFIDENTIAL Previous - Up - Next