mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 348

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.3.2.30
Read: Anytime
Write: Anytime.
All bits reset to one.
A full access for the counter register will take place in one clock cycle.
If the RDMCL bit in MCCTL register is cleared, reads of the MCCNT register will return the present value
of the count register. If the RDMCL bit is set, reads of the MCCNT will return the contents of the load
register.
If a 0x0000 is written into MCCNT when LATQ and BUFEN in ICSYS register are set, the input capture
and pulse accumulator registers will be latched.
With a 0x0000 write to the MCCNT, the modulus counter will stay at zero and does not set the MCZF flag
in MCFLG register.
If the modulus down counter is enabled (MCEN = 1) and modulus mode is enabled (MODMC = 1), a write
to MCCNT will update the load register with the value written to it. The count register will not be updated
with the new value until the next counter underflow.
If modulus mode is not enabled (MODMC = 0), a write to MCCNT will clear the modulus prescaler and
will immediately update the counter register with the value written to it and down-counts to 0x0000 and
stops.
The FLMC bit in MCCTL can be used to immediately update the count register with the new value if an
immediate load is desired.
348
Reset
Reset
W
W
R
R
MCCNT15
MCCNT7
Modulus Down-Counter Count Register (MCCNT)
15
1
1
7
A separate read/write for high byte and low byte will give different results
than accessing them as a word.
Figure 7-55. Modulus Down-Counter Count Register High (MCCNT)
Figure 7-56. Modulus Down-Counter Count Register Low (MCCNT)
MCCNT14
MCCNT6
14
1
1
6
MCCNT13
MCCNT5
MC9S12XDP512 Data Sheet, Rev. 2.17
13
1
1
5
MCCNT12
MCCNT4
NOTE
12
1
1
4
MCCNT11
MCCNT3
11
1
1
3
MCCNT10
MCCNT2
10
1
1
2
MCCNT9
MCCNT1
Freescale Semiconductor
1
1
9
1
MCCNT8
MCCNT9
1
1
8
0

Related parts for mc9s12xd256