Electronic Components Datasheet Search
  English  ▼

X  

CD1865 Datasheet(PDF) 90 Page - Intel Corporation

Part # CD1865
Description  Intelligent Eight-Channel Communications Controller
PDF  150 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  INTEL [Intel Corporation]
Direct Link  http://www.intel.com
Logo INTEL - Intel Corporation

CD1865 Datasheet(HTML) 90 Page - Intel Corporation

Back Button CD1865 Datasheet HTML 86Page - Intel Corporation CD1865 Datasheet HTML 87Page - Intel Corporation CD1865 Datasheet HTML 88Page - Intel Corporation CD1865 Datasheet HTML 89Page - Intel Corporation CD1865 Datasheet HTML 90Page - Intel Corporation CD1865 Datasheet HTML 91Page - Intel Corporation CD1865 Datasheet HTML 92Page - Intel Corporation CD1865 Datasheet HTML 93Page - Intel Corporation CD1865 Datasheet HTML 94Page - Intel Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 90 / 150 page
background image
CD1865 — Intelligent Eight-Channel Communications Controller
90
Datasheet
Set_Byte(SCHR4, 0x13);
Set_Byte(RTPR, 0x05);
// Set timeout value
Set_Byte(TBPRH,0x00);
// Set Tx baud rate 115200 (devisor 0x12) at
33 MHz
Set_Byte(TBPRL,0x12);
Set_Byte(RBPRH,0x00);
// Set Rx baud rate 115200 (devisor 0x12) at
33 MHz
Set_Byte(RBPRL,0x12);
8.11.3
Basic I/O Operations
All the example routines for accessing and programming the board resources are written in
BorlandC++, but can be easily ported to other languages. Specific device programming is not
included in this document; refer to the device data book for general programming information.
Read_Byte routine is used to read a register within the CD1865. The sequence is shown below:
// Read the content of assigned register
unsigned char Read_Byte( unsigned char addr )
{
return ( inportb( BASE_ADDR+addr ) );
}
Set_Byte routine is used to write to the register and is a similar operation as the Read_Byte.
// Set the content of assigned register
void Set_Byte( unsigned char addr, unsigned char data)
{
outportb(BASE_ADDR+addr, data);
}
8.11.4
Interrupt Response Operations
The CD1865 evaluation board generates a single interrupt to the ISA bus in response to an interrupt
from any of the three possible sources within the CD1865 device. The interrupt sources are from
the receive system, the transmit system, or the modem functions from any of the available
channels. This single interrupt can be user selected to any of the three ISA -bus interrupt sources as
described in the configuration section. Note that due to all the interrupt signals being OR’ed
together, the PC motherboard 8259A PIC must be programmed in level sensitive rather than edge-
sensitive mode.
Determining the Interrupt Source
The host’s response to an interrupt from the board is to call an interrupt service routine that
determines the type of interrupt pending and services the request. The example below shows one
way to perform the interrupt determination using the Interrupt Status register.
while (
(int_status = Read_Byte( SRSR )) & 0x15
){
//
Case of Receiving interrupt
if ( int_status & 0x10 )
Service_Rx(chan);
// Case of transmitting interrupt
if ( int_status & 0x04 )
Service_Tx(chan);



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com