DS80c400 and Serial 2

Hey guys.
I'm looking for information on how to configure serial 2 on the ds80c400 microcontroller.
There is a lot of information about port 0 and port 1, but nothing about port 2.

Can any one help me.

Tanks,

Alexandre
 
MOV T3CM,#052H ;
MOV SCON2,#0D0H ;;
MOV TH3,#0FBH ;19200 BPS
MOV TL3,#0FBH

RI_2 EQU B.0
TI_2 EQU B.1
RD_SERIAL2:
MOV B,SCON2
JNB RI_2,RD_SERIAL2_100
CLR RI_2
MOV SCON2,B
MOV A,SBUF2 ;
RET

WR_SERIAL2:
MOV B,SCON2
CLR TI_2
MOV SCON2,B
MOV SBUF2,A
M02:
MOV B,SCON2
JNB TI_2,M02
RET
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…