Section 12 16-Bit Free-Running Timer (FRT)
Rev. 2.00 Mar 09, 2006 page 521 of 906
REJ09B0292-0200
12.1.3
Pin Configuration
Table 12.1 lists FRT I/O pins and their functions.
Table 12.1 Pin Configuration
Channel
Pin
I/O
Function
Counter clock input pin
FTCI
I
FRC counter clock input pin
Output compare A output pin
FTOA
O
Output pin for output compare A
Output compare B output pin
FTOB
O
Output pin for output compare B
Input capture input pin
FTI
I
Input pin for input capture
12.1.4
Register Configuration
Table 12.2 shows the FRT register configuration.
Table 12.2 Register Configuration
Register
Abbreviation
R/W
Initial
Value
Address
Timer interrupt enable register
TIER
R/W
H'01
HFFFFFE10
Free-running timer control/status register FTCSR
R/(W)
*
1
H'00
HFFFFFE11
Free-running counter H
FRC H
R/W
H'00
HFFFFFE12
Free-running counter L
FRC L
R/W
H'00
HFFFFFE13
Output compare register A H
OCRA H
R/W
H'FF
HFFFFFE14
*
2
Output compare register A L
OCRA L
R/W
H'FF
HFFFFFE15
*
2
Output compare register B H
OCRB H
R/W
H'FF
HFFFFFE14
*
2
Output compare register B L
OCRB L
R/W
H'FF
HFFFFFE15
*
2
Timer control register
TCR
R/W
H'00
HFFFFFE16
Timer output compare control register
TOCR
R/W
H'E0
HFFFFFE17
Input capture register H
FICR H
R
H'00
HFFFFFE18
Input capture register L
FICR L
R
H'00
HFFFFFE19
Notes: Use byte-size access for all registers.
1. Bits 7 to 1 are read-only. The only value that can be written is a 0, which is used to
clear flags. Bit 0 can be read or written.
2. OCRA and OCRB have the same address. The OCRS bit in TOCR is used to switch
between them.
Содержание SH7616
Страница 10: ...Rev 2 00 Mar 09 2006 page x of xxvi ...
Страница 132: ...Section 2 CPU Rev 2 00 Mar 09 2006 page 106 of 906 REJ09B0292 0200 ...
Страница 568: ...Section 12 16 Bit Free Running Timer FRT Rev 2 00 Mar 09 2006 page 542 of 906 REJ09B0292 0200 ...
Страница 582: ...Section 13 Watchdog Timer WDT Rev 2 00 Mar 09 2006 page 556 of 906 REJ09B0292 0200 ...
Страница 662: ...Section 14 Serial Communication Interface with FIFO SCIF Rev 2 00 Mar 09 2006 page 636 of 906 REJ09B0292 0200 ...
Страница 706: ...Section 16 Serial I O SIO Rev 2 00 Mar 09 2006 page 680 of 906 REJ09B0292 0200 ...
Страница 820: ...Section 19 Pin Function Controller PFC Rev 2 00 Mar 09 2006 page 794 of 906 REJ09B0292 0200 ...
Страница 932: ...Appendix D Package Dimensions Rev 2 00 Mar 09 2006 page 906 of 906 REJ09B0292 0200 ...
Страница 935: ...SH7616 Hardware Manual ...