| 数据搜索系统,热门电子元器件搜索 |
|
R8C/2G 数据表(PDF) 181 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R8C/2G 数据表(HTML) 181 Page - Renesas Technology Corp |
|
181 / 344 page ![]() R8C/2G Group 17. Timers Rev.1.00 Apr 04, 2008 Page 161 of 318 REJ09B0387-0100 17.2 Timer RB Timer RB is an 8-bit timer with an 8-bit prescaler. The prescaler and timer each consist of a reload register and counter (refer to Tables 17.7 to 17.10 the Specifications of Each Mode). Timer RB has timer RB primary and timer RB secondary as reload registers. The count source for timer RB is the operating clock that regulates the timing of timer operations such as counting and reloading. Figure 17.12 shows a Block Diagram of Timer RB. Figures 17.13 to 17.15 show the registers associated with timer RB. Timer RB has four operation modes listed as follows: • Timer mode: The timer counts an internal count source (peripheral function clock or timer RA underflows). • Programmable waveform generation mode: The timer outputs pulses of a given width successively. • Programmable one-shot generation mode: The timer outputs a one-shot pulse. • Programmable wait one-shot generation mode: The timer outputs a delayed one-shot pulse. Figure 17.12 Block Diagram of Timer RB INT0PL = 00b = 01b = 11b f8 f1 = 10b Timer RA underflow TCK1 to TCK0 TSTART TRBPRE register (prescaler) Timer RB interrupt INT0 interrupt TCSTF Toggle flip-flop Q Q CLR CK TOPL = 1 TOPL = 0 TOCNT = 0 TOCNT = 1 P3_1 bit in P3 register f2 TMOD1 to TMOD0 = 10b or 11b TOSSTF Polarity select INOSEG Input polarity selected to be one edge or both edges Digital filter INT0 pin INT0EN TMOD1 to TMOD0 = 01b, 10b, 11b TMOD1 to TMOD0 = 01b, 10b, 11b Counter Reload register Counter (timer RB) Reload register TRBPR register Data bus TRBSC register Reload register TCKCUT INOSTG TSTART, TCSTF: Bits in TRBCR register TOSSTF: Bit in TRBOCR register TOPL, TOCNT, INOSTG, INOSEG: Bits in TRBIOC register TMOD1 to TMOD0, TCK1 to TCK0, TCKCUT: Bits in TRBMR register TRBOSEL: Bit in PINSR2 register (Timer) TRBOSEL = 0 TRBOSEL = 1 TRBO (P1_3) pin TRBO (P3_1) pin |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |