MC68HC705C8ACB Freescale Semiconductor, MC68HC705C8ACB Datasheet - Page 101

no-image

MC68HC705C8ACB

Manufacturer Part Number
MC68HC705C8ACB
Description
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of MC68HC705C8ACB

Cpu Family
HC05
Device Core Size
8b
Frequency (max)
2.1MHz
Interface Type
SCI/SPI
Program Memory Type
EPROM
Program Memory Size
8KB
Total Internal Ram Size
304Byte
# I/os (max)
24
Number Of Timers - General Purpose
1
Operating Supply Voltage (typ)
3.3/5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
3V
Instruction Set Architecture
CISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Through Hole
Pin Count
42
Package Type
SPDIP
Lead Free Status / Rohs Status
Not Compliant
8.4.6 Output Compare Registers
MC68HC705C8A — Rev. 3
MOTOROLA
Register Name and Address: Output Compare Register High — $0016
Register Name and Address: Output Compare Register Low — $0017
When the value of the 16-bit counter matches the value in the read/write
output compare registers (OCRH and OCRL) shown in
planned TCMP pin action takes place. Writing to OCRH before writing to
OCRL inhibits timer compares until OCRL is written. Reading or writing
to OCRL after reading the timer status register clears the output
compare flag (OCF).
To prevent OCF from being set between the time it is read and the time
the output compare registers are updated, use this procedure:
Reset:
Reset:
Read:
Read:
Write:
Write:
1. Disable interrupts by setting the I bit in the condition code register.
2. Write to OCRH. Compares are now inhibited until OCRL is written.
3. Clear bit OCF by reading the timer status register (TSR).
4. Enable the output compare function by writing to OCRL.
5. Enable interrupts by clearing the I bit in the condition code register.
Freescale Semiconductor, Inc.
Figure 8-12. Output Compare Registers (OCRH and OCRL)
For More Information On This Product,
Bit 15
Bit 7
Bit 7
Go to: www.freescale.com
Capture/Compare Timer
Bit 14
Bit 6
6
Bit 13
Bit 5
5
Unaffected by reset
Unaffected by reset
Bit 12
Bit 4
4
Bit 11
Bit 3
3
Bit 10
Bit 2
2
Capture/Compare Timer
Figure
Timer I/O Registers
Bit 9
Bit 1
1
Technical Data
8-12, the
Bit 0
Bit 8
Bit 0

Related parts for MC68HC705C8ACB