
SDK Programming Guide Version 1.511
ABLELink
R
Ethernet-Serial Server MAXI Series
Remarks:
Enable the H/W interrupt of the specific serial port. Prior to calling this
function, you must setup the Interrupt Service Routine (ISR) first.
DisableSerialHWintr()
Description:
Disable hardware interrupt of serial port.
Include:
DAPAPI.H
Usage:
void DisableSerialHWintr (ushort
port
)
Input Parameters:
port:
serial port number of Serial Server, 0: 1st port
Return Value:
None
Example:
Disable the 1st serial port H/W interrupt.
DisableSerialHWintr(0)
Remarks:
Disable the H/W interrupt of the specific serial port.
EnableRS485rx()
Description:
Include:
DAPAPI.H
Usage:
void EnableRS485rx (ushort
port
)
Input Parameters:
port:
serial port number of Serial Server, 0: 1st port
Return Value:
None
Example:
Enable RX mode of the 1st serial port.
EnableRS485rx( 1 )
Remarks:
Set the RS-485 transceiver to RX mode only of the specific serial port. This
function has no effect to RS-232 port.
EnableRS485tx()
Description:
Set the RS-485 transceiver to TX mode.
Include:
DAPAPI.H
Usage:
void EnableRS485tx (ushort
port
)
Input Parameters:
port:
serial port number of Serial Server, 0: 1st port
Return Value:
None
Copyright © 2004 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.