| Electronic Components Datasheet Search |
|
R5F3640MNFB Datasheet(PDF) 159 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R5F3640MNFB Datasheet(HTML) 159 Page - Renesas Technology Corp |
|
159 / 398 page ![]() REJ09B0392-0064 Rev.0.64 Oct 12, 2007 Page 138 of 373 Under development Preliminary Specification Specification in this preliminary version is subject to change. M16C/64 Group 15. Timers Figure 15.5 Registers TA0MR to TA4MR and TA0 to TA4 b7 b6 b5 b4 b1 b2 b3 Symbol TA0MR to TA4MR Address 0336h to 033Ah After Reset 00h b0 Function Bit Symbol Bit Name RW Timer Ai Mode Register (i= 0 to 4) NOTE : 1. Valid when the bit3 or the bit 7 in registers TACS0 to TACS2 is set to 0 (TCK0, TCK1 enabled). Function varies with each operation mode MR1 RW MR2 RW MR3 RW TCK1 RW Count source select bit (1) (Function varies with each operation mode) TCK0 RW MR0 RW b1 b0 0 0 : Timer mode 0 1 : Event counter mode 1 0 : One-shot timer mode 1 1 : Pulse width modulation (PWM) mode Operation mode select bit TMOD1 TMOD0 RW RW (b15) (b8) b7 Symbol TA0 TA1 TA2 TA3 TA4 Address 0327h to 0326h 0329h to 0328h 032Bh to 032Ah 032Dh to 032Ch 032Fh to 032Eh After Reset Indeterminate Indeterminate Indeterminate Indeterminate Indeterminate b0 Setting Range Mode Function RW Timer Ai Register (i= 0 to 4) (1) 0000h to FFFFh Divide the count source by n + 1 where n = set value Timer mode RW WO 0000h to FFFFh (2, 4) Divide the count source by n where n = set value, and the counter stops One-shot timer mode NOTES : 1. Access to the register in 16-bit units. 2. If the TAi register is set to 0000h, the counter does not work and timer Ai interrupt requests are not generated either. Furthermore, if pulse output is selected, no pulses are output from the TAiOUT pin. 3. If the TAi register is set to 0000h, the pulse width modulator does not work, the output level on the TAiOUT pin remains low, and timer Ai interrupt requests are not generated either. The same applies when the 8 high-order bits of the timer TAi register are set to 00h while operating as an 8-bit pulse width modulator. 4. Use the MOV instruction to write to the TAi register. 5. The timer counts pulses from an external device or overflows or underflows in other timers. RW 0000h to FFFFh Divide the count source by FFFFh – n + 1 where n = set value when counting up or by n + 1 when counting down (5) Event counter mode Pulse width modulation mode (16-bit PWM) Modify the pulse width as follows: PWM period: (216 – 1) / fj PWM pulse width: n / fj where n = set value, fj = count source frequency 0000h to FFFEh (3, 4) WO Pulse width modulation mode (8-bit PWM) Modify the pulse width as follows: PWM period: (28 – 1) × (m + 1) / fj PWM pulse width: (m + 1)n / fj where n = high-order address set value, m = low-order address set value, fj = count source frequency 00h to FEh (High-order address) 00h to FFh (Low-order address) (3, 4) WO b7 b0 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |