| Electronic Components Datasheet Search |
|
7540 Datasheet(PDF) 156 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7540 Datasheet(HTML) 156 Page - Renesas Technology Corp |
|
156 / 366 page ![]() 2-80 REJ09B0018-0200Z Rev.2.00 Jun 21, 2004 APPLICATION 7540 Group 2.5 Timer Y and timer Z (2) Programmable waveform generation mode setting method Figure 2.5.24 and Figure 2.5.25 show the setting method for programmable waveform generation mode of timer Y. When timer Z is used, registers are set by the same method. Fig. 2.5.24 Setting method for programmable waveform generation mode (1) b7b0 1 1 1 b7b0 Timer Y primary waveform extension control bit (Note) 0: Waveform not extended 1: Waveform extended Timer Y secondary waveform extension control bit (Note) 0: Waveform not extended 1: Waveform extended Timer Y output level latch 0: Initial state at stop: “L”, “H” interval by TYP setting value, “L” interval by TYS setting value 1: Initial state at stop: “H”, “L” interval by TYP setting value, “H” interval by TYS setting value Process 4: Set TYOUT pin to the output (Note). Port P0 direction register (P0D) [Address 0116] Set P01/TYOUT pin as the output mode b7b0 1 Note: For timer Z, set TZOUT pin as the output by bit 2 of P0D. b7 b0 0 Note: When using this mode, be sure to set “1” to the timer Y write control bit to select “write to latch only”. Process 1: Disable timer Y interrupt. Process 2: Set timer Y, Z mode register. Timer Y, Z mode register (TYZM) [Address 2016] Programmable waveform generation mode Write to only latch (Note) Timer Y count stop Interrupt control register 2 (ICON2) [Address 3F16] Timer Y interrupt disabled Process 3: Set timer Y, Z waveform output control register. Timer Y, Z waveform output control register (PUM) [Address 2416] Note: The waveform extension function by the timer Y waveform extension control bits can be used only when “0016” is set to prescaler Y. When the value other than “0016” is set to prescaler Y, be sure to set “0” to EXPYP and EXPYS. The waveform extension function by the timer Z waveform extension control bits can be used only when “0016” is set to prescaler Z. When the value other than “0016” is set to prescaler Z, be sure to set “0” to EXPZP and EXPZS. Also, when the timer Y underflow is selected as the timer Z count source, the waveform extension function cannot be used. |
|
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 |