English
Language : 

DS80C320-MCG Datasheet, PDF (42/175 Pages) Dallas Semiconductor – High-Speed Microcontroller User Guide
Power Management Register (PMR)
7
6
5
4
SFR C4h CD1
CD0
SWB
-
RW-0 RW-1 RW-0
High-Speed Microcontroller User’s Guide
3
XTOFF
RW*-0
2
ALEOFF
RW-0
1
DME1
RW-0
0
DME0
RW-0
R=Unrestricted Read, W=Unrestricted Write, -n=Value after Reset, *=See description
CD1, CD0
Bits 7-6
Clock Divide Control 1-0. These bits select the number of crystal oscillator
clocks required to generate one machine cycle. Switching between modes
requires a transition through the divide by 4 mode (CD1, CD0=01). For
example, to go from 64 to 1024 clocks per cycle the device must first go from 64
to 4 clocks per cycle, and then from 4 to 1024 clocks per cycle. Attempts to
perform an invalid transition will be ignored. The setting of these bits will effect
the timers and serial ports as shown below.
CD1 CD0
0
0
0
1
1
0
1
1
OSC
CYCLES
PER
MACH.
CYCLE
4
64
1024
OSC CYCLES
PER TIMER 2
CLK, BAUD
RATE GEN.
TxM=0 TxM=1
12
192
3072
4
64
1024
OSC CYCLES
PER SERIAL
PORT CLK,
MODE 0
OSC CYCLES
PER TIMER 2
CLK, BAUD
RATE GEN.
OSC CYCLES PER
SERIAL PORT CLK,
MODE 2
T2M=0 T2M=1 SM2=0
RESERVED
2
2
12
32
32
194
512
512
3072
SM2=1
4
64
1024
SDMO=0
64
1024
16384
SMOD=1
32
512
8192
SWB
Bit 5
Bit 4
XTOFF
Bit 3
Switchback Enable. This bit allows an enabled external interrupt or serial port
activity to force the Clock Divide Control bits to the divide by 4 state (01).
Upon internal acknowledgement of an external interrupt, the device will switch
modes at the start of the jump to the interrupt service routine. Note that this
means that an external interrupt must actually be recognized (i.e., be enabled and
not masked by higher priority interrupts) for the switchback to occur. For serial
port reception, the switch occurs at the start of the instructions following the
falling edge of the start bit.
Reserved. When modifying the PMR register, software must write a 0 to this
bit. Read data will be indeterminate.
Crystal Oscillator Disable. This bit disables the CPU crystal oscillator. It can
only be set to 1 while running the ring oscillator (XT/ RG =0). Clearing this bit
restarts the crystal amplifier, reset the crystal warm-up counter, and after 65,536
external crystal cycles the XTUP bit will be set.
0 = Crystal oscillator is enabled.
1 = Crystal oscillator is disabled.
42 of 175