r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 245

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.2
17.2.1
Notes:
17.2.2
1. Refer to 17.8 Notes on Timer RA for precautions regarding bits TSTART and TCSTF.
2. When the TSTOP bit is set to 1, bits TSTART and TCSTF and registers TRAPRE and TRA are set to the values
3. Bits TEDGF and TUNDF can be set to 0 by writing 0 to these bits by a program. However, their value remains
4. The TEDGF bit is not used in timer mode, pulse output mode, or event count mode.
After Reset
After Reset
Bit
b0
b1
b2
b3
b4
b5
b6
b7
Bit
b0
b1
b2
b3
b4
b5
b6
b7
Address 0100h
Address 0101h
after a reset.
unchanged when 1 is written.
In pulse width measurement mode and pulse period measurement mode, use the MOV instruction to set the
TRACR register. If it is necessary to avoid changing the values of bits TEDGF and TUNDF, write 1 to them.
Symbol
Symbol TIOGT1
Registers
TEDGSEL TRAIO polarity switch bit
TSTART Timer RA count start bit
Symbol
TSTOP Timer RA count forcible stop bit
TEDGF Active edge judgment flag
TUNDF Timer RA underflow flag
TCSTF
TIOSEL
TOPCR
TOENA
TIOGT0
TIOGT1
Bit
Bit
Symbol
TIPF0
TIPF1
Timer RA Control Register (TRACR)
Timer RA I/O Control Register (TRAIOC)
b7
b7
0
0
Timer RA count status flag
Nothing is assigned. If necessary, set to 0. When read, the content is 0.
Nothing is assigned. If necessary, set to 0. When read, the content is 0.
TRAIO output control bit
TRAO output enable bit
Hardware LIN function select bit
TRAIO input filter select bit
TRAIO event input control bit
TIOGT0
b6
b6
0
0
Bit Name
Bit Name
TUNDF
TIPF1
b5
b5
0
0
(1)
(3)
(3, 4)
(1)
TEDGF
TIPF0
b4
b4
0
0
(2)
0: Count stops
1: Count starts
0: Count stops
1: During count
When this bit is set to 1, the count is forcibly stopped.
When read, its content is 0.
0: Active edge not received
1: Active edge received (end of measurement period)
0: No underflow
1: Underflow
TIOSEL
Function varies according to the operating mode. R/W
b3
b3
0
0
TOENA
TSTOP
b2
b2
0
0
Function
TOPCR TEDGSEL
TCSTF
Function
b1
b1
0
0
TSTART
b0
0
b0
0
Page 213 of 740
17. Timer RA
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R

Related parts for r5f21346mnfp