| Electronic Components Datasheet Search |
|
7540 Datasheet(PDF) 150 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7540 Datasheet(HTML) 150 Page - Renesas Technology Corp |
|
150 / 366 page ![]() 2-74 REJ09B0018-0200Z Rev.2.00 Jun 21, 2004 APPLICATION 7540 Group 2.5 Timer Y and timer Z Fig. 2.5.19 Setting method for timer mode b7b0 1 0 b7b0 b7 b0 00 Notes 1: For timer Z, f(XIN), f(XIN)/2, or timer Y underflow can be selected. 2: Set the on-chip oscillator oscillation to be enabled by bit 3 (on-chip oscillator oscillation control bit) of CPU mode register. b7b0 0 0 Note: In the timer mode, the timer Y secondary is not used. b7 b0 1 b7b0 0 Process 1: Disable timer Y interrupt. Process 2: Set timer Y, Z mode register. Timer Y, Z mode register (TYZM) [Address 2016] Process 4: Set the count value to timer Y. • Set the count value to prescaler Y and timer Y primary Count value Timer Y primary (TYP) (Address 2316) Process 5: In order not to execute the no requested interrupt processing, set “0” (no requested) to the timer Y interrupt request bit. Timer mode Timer Y write control bit 0: Write to latch and timer simultaneously 1: Write to only latch Timer Y count stop Count value Interrupt control register 2 (ICON2) [Address 3F16] Timer Y interrupt disabled Interrupt request register 2 (IREQ2) [Address 3D16] Process 6: When timer Y interrupt is used, set “1” (interrupt enabled) to the timer Y interrupt enable bit. No timer Y interrupt request issued Interrupt control register 2 (ICON2) [Address 3F16] Timer Y interrupt enabled Timer Y, Z mode register (TYZM) [Address 2016] Timer Y count start Process 7: Start counting of timer Y. Process 3: Set timer Y count source (Note 1) Timer count source set register (TCSS) [Address 2E16] Timer Y count source selection bits b3 b2 0 0 : f(XIN)/16 0 1 : f(XIN)/2 1 0 : On-chip oscillator output (Note 2) 1 1 : Not available Prescaler Y (PREY) (Address 2116) |
|
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 |