Rev. 2.00, 09/03, page 317 of 690
Bit
Bit Name
Initial Value
R/W
Description
2
1
0
TPSC2
TPSC1
TPSC0
0
0
0
R/W
R/W
R/W
Timer Prescaler
Select the TCNT_2 count clock.
000: Count on P
φ
/4
001: Count on P
φ/
16
010: Count on P
φ
/64
011: Count on P
φ
/256
100: Setting prohibited
101: Count on TCLK pin input
110: Setting prohibited
111: Setting prohibited
Note:
*
Only 0 can be written for clearing the flags. If 1 is written to this bit, the prior value is
retained.
12.3.3
Timer Constant Registers (TCOR)
TCOR set the value to be set in TCNT when TCNT underflows.
TCOR are 32-bit readable/writable registers. Their initial value is H'FFFFFFFF.
12.3.4
Timer Counters (TCNT)
TCNT counts down upon input of a clock. The clock input is selected using the TPSC2 to TPSC0
bits in the timer control register (TCR).
When a TCNT countdown results in an underflow (H'00000000
→
H'FFFFFFFF), the underflow
flag (UNF) in the timer control register (TCR) of the relevant channel is set. The TCOR value is
simultaneously set in TCNT itself and the countdown continues from that value.
Initial value of TCNT is H'FFFFFFFF.
12.3.5
Input Capture Register_2 (TCPR_2)
TCPR_2 is a read-only 32-bit register used for the input capture function built only into timer 2.
The TCPR_2 setting conditions due to the TCLK pin are controlled by the input capture function
bits (ICPE1/ICPE0 and CKEG1/CKEG0) in TCR_2. When a TCPR_2 setting indication due to the
TCLK pin occurs, the value of TCNT_2 is copied into TCPR_2.
Initial value of TCPR_2 is undefined.
Содержание SH7705
Страница 2: ......
Страница 46: ...Rev 2 00 09 03 page xlvi of xlvi Appendix Table A 1 I O Port States in Each Processing State 679 ...
Страница 70: ...Rev 2 00 09 03 page 24 of 690 ...
Страница 194: ...Rev 2 00 09 03 page 148 of 690 ...
Страница 284: ...Rev 2 00 09 03 page 238 of 690 ...
Страница 338: ...Rev 2 00 09 03 page 292 of 690 ...
Страница 354: ...Rev 2 00 09 03 page 308 of 690 ...
Страница 374: ...Rev 2 00 09 03 page 328 of 690 ...
Страница 420: ...Rev 2 00 09 03 page 374 of 690 ...
Страница 476: ...Rev 2 00 09 03 page 430 of 690 ...
Страница 482: ...Rev 2 00 09 03 page 436 of 690 ...
Страница 552: ...Rev 2 00 09 03 page 506 of 690 ...
Страница 630: ...Rev 2 00 09 03 page 584 of 690 ...
Страница 739: ...SH7705 Group Hardware Manual REJ09B0082 0200O ...