S912XEQ384J3MALR Freescale Semiconductor, S912XEQ384J3MALR Datasheet - Page 564

no-image

S912XEQ384J3MALR

Manufacturer Part Number
S912XEQ384J3MALR
Description
S912XEQ Series 16 Bit 50 Mhz 384 KB Flash 24 KB Ram Microcontroller - LQFP-112
Manufacturer
Freescale Semiconductor
Datasheet
Chapter 14 Enhanced Capture Timer (ECT16B8CV3)
14.3.2.31 Modulus Down-Counter Count Register (MCCNT)
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.
564
Module Base + 0x0036
Module Base + 0x0037
Reset
Reset
W
W
R
R
MCCNT15
MCCNT7
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 14-57. Modulus Down-Counter Count Register High (MCCNT)
Figure 14-58. Modulus Down-Counter Count Register Low (MCCNT)
MCCNT14
MCCNT6
14
1
1
6
MC9S12XE-Family Reference Manual Rev. 1.24
MCCNT13
MCCNT5
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
MCCNT0
1
1
8
0

Related parts for S912XEQ384J3MALR