| Electronic Components Datasheet Search |
|
R5F3640MNFB Datasheet(PDF) 172 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R5F3640MNFB Datasheet(HTML) 172 Page - Renesas Technology Corp |
|
172 / 398 page ![]() REJ09B0392-0064 Rev.0.64 Oct 12, 2007 Page 151 of 373 Under development Preliminary Specification Specification in this preliminary version is subject to change. M16C/64 Group 15. Timers 15.1.4 Pulse Width Modulation (PWM) Mode In PWM mode, the timer outputs pulses of a given width in succession (see Table 15.5). The counter functions as either 16-bit pulse width modulator or 8-bit pulse width modulator. Figure 15.15 shows TAiMR Register in PWM Mode. Figures 15.16 and 15.17 show an Example of 16-Bit Pulse Width Mod- ulator Operation and 8-bit Pulse Width Modulator Operation, respectively. i = 0 to 4 Table 15.5 Specifications in PWM Mode Item Specification Count Source f1TIMAB, f2TIMAB, f8TIMAB, f32TIMAB, f64TIMAB, fOCO-S, fC32 Count Operation • Decrement (operating as an 8-bit or a 16-bit pulse width modulator) • The timer reloads a new value at a rising edge of PWM pulse and continues counting. • The timer is not affected by a trigger that occurs during counting. 16-bit PWM • Pulse width n / fj n: set value of the TAi register • Cycle time (216 - 1) / fj fixed fj: count source frequency (1TIMAB, f2TIMAB, f8TIMAB, f32TIMAB, f64TIMAB, fOCO-S, fC32 ) 8-bit PWM • Pulse width n × (m+1) / fj n: set value of the TAi register high-order address • Cycle time (28-1) × (m+1) / fj m: set value of the TAi register low-order address Count Start Condition • The TAiS bit of the TABSR register is set to 1 (start counting) • The TAiS bit = 1 and external trigger input from the TAiIN pin • The TAiS bit = 1 and one of the following external triggers occurs Timer B2 overflow or underflow, Timer Aj (j = i - 1, except j = 4 if i = 0) overflow or underflow, Timer Ak (k = i + 1, except k = 0 if i = 4) overflow or underflow Count Stop Condition The TAiS bit is set to 0 (stop counting) Interrupt Request Generation Timing On the falling edge of PWM pulse TAiIN Pin Function I/O port or trigger input TAiOUT Pin Function Pulse output Read from Timer An indeterminate value is read by reading the TAi register Write to Timer • When not counting Value written to the TAi register is written to both reload register and counter • When counting Value written to the TAi register is written to only reload register (Transferred to counter when reloaded next) Select Function • Output polarity control While the output polarity of TAiOUT pin is inverted (the TAiS bit is set to 0 (stop counting)), the pin outputs high. |
|
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 |