r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 248

no-image

r5f21346mnfp

Manufacturer Part Number
r5f21346mnfp
Description
Single-chip Mcus Incorporates The R8c Cpu Core
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21346mnfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/34M Group
R01UH0131EJ0100 Rev.1.00
Jun 21, 2011
17.3
Table 17.2
17.3.1
Count sources
Count operations
Divide ratio
Count start condition
Count stop conditions
Interrupt request
generation timing
TRAIO pin function
TRAO pin function
Read from timer
Write to timer
In this mode, the timer counts an internally generated count source (refer to Table 17.2 Timer Mode
Specifications).
After Reset
Bit
b0
b1
b2
b3
b4
b5
b6
b7
Address 0101h
Symbol TIOGT1
Timer Mode
TEDGSEL TRAIO polarity switch bit
TOPCR
TOENA
TIOGT0
TIOGT1
Bit
Symbol
Item
TIPF0
TIPF1
Timer RA I/O Control Register (TRAIOC) in Timer Mode
Timer Mode Specifications
b7
0
TRAIO output control bit
TRAO output enable bit
Reserved bit
TRAIO input filter select bit
TRAIO event input control bit
TIOGT0
f1, f2, f8, fOCO, fC32, fC
• Decrement
• When the timer underflows, the contents of the reload register are reloaded
n: Value set in TRAPRE register, m: Value set in TRA register
1 (count starts) is written to the TSTART bit in the TRACR register.
• 1 (count forcibly stops) is written to the TSTOP bit in the TRACR register.
When timer RA underflows [timer RA interrupt].
Programmable I/O port
• When registers TRAPRE and TRA are written during the count, values are
1/(n+1)(m+1)
• 0 (count stops) is written to the TSTART bit in the TRACR register.
Programmable I/O port
The count value can be read by reading registers TRA and TRAPRE.
• When registers TRAPRE and TRA are written while the count is stopped,
b6
and the count is continued.
values are written to both the reload register and counter.
written to the reload register and counter (refer to 17.3.2 Timer Write Control
during Count Operation ).
0
Bit Name
TIPF1
b5
0
TIPF0
b4
0
Set to 0 in timer mode.
Set to 0.
Set to 0 in timer mode.
b3
0
Specification
TOENA
b2
0
TOPCR TEDGSEL
Function
b1
0
b0
0
Page 216 of 740
17. Timer RA
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W

Related parts for r5f21346mnfp