Kawasaki KS152JB, 80C152, 80C51 technical specifications Program Status Word, RS1 RS0

Models: 80C51 KS152JB 80C152

1 120
Download 120 pages 28.28 Kb
Page 117
Image 117

KS152JB Universal Communications Controller Technical Specifications

The SBUF sfr is set to 00h by a reset.

There is unrestricted read/write access to this SFR.

PORT 2

Bit:

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

P2.7

 

P2.6

P2.5

P2.4

P2.3

P2.2

P2.1

P2.0

 

 

 

 

 

 

 

 

 

 

 

 

Mnemonic:

P2

 

 

 

 

Address: A0h

P2.7-0 Non-multiplexed address bus A15-A8: The port latch cannot be used for general I/O purposes but exists to support the MOVX instructions. Port 2 data will only be brought out on the P2.7-0 pins during indirect MOVX instructions.

The P2 sfr is set to FFh by a reset.

There is unrestricted read/write access to this SFR.

PORT 3

 

Bit:

7

 

6

 

5

4

 

3

2

1

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P3.7

 

P3.6

 

P3.5

P3.4

 

P3.3

P3.2

P3.1

P3.0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Mnemonic:

 

P3

 

 

 

 

 

Address:

B0h

P3.7-0

 

General purpose I/O port. Each pin also has a alternate input or output function. This

 

 

alternate function is enabled if the corresponding port latch bit is set to 1, else the port

 

 

pin will remain stuck at 0.

 

 

 

 

 

 

 

 

P3.7

 

 

 

 

 

 

Strobe for read from external RAM

 

 

 

 

 

 

RD

 

 

 

 

 

 

P3.6

 

 

 

 

 

Strobe for write to external RAM

 

 

 

 

 

 

 

WR

 

 

 

 

 

 

 

P3.5

 

T1

 

Timer/counter 1 external count input

 

 

 

 

 

P3.4

 

T0

 

Timer/counter 0 external count input

 

 

 

 

 

P3.3

 

 

 

 

External interrupt 1

 

 

 

 

 

 

 

 

 

INT0

 

 

 

 

 

 

 

 

 

P3.2

 

 

 

 

External interrupt 0

 

 

 

 

 

 

 

 

 

INT1

 

 

 

 

 

 

 

 

 

P3.1

 

TxD

 

Serial port output

 

 

 

 

 

 

 

 

P3.0

 

RxD

 

Serial port input

 

 

 

 

 

 

 

 

The P3 sfr is set to FFh by a reset.

 

 

 

 

 

 

 

 

 

There is unrestricted read/write access to this SFR.

 

 

 

 

 

 

PROGRAM STATUS WORD

 

 

 

 

 

 

 

 

 

 

Bit:

7

 

6

 

5

4

 

3

2

1

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CY

 

 

AC

 

F0

RS1

 

RS0

OV

F1

 

P

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Mnemonic:

 

PSW

 

 

 

 

 

Address:

D0h

Kawasaki LSI USA, Inc.

Page 117 of 120

Ver. 0.9 KS152JB2

Page 117
Image 117
Kawasaki KS152JB, 80C152, 80C51 technical specifications Program Status Word, RS1 RS0