z8fmc16100 ZiLOG Semiconductor, z8fmc16100 Datasheet - Page 263

no-image

z8fmc16100

Manufacturer Part Number
z8fmc16100
Description
Z8 Encore Motor Control Flash Mcus
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z8fmc16100AKEG
Manufacturer:
LT
Quantity:
151
Part Number:
z8fmc16100AKEG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8fmc16100AKSG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8fmc16100QKEG
Manufacturer:
TOREX
Quantity:
2 000
PS024611-0408
Table 135. OCD Control Register (OCDCTL)
BITS
FIELD
RESET
R/W
DBGMODE
R/W
DBGMODE—Debug Mode
Setting this bit to 1 causes the device to enter DEBUG mode. When in DEBUG mode, the
eZ8 CPU stops fetching new instructions. Clearing this bit causes the eZ8 CPU to resume
execution. This bit is automatically set when a BRK instruction is decoded and Break-
points are enabled.
0 = The device is running (operating in NORMAL mode).
1 = The device is in DEBUG mode.
BRKEN—Breakpoint Enable
This bit controls the behavior of the BRK instruction (opcode
points are disabled and the BRK instruction behaves like a NOP. If this bit is set to 1 and a
BRK instruction is decoded, the OCD takes action dependent upon the BRKLOOP bit.
0 = BRK instruction is disabled.
1 = BRK instruction is enabled.
DBGACK—Debug Acknowledge
This bit enables the debug acknowledge feature. If this bit is set to 1, then the OCD sends
a Debug Acknowledge character (
automatically clears itself when an acknowledge character is sent.
0 = Debug Acknowledge is disabled.
1 = Debug Acknowledge is enabled.
BRKLOOP—Breakpoint Loop
This bit determines what action the OCD takes when a BRK instruction is decoded and
breakpoints are enabled (BRKEN is 1). If this bit is 0, the DBGMODE bit is automatically
set to 1 and the OCD enters DEBUG mode. If BRKLOOP is set to 1, the eZ8 CPU loops
on the BRK instruction.
0 = BRK instruction sets DBGMODE to 1.
1 = eZ8 CPU loops on BRK instruction.
BRKPC—Break when PC == OCDCNTR
If this bit is set to 1, then the OCDCNTR register is used as a hardware breakpoint. When
the program counter matches the value in the OCDCNTR register, DBGMODE is
automatically set to 1. If this bit is set, the OCDCNTR register does not count when the
CPU is running.
7
0
BRKEN
R/W
6
0
DBGACK BRKLOOP
R/W
5
0
FFH
R
4
0
) to the host when a Breakpoint occurs. This bit
BRKPC
R/W
3
0
Z8FMC16100 Series Flash MCU
BRKZRO Reserved
R/W
2
0
Product Specification
00H
). By default, Break-
OCD Control Register
R/W
1
0
RST
R/W
0
0
251

Related parts for z8fmc16100