r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 317

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
19.6.2
Notes:
Table 19.12
h = A, B, C, or D
BFC, BFD: Bits in TRCMR register
Note:
TRCGRA
TRCGRB
TRCGRC
TRCGRD
TRCGRC
TRCGRD
1. Enabled when in PWM mode.
2. Enabled when in output compare function, PWM mode, or PWM2 mode. For notes on PWM2 mode, refer to
3. Enabled when in PWM2 mode.
After Reset
Bit
b0
b1
b2
b3
b4
b5
b6
b7
Register
1. The output level does not change even when a compare match occurs if the TRCGRA register value (PWM
Address 0130h
19.9.6 TRCMR Register in PWM2 Mode .
Symbol TCEG1
period) is the same as the TRCGRB, TRCGRC, or TRCGRD register value.
Symbol
TCEG0 TRCTRG input edge select bit
TCEG1
Bit
POLB
POLC
POLD
CSEL
Timer RC Control Register 2 (TRCCR2) in PWM Mode
BFC = 0
BFD = 0
BFC = 1
BFD = 1
Functions of TRCGRh Register in PWM Mode
b7
0
Setting
PWM mode output level control
bit B
PWM mode output level control
bit C
PWM mode output level control
bit D
Nothing is assigned. If necessary, set to 0. When read, the content is 1.
TRC count operation select bit
(1)
(1)
(1)
TCEG0
b6
0
General register. Set the PWM period.
General register. Set the PWM output change point.
General register. Set the PWM output change point.
Buffer register. Set the next PWM period. (Refer to 19.3.2 Buffer
Operation .)
Buffer register. Set the next PWM output change point. (Refer to
19.3.2 Buffer Operation .)
Bit Name
CSEL
b5
0
b4
(3)
(2)
1
Register Function
0: TRCIOB output level selected as “L” active
1: TRCIOB output level selected as “H” active
0: TRCIOC output level selected as “L” active
1: TRCIOC output level selected as “H” active
0: TRCIOD output level selected as “L” active
1: TRCIOD output level selected as “H” active
0: Count continues at compare match with the
1: Count stops at compare match with the TRCGRA
b7 b6
0 0: Disable the trigger input from the TRCTRG pin
0 1: Rising edge selected
1 0: Falling edge selected
1 1: Both edges selected
TRCGRA register
register
b3
1
POLD
b2
0
Function
POLC
b1
0
POLB
b0
0
TRCIOB
TRCIOC
TRCIOD
TRCIOB
PWM Output Pin
Page 285 of 740
19. Timer RC
R/W
R/W
R/W
R/W
R/W
R/W
R/W

Related parts for r5f21346mnfp