AX10445 Module Series User
’
s Manual
Application
21
C h a p t e r 4
Application
4.1 General
The AX10445 is usually applied in:
Ø
File transfer between two computers.
Ø
Local area network, which include a central computer
(file server) and several remote computers.
There are three ways to access the serial ports in an MS-
DOS system. You can control the serial port through an
installable character device driver, or by installing a TSR
(terminate and stay resident). The third method is to develop
a stand-alone application that includes the interrupt handler
for the serial port.
Before using the serial port, you must set the communication
parameters for each port (these parameters must be the
same for ports transferring data to each other). If you are
using the standard COM1 and COM2 as your serial ports then
the parameters can be defined directly via the function calls
supported in serial high level languages. i.e.:
l
For Turbo C language, issue “bioscom()”.
l
For Microsoft C, issue “_bios_serialcom()”.
l
For Window 3.X, issue “SetComState()”.
Also these two standard ports already have pre-designated
IRQ numbers and interrupt numbers. The pre-designated IRQ
numbers are IRQ3 (interrupt vector number B) for COM1 and
IRQ4 (interrupt vector number C) for COM2.
If these standard parts weren
’
t used, then when you
determine the communication parameter you must write to
the 8-bit registers of the UART (see
Page 13
) and assign the
IRQ number by selecting jumpers. Once the IRQ numbers are
known, the steps involved in programming are the same as
Содержание AX10445 Series
Страница 1: ...AX10445 Series Isolated Dual Channel RS422 485 Interface Module User s Manual...
Страница 10: ...AX10445 Module Series User s Manual 4 This page does not contain any information...
Страница 20: ...AX10445 Module Series User s Manual Setting up the AX10445 14 This page does not contain any information...
Страница 41: ...AX10445 Module Series User s Manual Application 33 return 0 void Reset_Buf rear1 front1 rear2 front2 0...
Страница 46: ...AX10445 Module Series User s Manual 36 This page does not contain any information...
Страница 48: ...AX10445 Module Series User s Manual 38 This page does not contain any information...
Страница 50: ...AX10445 Module Series User s Manual 40 This page does not contain any information...
Страница 52: ...AX10445 Module Series User s Manual 42 This page does not contain any information...
Страница 54: ...AX10445 Module Series User s Manual 44 This page does not contain any information...
Страница 58: ...AX10445 Module Series User s Manual 48 This page does not contain any information...