URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [libchip/] [serial/] [README.ns16550] - Rev 30
Go to most recent revision | Compare with Previous | Blame | View Log
## $Id: README.ns16550,v 1.2 2001-09-27 12:01:42 chris Exp $#Status======This driver appears to work OK for polled output at this point.It needs to be tested for:+ polled input+ interrupt driver output+ interrupt driver inputThis driver does not support the new style RTEMS interrupt processingused on the i386 and some PowerPC models.Configuration Table Use=======================sDeviceNameThe name of this device.deviceTypeThis field must be SERIAL_NS16550.pDeviceFnsThe device interface control table. This may be:+ ns16550_fns for interrupt driven IO+ ns16550_fns_polled for polled IOdeviceProbeThis is the address of the routine which probes to see if the deviceis present.pDeviceFlowThis field is ignored as hardware flow control is not currently supported.ulMarginThis is currently unused.ulHysteresisThis is currently unused.pDeviceParamsThis is set to the default settings. At this point, it is the defaultbaud rate cast as a (void *).ulCtrlPort1This field is the base address of this port on the UART.ulCtrlPort2This field is unused for the NS16550.ulDataPortThis field is the base address of this port on the UART.getRegistersetRegisterThese follow standard conventions.getDatasetDataThese are unused since the TX and RX data registers can be accessedas regular registers.ulClockThis is the clock constant which is divided by the desired baudto get the value programmed into the part. The formula for thisfor 9600 baud is:chip_divisor_value = ulClock / 9600.NOTE: When ulClock is 0, the correct value for a PC (115,200) isused.ulIntVectorThis is the interrupt vector number associated with this chip.
Go to most recent revision | Compare with Previous | Blame | View Log
