mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 360

no-image

mc9s12xd256

Manufacturer Part Number
mc9s12xd256
Description
Hcs12x Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAG
Manufacturer:
FREESCALE
Quantity:
1 540
Part Number:
mc9s12xd256CAG
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Chapter 7 Enhanced Capture Timer (S12ECT16B8CV2)
7.4.1.6
The flags in the ECT can be cleared one of two ways:
7.4.2
The reset state of each individual bit is listed within the register description section
Map and Register
360
1. Normal flag clearing mechanism (TFFCA = 0)
2. Fast flag clearing mechanism (TFFCA = 1)
Any of the ECT flags can be cleared by writing a one to the flag.
With the timer fast flag clear all (TFFCA) enabled, the ECT flags can only be cleared by accessing
the various registers associated with the ECT modes of operation as described below. The flags
cannot be cleared via the normal flag clearing mechanism. This fast flag clearing mechanism has
the advantage of eliminating the software overhead required by a separate clear sequence. Extra
care must be taken to avoid accidental flag clearing due to unintended accesses.
— Input capture
— Output compare
— Timer counter
— Pulse accumulator A
— Pulse accumulator B
— Modulus down counter
A read from an input capture channel register causes the corresponding channel flag, CxF, to
be cleared in the TFLG1 register.
A write to the output compare channel register causes the corresponding channel flag, CxF, to
be cleared in the TFLG1 register.
Any access to the TCNT register clears the TOF flag in the TFLG2 register.
Any access to the PACN3 and PACN2 registers clears the PAOVF and PAIF flags in the
PAFLG register.
Any access to the PACN1 and PACN0 registers clears the PBOVF flag in the PBFLG register.
Any access to the MCCNT register clears the MCZF flag in the MCFLG register.
Reset
Flag Clearing Mechanisms
Definition”) which details the registers and their bit-fields.
MC9S12XDP512 Data Sheet, Rev. 2.17
(Section 7.3, “Memory
Freescale Semiconductor

Related parts for mc9s12xd256