| Motore di ricerca datesheet componenti elettronici |
|
R8C/L3AB Scheda tecnica(PDF) 489 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R8C/L3AB Scheda tecnica(HTML) 489 Page - Renesas Technology Corp |
|
489 / 848 page ![]() 22. Timer RE REJ09B0441-0010 Rev.0.10 Jul 30, 2008 Page 453 of 809 Under development Preliminary specification Specifications in this manual are tentative and subject to change. R8C/L35A Group, R8C/L36A Group, R8C/L38A Group, R8C/L3AA Group, R8C/L35B Group, R8C/L36B Group, R8C/L38B Group, R8C/L3AB Group 22.3 Output Compare Mode In output compare mode, the internal count source divided by 2 is counted using the 4-bit or 8-bit counter and a compare value match is detected with the 8-bit counter. Figure 22.4 shows a Block Diagram of Output Compare Mode, Table 22.4 lists the Output Compare Mode Specifications, and Figure 22.5 shows an Operating Example in Output Compare Mode. Figure 22.4 Block Diagram of Output Compare Mode Table 22.4 Output Compare Mode Specifications Item Specification Count sources f4, f8, f32, fC4 Count operations • Increment • When the 8-bit counter value matches the TREMIN register content, the value is set back to 00h and the count continues. The count value is retained while the count stops. Count periods • When RCS2 = 0 (4-bit counter is not used) 1/fi x 2 x (n+1) • When RCS2 = 1 (4-bit counter is used) 1/fi x 32 x (n+1) fi: Frequency of count source n: Value set in TREMIN register Count start condition 1 (count starts) is written to the TSTART bit in the TRECR1 register. Count stop condition 0 (count stops) is write to the TSTART bit in the TRECR1 register. Interrupt request generation timing When the contents of the 8-bit counter and the TREMIN register match. TREO pin function Select either one of the following: • Programmable I/O port • Output of f2, fC, f4, or f8 • Compare output Read from timer When reading the TRESEC register, the 8-bit counter value can be read. When reading the TREMIN register, the compare value can be read. Write to timer Writing to the TRESEC register is disabled. When bits TSTART and TCSTF in the TRECR1 register are set to 0 (timer stops), writing to the TREMIN register is enabled. Selectable functions • Selectable use of 4-bit counter • Compare output function Every time the 8-bit counter value matches the TREMIN register content, the TREO output polarity is inverted. The TREO pin outputs a low-level signal after reset is deasserted and timer RE is reset by the TRERST bit in the TRECR1 register. The output level is retained by setting the TSTART bit to 0 (count stops). fC4 f32 f4 f8 4-bit counter 8-bit counter TRESEC TREMIN 1/2 RCS2 = 1 RCS2 = 0 COMIE Timer RE interrupt Match signal = 00b = 01b = 10b = 11b RCS1 to RCS0 TRERST, TOENA: Bits in TRECR1 register COMIE: Bit in TRECR2 register RCS0 to RCS2, RCS4 to RCS6: Bits in TRECSR register TQ R Reset TRERST Data bus Comparison circuit f2 RCS6 to RCS4 =000b =010b =100b =110b TOENA =001b fC TREO pin |
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore 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 |