z8f0822 ZiLOG Semiconductor, z8f0822 Datasheet - Page 196

no-image

z8f0822

Manufacturer Part Number
z8f0822
Description
High Performance 8-bit Microcontrollers
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z8f0822PJ020SG
Manufacturer:
Zilog
Quantity:
45
Part Number:
z8f0822SJ020SG
Manufacturer:
Zilog
Quantity:
567
Table 95. OCD Status Register (OCDSTAT)
PS022517-0508
BITS
FIELD
RESET
R/W
OCD Status Register
IDLE
automatically set to 1. If this bit is set, the OCDCNTR register does not count when the
CPU is running.
0 = OCDCNTR is setup as counter
1 = OCDCNTR generates hardware break when PC == OCDCNTR
BRKZRO—Break when OCDCNTR ==
If this bit is set, then the OCD automatically sets the DBGMODE bit when the OCD-
CNTR register counts down to
when the part leaves DEBUG Mode.
0 = OCD does not generate BRK when OCDCNTR decrements to 0000H
1 = OCD sets DBGMODE to 1 when OCDCNTR decrements to 0000H
Reserved
These bits are reserved and must be 0.
RST—Reset
Setting this bit to 1 resets the Z8 Encore! XP
through a normal POR sequence with the exception that the OCD is not reset. This bit is
automatically cleared to 0 when the reset finishes.
0 = No effect.
1 = Reset the Z8 Encore! XP F0822 Series device.
The OCD Status register reports status information about the current state of the debugger
and the system.
IDLE—CPU Idling
This bit is set if the part is in DEBUG mode (DBGMODE is 1), or if a BRK instruction
occurred since the last time OCDCTL was written. This can be used to determine if the
CPU is running or if it is idling.
0 = The eZ8 CPU is running.
1 = The eZ8 CPU is either stopped or looping on a BRK instruction.
HALT—HALT Mode
0 = The device is not in HALT mode.
1 = The device is in HALT mode.
7
HALT
6
RPEN
5
0000H
4
. If this bit is set, the OCDCNTR register is not reset
R
0
0000H
®
F0822 Series device. The device goes
3
Reserved
Z8 Encore! XP
2
Product Specification
1
®
On-Chip Debugger
F0822 Series
0
183

Related parts for z8f0822