Programmable Interrupt Timer (PIT)
I/O Registers
MC68HC908AB32
—
Rev. 1.0
Technical Data
MOTOROLA
Programmable Interrupt Timer (PIT)
227
PPS[2:0] — PIT Prescaler Select Bits
These read/write bits select one of the seven prescaler outputs as the
input to the PIT counter as
PPS[2:0] bits.
13.7.2 PIT Counter Registers
The two read-only PIT counter registers contain the high and low bytes
of the value in the PIT counter. Reading the high byte (PCNTH) latches
the contents of the low byte (PCNTL) into a buffer. Subsequent reads of
PCNTH do not affect the latched PCNTL value until PCNTL is read.
Reset clears the PIT counter registers. Setting the PIT reset bit (PRST)
also clears the PIT counter registers.
NOTE:
If you read PCNTH during a break interrupt, be sure to unlatch PCNTL
by reading PCNTL before exiting the break interrupt. Otherwise, PCNTL
retains the value latched during the break.
Table 13-1. PIT Prescaler Selection
PPS2
PPS1
PPS0
PIT Clock Source
0
0
0
Internal Bus Clock
÷
1
0
0
1
Internal Bus Clock
÷
2
0
1
0
Internal Bus Clock
÷
4
0
1
1
Internal Bus Clock
÷
8
1
0
0
Internal Bus Clock
÷
16
1
0
1
Internal Bus Clock
÷
32
1
1
0
Internal Bus Clock
÷
64
1
1
1
Internal Bus Clock
÷
64
Address:
$004C
Bit 7
6
5
4
3
2
1
Bit 0
Read:
Bit 15
14
13
12
11
10
9
Bit 8
Write:
Reset:
0
0
0
0
0
0
0
0
= Unimplemented
Figure 13-4. PIT Counter Register High (PCNTH)
Summary of Contents for MC68HC908AB32
Page 1: ...MC68HC908AB32 D REV 1 0 MC68HC908AB32 HCMOS Microcontroller Unit TECHNICAL DATA ...
Page 2: ......
Page 68: ...FLASH Memory Technical Data MC68HC908AB32 Rev 1 0 68 FLASH Memory MOTOROLA ...
Page 84: ...EEPROM Technical Data MC68HC908AB32 Rev 1 0 84 EEPROM MOTOROLA ...
Page 390: ...Ordering Information Technical Data MC68HC908AB32 Rev 1 0 390 Ordering Information MOTOROLA ...
Page 391: ......