Philips Semiconductors
Preliminary specification
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I2C, PWM,
capture/compare, high I/O, low voltage (2.7V–5.5V), low power
P87C552
!********************************************************************************************************
!********************************************************************************************************
! SLAVE RECEIVER STATE SERVICE ROUTINES
!********************************************************************************************************
!********************************************************************************************************
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
! STATE
: 60, Own SLA+W have been received, ACK returned.
! ACTION : DATA will be received and ACK returned.
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
.sect
srs60
.base
0x160
0160
75D8C5
mov S1CON,#ENS1_NOTSTA_NOTSTO_NOTSI_AA_CR0
! clr SI, set AA
0163
0166
75D018
01D0
mov psw,#SELRB3
ajmp INITSRD
.sect
.base
insrd
0xd0
00D0
00D2
00D4
00D6
7840
7908
D0D0
32
INITSRD:
mov r0,#SRD
mov r1,#8
pop psw
reti
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
! STATE
!
: 68, Arbitration lost in SLA and R/W as MST
Own SLA+W have been received, ACK returned
! ACTION : DATA will be received and ACK returned.
STA is set to restart MST mode after the bus is free again.
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
!
.sect
srs68
.base
0x168
0168
016B
016E
75D8E5
75D018
01D0
mov S1CON,#ENS1_STA_NOTSTO_NOTSI_AA_CR0
mov psw,#SELRB3
ajmp INITSRD
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
! STATE : 70, General call has been received, ACK returned.
! ACTION : DATA will be received and ACK returned.
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
.sect
srs70
.base
0x170
0170
75D8C5
mov S1CON,#ENS1_NOTSTA_NOTSTO_NOTSI_AA_CR0
! clr SI, set AA
0173
0176
75D018
01D0
mov psw,#SELRB3
ajmp initsrd
! Initialize SRD counter
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
! STATE
!
: 78, Arbitration lost in SLA+R/W as MST.
General call has been received, ACK returned.
! ACTION : DATA will be received and ACK returned.
STA is set to restart MST mode after the bus is free again.
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
!
.sect
srs78
.base
0x178
0178
017B
017E
75D8E5
75D018
01D0
mov S1CON,#ENS1_STA_NOTSTO_NOTSI_AA_CR0
mov psw,#SELRB3
ajmp INITSRD
! Initialize SRD counter
57
1999 Mar 30