| Electronic Components Datasheet Search |
|
7540 Datasheet(PDF) 162 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7540 Datasheet(HTML) 162 Page - Renesas Technology Corp |
|
162 / 366 page ![]() 2-86 REJ09B0018-0200Z Rev.2.00 Jun 21, 2004 APPLICATION 7540 Group 2.5 Timer Y and timer Z Fig. 2.5.29 Setting method for programmable one-shot generation mode (1) (2) Event counter mode setting method Figure 2.5.29 to Figure 2.5.31 show the setting method for programmable one-shot generation mode of timer Z. b7b0 1 b7 b0 1 0 11 b7 b0 b7b0 0 b7b0 0 Timer Z primary waveform extension control bit (Note 1) 0: Waveform not extended 1: Waveform extended Timer Z output level latch 0: Initial state at stop: “L”, “H” interval by TZP setting value, “L” interval by TZS setting value 1: Initial state at stop: “H”, “L” interval by TZP setting value, “H” interval by TZS setting value INT0 pin one-shot trigger control bit (Note 2) 0: INT0 pin one-shot trigger invalid 1: INT0 pin one-shot trigger valid INT0 pin one-shot trigger active edge selection bit (Note 2) 0: Falling edge trigger 1: Rising edge trigger Process 4: Set TZOUT pin to the output (Note). Port P0 direction register (P0D) [Address 0116] Set P02/TZOUT pin as the output mode Note: When using this mode, be sure to select “write to latch only”. Process 1: Disable the interrupt. Process 2: Set timer Y, Z mode register. Timer Y, Z mode register (TYZM) [Address 2016] Programmable one-shot generation mode Write to only latch (Note) Timer Y count stop Interrupt control register 1 (ICON1) [Address 3E16] INT0 interrupt disabled Process 3: Set timer Y, Z waveform output control register. Timer Y, Z waveform output control register (PUM) [Address 2416] Notes 1: 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. Also, when the timer Y underflow is selected as the timer Z count source, the waveform extension function cannot be used. 2: Stop timer Z to change these bits. Interrupt control register 2 (ICON2) [Address 3F16] Timer Z interrupt disabled |
|
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 |