mpc823rg Freescale Semiconductor, Inc, mpc823rg Datasheet - Page 532

no-image

mpc823rg

Manufacturer Part Number
mpc823rg
Description
Mpc823 Powerquicc Integrated Communications Processor For Portable Systems
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Communication Processor Module
16.4.2.5 TIMER CAPTURE REGISTERS. Each of the 16-bit, memory-mapped, read-only
timer capture registers (TCR1–TCR4) are used to latch the value of the counter at the falling
edge of every TINx signal. The CE field in the TMRx register defines whether the counter
starts at the rising or falling edge of the TINx signal.
CAPTURE COUNT
This field contains the value of the timer counter register at the falling edge of the TINx
signal.
16.4.2.6 TIMER COUNTER REGISTERS. Each of the 16-bit, memory-mapped, read/write
timer counter (TCN1 and TCN4) registers are up-counters. In timer capture mode, the TINx
signal defines when the counter begins. A read to TCNx yields the current value of the timer,
but does not affect the counting operation. A write to TCNx sets the register to that value,
which causes the corresponding prescaler in the PS field of the TMRx register to be reset.
COUNT—Counter Value
This represents the value of the counter.
TCR1–TCR4
TCN1–TCN4
NOTE: — = Undefined.
RESET
RESET
FIELD
ADDR
FIELD
ADDR
R/W
R/W
BIT
BIT
0
0
Note: The TCNx register may not be updated correctly if a write is made to it while the
1
1
(IMMR & 0xFFFF0000) + 0x99C (TCN1), 0x99E (TCN2), 0x9AC (TCN3), 0x9AE (TCN4)
(IMMR & 0xFFFF0000) + 0x998 (TCR1), 0x99A (TCR2), 0x9A8 (TCR3), 0x9AA (TCR4)
timer is not running. You must always use the TRRx register to define the
preferred counter value.
2
2
Freescale Semiconductor, Inc.
For More Information On This Product,
3
3
MPC823 REFERENCE MANUAL
4
4
Go to: www.freescale.com
5
5
6
6
CAPTURE COUNT
7
7
COUNT
R/W
R
0
8
8
9
9
10
10
11
11
12
12
13
13
MOTOROLA
14
14
15
15

Related parts for mpc823rg