| Electronic Components Datasheet Search |
|
7733 Datasheet(PDF) 154 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7733 Datasheet(HTML) 154 Page - Renesas Technology Corp |
|
154 / 940 page ![]() TIMER A 7733 Group User’s Manual 6–43 6.6.1 Setting for PWM mode Figures 6.6.2 and 6.6.3 show an initial setting example for registers related to the PWM mode. Note that when using interrupts, setting for enabling interrupts is required. For details, refer to chapter “4. INTERRUPTS.” 6.6 Pulse width modulation (PWM) mode Fig. 6.6.2 Initial setting example for registers related to PWM mode (1) b7 b0 Count source selection bits 0 0: Clock f2 0 1: Clock f16 1 0: Clock f64 1 1: Clock f512 11 Selection of PWM mode and each function Timer Ai mode register (i = 0 to 4) (addresses 5616 to 5A16) b7 b6 1 16/8-bit PWM mode selection bit 0: The counter operates as 16-bit pulse width modulator. 1: The counter operates as 8-bit pulse width modulator. Continued to “Initial setting example for registers related to PWM mode (2)” on the next page Trigger selection bits 0 X: Writing “1” to the count start flag: Internal trigger 1 0: Falling edge of pin TAiIN’s input signal: External trigger 1 1: Rising edge of pin TAiIN’s input signal: External trigger b4 b3 X: It may be “0” or “1.” Clocks f2, f16, f64, and f512: Refer to chapter “14. CLOCK GENERATING CIRCUIT.” PWM mode selected Setting of PWM pulse’s period and “H” level width b7 b0 Values 000016 to FFFE16 (n) can be set. (b15) (b8) b7 b0 Timer A0 register (addresses 4716, 4616) Timer A1 register (addresses 4916, 4816) Timer A2 register (addresses 4B16, 4A16) Timer A3 register (addresses 4D16, 4C16) Timer A4 register (addresses 4F16, 4E16) g When operating as a 16-bit pulse width modulator Period = (216 – 1)/fi fi: Frequency of the count source (f2, f16, f64, or f512) However, if n = 000016, the pulse width modulator does not operate and pin TAiOUT outputs “L” level. At this time, no timer Ai interrupt request is generated. sWhen operating as a 16-bit pulse width modulator b7 b0 Values 0016 to FF16 (m) can be set. (b15) (b8) b7 b0 sWhen operating as an 8-bit pulse width modulator Values 0016 to FE16 (n) can be set. g When operating as an 8-bit pulse width modulator Period = (m+1) (28 – 1)/fi “H” level width = n(m + 1)/fi fi: Frequency of the count source (f2, f16, f64, or f512) However, if n = 0016, the pulse width modulator does not operate and pin TAiOUT outputs “L” level. At this time, no timer Ai interrupt request is generated. Timer A0 register (addresses 4716, 4616) Timer A1 register (addresses 4916, 4816) Timer A2 register (addresses 4B16, 4A16) Timer A3 register (addresses 4D16, 4C16) Timer A4 register (addresses 4F16, 4E16) |
|
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 |