XC68HC05P18A Motorola, XC68HC05P18A Datasheet - Page 69
XC68HC05P18A
Manufacturer Part Number
XC68HC05P18A
Description
HCMOS Microcontroller Unit
Manufacturer
Motorola
Datasheet
1.XC68HC05P18A.pdf
(130 pages)
- Current page: 69 of 130
- Download datasheet (2Mb)
MC68HC05P18A
MOTOROLA
counter increments every four PH2 clock cycles. The minimum time
required to update the output compare registers is a function of software
rather than hardware.
The output compare output level bit (OLVL) will be clocked to its output
latch regardless of the state of the output compare flag bit (OCF). A valid
output compare must occur before the OLVL bit is clocked to its output
latch (TCMP).
Since neither the output compare flag (OCF) nor the output compare
registers are affected by reset, care must be exercised when initializing
the output compare function. This procedure is recommended:
This procedure prevents the output compare flag bit (OCF) from being
set between the time it is read and the time the output compare registers
are updated. A software example is shown in
1. Block interrupts by setting the I bit in the condition code register
2. Write the MSB of the output compare register pair (OCRH) to
3. Read the timer status register (TSR) to arm the output compare
4. Write the LSB of the output compare register pair (OCRL) to
5. Unblock interrupts by clearing the I bit in the CCR.
BE
9B
B6
B7
B6
BF
Figure 8-7. Output Compare Software Initialization Example
•
•
•
(CCR).
inhibit further compares until the LSB is written.
flag (OCF).
enable the output compare function and to clear its flag and
interrupt.
XX
XX
16
13
17
•
•
•
16-Bit Timer
LDA
LDX
LDA
STX
STA
SEI
•
•
•
DATAH
DATAL
OCRH
OCRL
TSR
•
•
•
BLOCK INTERRUPTS
•
•
HI BYTE FOR COMPARE
LOW BYTE FOR COMPARE
INHIBIT OUTPUT COMPARE
ARM OCF BIT TO CLEAR
READY FOR NEXT COMPARE
•
Figure
8-7.
Output Compare
Technical Data
16-Bit Timer
69
Related parts for XC68HC05P18A
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Motorola, Inc [VOLTAGE REGULATOR]
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
3N2046367254 MOTOROLA SC (XSTRS/R F)
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
MOTOROLA POWERPC 603e MICROPROCESSOR
Manufacturer:
Motorola
Part Number:
Description:
Motorola Semiconductor Datasheet Library
Manufacturer:
Motorola
Part Number:
Description:
SWITCHMODE Schottky Power Rectifier(POWERTAP III Package)
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
SWITCHMODE Schottky Power Rectifirer
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
Hybrid Power Module
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
Hybrid Power Module
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
Search -----> MTE53N50E
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
Hybrid Power Module
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
Hybrid Power Module
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
SCHOTTKY BARRIER RECTIFIER 200 AMPERES 60 VOLT
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
NPN SILICON POWER DARLINGTON TRANSISTOR
Manufacturer:
Motorola
Datasheet: