EasyManuals Logo

Renesas R8C/20 User Manual

Renesas R8C/20
501 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #156 background imageLoading...
Page #156 background image
R8C/20 Group, R8C/21 Group 14. Timers
Rev.2.00 Aug 27, 2008 Page 140 of 458
REJ09B0250-0200
Figure 14.16 Registers TRBPRE, TRBSC, and TRBPR
Timer RB Prescaler Re
g
iste
r
(1)
Symbol Address After Reset
TRBPRE
010Ch FFh
Mode Function Setting Range RW
NOTE:
1. When the TSTOP bit in the TRBCR register is set to 1, the TRBPRE register is set to FFh.
Programmable w aveform
generation mode
RW00h to FFh
Programmable one-shot
generation mode
00h to FFh RW
Programmable w ait one-shot
generation mode
RW00h to FFh
Counts an internal count source or a timer RA
underflow
00h to FFh RW
b7
Timer mode
b0
Timer RB Secondar
y
Re
g
iste
r
(3,4)
Symbol Address After Reset
TRBSC
010Dh FFh
Mode Function Setting Range RW
NOTES:
1.
2.
3.
4. To w rite to the TRBSC register, perform the follow ing steps.
(1) Write the value to the TRBSC register.
(
2
)
Write the value to the TRBPR re
g
ister.
(
If the value does not chan
g
e, w rite the same value second time.
)
The count value can be read out by reading the TRBPR register even w hen the secondary period is being counted.
Programmable w ait one-shot
generation mode
Counts a timer RB prescaler underflow
(one-shot w idth is counted)
00h to FFh WO
(2)
Each value in the TRBPR register and TRBSC register is reloaded to the counter alternately and counted.
When the TSTOP bit in the TRBCR register is set to 1, the TRBSC register is set to FFh.
WO
(2)
Counts a timer RB prescaler underflow
(1)
00h to FFh
Programmable one-shot
generation mode
Disable
00h to FFh —
Programmable w aveform
generation mode
b7 b0
Timer mode —Disable 00h to FFh
Timer RB Primar
y
Re
g
iste
r
(2)
Symbol Address After Reset
TRBPR
010Eh FFh
Mode Function Setting Range RW
NOTES:
1.
2. When the TSTOP bit in the TRBCR register is set to 1, the TRBPR register is set to FFh.
Programmable w aveform
generation mode
RW
Counts a timer RB prescaler underflow
(1)
00h to FFh
Programmable one-shot
generation mode
Counts a timer RB prescaler underflow
(one-shot w idth is counted)
00h to FFh RW
Each value in the TRBPR register and TRBSC register is reloaded to the counter alternately and counted.
Timer mode RWCounts a timer RB prescaler underflow 00h to FFh
b7 b0
Programmable w ait one-shot
generation mode
Counts a timer RB prescaler underflow
(w ait period width is counted)
00h to FFh RW

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas R8C/20 and is the answer not in the manual?

Renesas R8C/20 Specifications

General IconGeneral
BrandRenesas
ModelR8C/20
CategoryControl Unit
LanguageEnglish

Related product manuals