URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [libchip/] [serial/] [README.mc68681] - Rev 532
Go to most recent revision | Compare with Previous | Blame | View Log
## $Id: README.mc68681,v 1.2 2001-09-27 12:01:42 chris Exp $#Configuration Table Use=======================sDeviceNameThe name of this device.deviceTypeThis field must be SERIAL_MC68681.pDeviceFnsThe device interface control table. This may be:+ mc68681_fns for interrupt driven IO+ mc68681_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.ulCtrlPort1This field is the base address of the entire DUART.ulCtrlPort2This field is the base address of the port specific registers.ulDataPortThis field is bit mapped as follows:bit 0: baud rate set a or bbit 1-2: BRG selection ("Select Extend bit")Note: If both ports on single DUART are not configured for the samebaud rate set, then unexpected results will occur.Note: On the Exar 88c681, if a standard clock of 3.6864 Mhz is usedand the "Select Extend bit" is 0 (disabled), then the defaultMC68681 baud rate table is selected.getRegistersetRegisterThese follow standard conventions.getDatasetDataThese are unused since the TX and RX data registers can be accessedas regular registers.ulClockThis is a pointer to a baud rate mapping table. If set tomc68681_baud_rate_table, then the CSR/ACR/X bit mappings shownin the 68681 and 88681 manuals are used. Otherwise, the boardspecific baud rate mapping is used.NULL is not a valid value.ulIntVectorThis is the interrupt vector number associated with this chip.
Go to most recent revision | Compare with Previous | Blame | View Log
