r5f21368sdfp Renesas Electronics Corporation., r5f21368sdfp Datasheet - Page 350
r5f21368sdfp
Manufacturer Part Number
r5f21368sdfp
Description
Renesas Mcu R8c Family / R8c/3xt-a Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
1.R5F21368SDFP.pdf
(760 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
r5f21368sdfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
- Current page: 350 of 760
- Download datasheet (7Mb)
Under development
R8C/36T-A Group
R01UH0240EJ0001 Rev.0.01
Apr 28, 2011
17.6
17.6.1
17.6.2
17.6.3
17.6.4
The following notes apply when the CCLR bit in the TRCCR1 register is set to 1 (TRCCNT counter is cleared
by input capture/compare match A).
• When writing a value to the TRCCNT register by a program while the CTS bit in the TRCMR register is set to
• If the timing when the TRCCNT register is set to 0000h and is written coincide, the value is not written and
If the TRCCNT register is written and read, the value before this register is written may be read. In this case,
execute the JMP.B instruction between the write and read instructions.
• Program Example
To set bits CKS2 to CKS0 in the TRCCR1 register to 111b (fHOCO-F), set fHOCO-F to a clock frequency
higher than the CPU clock frequency.
If the TRCSR register is written and read, the value before this register is written may be read. In this case,
execute the JMP.B instruction between the write and read instructions.
• Program Example
When switching the count source, stop the count before switching. After switching the count source, wait for at
least two cycles of the CPU clock before writing to the registers (at addresses 00138h to 0014Dh and 00158h to
0016Dh) associated with timer RC.
• Changing procedure
(1) Set the CTS bit in the TRCMR register to 0 (count stops).
(2) Change bits CKS0 to CKS2 in the TRCCR1 register.
(3) Wait for at least two cycles of the CPU clock.
(4) Write to the registers (at addresses 00138h to 0014Dh and 00158h to 0016Dh) associated with timer RC.
Notes:
1 (count starts), ensure that the write timing does not coincide with when the TRCCNT register is set to 0000h.
the TRCCNT register is set to 0000h.
Notes on Timer RC
1. Do not set the FRA00 bit to 0 (high-speed on-chip oscillator off) while fHOCO or fHOCO-F is selected
2. Do not change the division ratio of the high-speed on-chip oscillator set by the FRA2 register while
TRCCNT Register
TRCCR1 Register
TRCSR Register
Count Source Switching
L1:
L1:
as the count source.
fHOCO-F is selected as the count source.
Preliminary document
Specifications in this document are tentative and subject to change.
MOV.W
JMP.B
MOV.W
MOV.B
JMP.B
MOV.B
#XXXXh, TRCCNT
L1
TRCCNT, DATA
#XXh, TRCSR
L1
TRCSR, DATA
; Write
; JMP.B instruction
; Read
; Write
; JMP.B instruction
; Read
Page 319 of 725
17. Timer RC
Related parts for r5f21368sdfp
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Renesas Technology Corp [Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series]
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
RENESAS MCU M16C FAMILY / M16C/Tiny SERIES
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas Starter Kit for RX210
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas StarterKit for RX630
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas Starter Kit+ for RX63N
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas Starter Kit
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
FLASH PROGRAMMER FOR RENESAS MICROCONTROLLERS
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet: