数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

R8C/2G 数据表(PDF) 185 Page - Renesas Technology Corp

部件名 R8C/2G
功能描述  RENESAS MCU R8C FAMILY / R8C/2x SERIES
PDF  344 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  RENESAS [Renesas Technology Corp]
网页  http://www.renesas.com
标志 RENESAS - Renesas Technology Corp

R8C/2G 数据表(HTML) 185 Page - Renesas Technology Corp

Back Button R8C/2G Datasheet HTML 181Page - Renesas Technology Corp R8C/2G Datasheet HTML 182Page - Renesas Technology Corp R8C/2G Datasheet HTML 183Page - Renesas Technology Corp R8C/2G Datasheet HTML 184Page - Renesas Technology Corp R8C/2G Datasheet HTML 185Page - Renesas Technology Corp R8C/2G Datasheet HTML 186Page - Renesas Technology Corp R8C/2G Datasheet HTML 187Page - Renesas Technology Corp R8C/2G Datasheet HTML 188Page - Renesas Technology Corp R8C/2G Datasheet HTML 189Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 185 / 344 page
background image
R8C/2G Group
17. Timers
Rev.1.00
Apr 04, 2008
Page 165 of 318
REJ09B0387-0100
17.2.1
Timer Mode
In timer mode, a count source which is internally generated or timer RA underflows are counted (refer to Table
17.7 Timer Mode Specifications). Registers TRBOCR and TRBSC are not used in timer mode.
Figure 17.16 shows TRBIOC Register in Timer Mode.
Figure 17.16
TRBIOC Register in Timer Mode
Table 17.7
Timer Mode Specifications
Item
Specification
Count sources
f1, f2, f8, timer RA underflow
Count operations
• Decrement
• When the timer underflows, it reloads the reload register contents before the
count continues (when timer RB underflows, the contents of timer RB primary
reload register is reloaded).
Divide ratio
1/(n+1)(m+1)
n: setting value in TRBPRE register, m: setting value in TRBPR register
Count start condition
1 (count starts) is written to the TSTART bit in the TRBCR register.
Count stop conditions
• 0 (count stops) is written to the TSTART bit in the TRBCR register.
• 1 (count forcibly stop) is written to the TSTOP bit in the TRBCR register.
Interrupt request
generation timing
When timer RB underflows [timer RB interrupt].
TRBO pin function
Programmable I/O port
INT0 pin function
Programmable I/O port or INT0 interrupt input
Read from timer
The count value can be read out by reading registers TRBPR and TRBPRE.
Write to timer
• When registers TRBPRE and TRBPR are written while the count is stopped,
values are written to both the reload register and counter.
• When registers TRBPRE and TRBPR are written to while count operation is in
progress:
If the TWRC bit in the TRBMR register is set to 0, the value is written to both
the reload register and the counter.
If the TWRC bit is set to 1, the value is written to the reload register only.
(Refer to 17.2.1.1 Timer Write Control during Count Operation.)
Timer RB I/O Control Register
Symbol
Address
After Reset
TRBIOC
010Ah
00h
Bit Symbol
Bit Name
Function
RW
RW
RW
One-shot trigger control bit
Set to 0 in timer mode.
RW
RW
00
TOPL
Timer RB output level select
bit
Timer RB output sw itch bit
b7 b6 b5 b4 b3 b2
INOSEG
b1 b0
00
INOSTG
TOCNT
Nothing is assigned. If necessary, set to 0.
When read, the content is 0.
One-shot trigger polarity
select bit
(b7-b4)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com