EasyManuals Logo

ZiLOG Z8 User Manual

ZiLOG Z8
220 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #28 background imageLoading...
Page #28 background image
Z8 Microcontrollers
Address Space ZiLOG
2-8 UM001601-0803
2.4 Z8 CONTROL AND PERIPHERAL REGISTERS
2.4.1 Standard Z8 Registers
The standard Z8 control registers govern the operation of the
CPU. Any instruction which references the register file can ac
-
cess these control registers. Available control registers are:
Interrupt Priority Register (IPR)
Interrupt Mask Register (IMR)
Interrupt Request Register (IRQ)
Program Control Flags (FLAGS)
Register Pointer (RP)
Stack Pointer High-Byte (SPH)
Stack Pointer Low-Byte (SPL)
The Z8 uses a 16-bit Program Counter (PC) to determine the se-
quence of current program instructions. The PC is not an addres-
sable register.
Peripheral registers are used to transfer data, configure the oper-
ating mode, and control the operation of the on-chip peripherals.
Any instruction that references the register file can access the pe
-
ripheral registers. The peripheral registers are:
Serial I/O (SIO)
Timer Mode (TMR)
Timer/Counter 0 (T0)
T0 Prescaler (PRE0)
Timer/Counter 1 (T1)
T1 Prescaler (PRE1)
Port 0–1 Mode (P01M)
Port 2 Mode (P2M)
Port 3 Mode (P3M)
In addition, the four port registers (P0–P3) are considered to be
peripheral registers.
2.4.2 Expanded Z8 Registers
The expanded Z8 control registers govern the operation of addi-
tional features or peripherals. Any instruction which references
the register file can access these registers.
The ERF contains the control registers for WDT, Port Control,
Serial Peripheral Interface (SPI), and the SMR functions. Figure
2-4 shows the layout of the Register Banks in the ERF. Register
Bank C in the ERF consists of the registers for the SPI. Table 2-
5 shows the registers within ERF Bank C, Working Register
Group 0.
Table 2-5. Expanded Register File Register Bank C,
WR Group 0
Register Working
Register Function Register
F Reserved R15
E Reserved R14
D Reserved R13
C Reserved R12
B Reserved R11
A Reserved R10
9 Reserved R9
8 Reserved R8
7 Reserved R7
6 Reserved R6
5 Reserved R5
4 Reserved R4
3 Reserved R3
2 SPI Control (SCON) R2
1 SPI Tx/Rx Data (Roxburgh) R1
0 SPI Compare (SCOMP) R0

Table of Contents

Other manuals for ZiLOG Z8

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ZiLOG Z8 and is the answer not in the manual?

ZiLOG Z8 Specifications

General IconGeneral
BrandZiLOG
ModelZ8
CategoryDesktop
LanguageEnglish

Related product manuals