Philips Semiconductors
Product data
P83C654X2/P87C654X2
80C51 8-bit microcontroller family
16 kB OTP/ROM,
256B RAM, low voltage (2.7 to 5.5 V), low power, high speed
(30/33 MHz)
2004 Apr 20
60
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
! STATE
: B8, DATA has been transmitted, ACK received.
! ACTION
: DATA will be transmitted, ACK bit is received.
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
.sect
stsb8
.base
0x1b8
mov
psw,#SELRB3
mov
S1DAT,@r1
ajmp SCON
01B8
01BB
01BD
75D018
87DA
01F8
.sect
.base
scn
0xf8
00F8
75D8C5
SCON:
mov
S1CON,#ENS1_NOTSTA_NOTSTO_NOTSI_AA_CR0
! clr SI, set AA
00FB
00FC
00FE
09
D0D0
32
inc
pop
reti
r1
psw
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
! STATE
: C0, DATA has been transmitted, NOT ACK received.
! ACTION
: Enter not addressed SLV mode.
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
.sect
stsc0
.base
0x1c0
mov
S1CON,#ENS1_NOTSTA_NOTSTO_NOTSI_AA_CR0
01C0
75D8C5
! clr SI, set AA
01C3
01C5
D0D0
32
pop
reti
psw
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
! STATE
: C8, Last DATA has been transmitted (AA=0), ACK received.
! ACTION
: Enter not addressed SLV mode.
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
.sect
stsc8
.base
0x1c8
mov
S1CON,#ENS1_NOTSTA_NOTSTO_NOTSI_AA_CR0
01C8
75D8C5
! clr SI, set AA
01CB
01CD
D0D0
32
pop
reti
psw
!********************************************************************************************************
!********************************************************************************************************
! END OF SI01 INTERRUPT ROUTINE
!********************************************************************************************************
!********************************************************************************************************