| Electronic Components Datasheet Search |
|
7540 Datasheet(PDF) 214 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7540 Datasheet(HTML) 214 Page - Renesas Technology Corp |
|
214 / 366 page ![]() 2-138 REJ09B0018-0200Z Rev.2.00 Jun 21, 2004 APPLICATION 7540 Group 2.9 Reset Fig. 2.9.6 Control procedure “F916” “4F16” 1 Initialization RESET SEI CLD CLT Set CPU mode register CPUM(Address 3B16) 10 0 Single-chip mode On-chip oscillator oscillation enabled f(XIN) oscillation (ceramic/RC) enabled Ceramic oscillation Applied from on-chip oscillator 00 0 0 00 0 0 0 00 : φ=f(XIN)/2 (High-speed mode) 01 : φ=f(XIN)/8 (Middle-speed mode) 10 : Applied from on-chip oscillator (Note 2) 11 : φ=f(XIN) (Double-speed mode) 0 0 00 1 “FF16” “FF16” 1 00 1 0 Processing 0 0 00 0 0 0 CLI Read prescaler Y and timer Y and compare their complement with the setting values of prescaler Z and timer Z Timer Z interrupt processing routine Processing RTI Set CPU mode register CPUM(Address 3B16) TYZM(Address 2016) TCSS(Address 2E16) Timer Y count source: On-chip oscillator selected Timer Z: f(XIN)/2 selected Timer Y: Timer mode selected Timer Y count stop Timer Z: Timer mode selected Timer Z count stop Set timer Y, Z mode register Set “0” to the timer Y interrupt enable bit. (Timer Y interrupt disabled) Set “0” to the timer Z interrupt enable bit. (Timer Z interrupt disabled) Prescaler Y (Address 2116) Set value to prescaler Y, timer Y Timer Y (Address 2316) Set timer count source set register Set value to prescaler Z, timer Z (Note 3) Prescaler Z (Address 2516) Timer Z primary (Address 2716) Set “1” to the timer Z interrupt enable bit. (Timer Z interrupt enabled) Set “0” to the timer Y interrupt request bit. Set “0” to the timer Z interrupt request bit. TYZM(Address 2016) Timer Y count start Timer Z count start Set timer Y, Z mode register Timer Z division ratio Timer Z primary Notes 1: For the concrete time, ask the oscillator manufacture. 2: In this example, this setting cannot be selected. 3: 10 ms = 1/4 MHz ✕ 2 ✕ (F916 + 1) ✕ (4F16 + 1) Prescaler Z Wait until f(XIN) oscillation is stabilized (Note 1) |
|
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 |