| Electronic Components Datasheet Search |
|
7906 Datasheet(PDF) 142 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7906 Datasheet(HTML) 142 Page - Renesas Technology Corp |
|
142 / 531 page ![]() TIMER A 7906 Group User’s Manual Rev.2.0 7-39 7.6 Pulse width modulation (PWM) mode RW RW RW RW RW RW RW RW 0 1 2 3 4 5 6 7 Timer Aj mode register (i = 0 to 2, 4, 9) (Addresses 5616 to 5816, 5A16, DA16) Operating mode select bits Fix this bit to “1” in PWM mode. Trigger select bits 16/8-bit PWM mode select bit Count source select bits b7 b6 b5 b4 b3 b2 b1 b0 1 1 : PWM mode b1 b0 11 0 0 : Writing “1” to count start bit 0 1 : (TAjIN pin functions as a programmable I/O port pin.) 1 0 : Falling edge of TAjIN pin’s input signal 1 1 : Rising edge of TAjIN pin’s input signal b4 b3 1 0 : 16-bit pulse width modulator 1 : 8-bit pulse width modulator 0 0 0 0 0 0 0 0 See Table 7.2.3. Timer A0 register (Addresses 4716, 4616) Timer A1 register (Addresses 4916, 4816) Timer A2 register (Addresses 4B16, 4A16) Timer A4 register (Addresses 4F16, 4E16) Timer A9 register (Addresses CF16, CE16) Undefined 15 to 0 Any value in the range from “000016” to “FFFE16” can be set. Assuming that the set value = n, the “H” level width of the PWM pulse which is output from the TAjOUT pin is expressed as follows : (PWM pulse period = ) WO b0 b7 b0 b7 (b15) (b8) fi: Frequency of count source Note: Use the MOVM or STA(STAD) instruction for writing to this register. Writing to this register must be performed in a unit of 16 bits. n fi 216–1 fi <When operating as a 16-bit pulse width modulator> Timer A0 register (Addresses 4716, 4616) Timer A1 register (Addresses 4916, 4816) Timer A2 register (Addresses 4B16, 4A16) Timer A4 register (Addresses 4F16, 4E16) Timer A9 register (Addresses CF16, CE16) Undefined Undefined 7 to 0 15 to 8 Any value in the range from “0016” to “FF16” can be set. Assuming that the set value = m, the period of the PWM pulse which is output from the TAjOUT pin is expressed as follows: WO WO b0 b7 b0 b7 (b15) (b8) (m + 1) (28 – 1) fi <When operating as an 8-bit pulse width modulator> Any value in the range from “0016” to “FF16” can be set. Assuming that the set value = n, the “H” level width of the PWM pulse which is output from the TAjOUT pin is expressed as follows: n(m + 1) fi fi: Frequency of count source Note: Use the MOVM or STA(STAD) instruction for writing to this register. Writing to this register must be performed in a unit of 16 bits. Bit Function At reset R/W Bit name Bit Function At reset R/W Bit Function At reset R/W Fig. 7.6.1 Structures of timer Aj register and timer Aj mode register in PWM mode |
|
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 |