| Electronic Components Datasheet Search |
|
7540 Datasheet(PDF) 163 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7540 Datasheet(HTML) 163 Page - Renesas Technology Corp |
|
163 / 366 page ![]() 2-87 REJ09B0018-0200Z Rev.2.00 Jun 21, 2004 7540 Group APPLICATION 2.5 Timer Y and timer Z Fig. 2.5.30 Setting method for programmable one-shot generation mode (2) Prescaler Z (PREZ) [Address 2516] (Note 2) Process 8: Set the standby state to accept the one-shot start trigger (Note). b7b0 0 Timer Y, Z mode register (TYZM) [Address 2016] Timer Z count start 0 11 Process 7: Set the one-shot pulse width (Note 1). • Set the count value to prescaler Z and timer Z primary Count value Count value Timer Z primary (TZP) [Address 2716] (Note 3) Note: When the INT0 pin one-shot trigger control bit of PUM is set to“valid”, timer Z counting is started by the input of trigger to INT0 pin after this setting. Notes 1: In the programmable one-shot generation mode, TZS is not used. When the count setting value is changed, value of EXPZP is valid by writing to TZP. Even when changing TZP is not required, write the same value again. 2: When the timer Z waveform extension function is used, be sure to set “0016” to prescaler Z. 3: In the programmable one-shot generation mode, when the setting value is changed while the waveform is output, set by software in order not to execute the writing to TZP and the timing of timer Z underflow simultanesously. Process 6: Set the timer Z count source. b7 b0 Timer count source set register (TCSS) [Address 2E16] Timer Z count source selection bits b5 b4 0 0 : f(XIN)/16 0 1 : f(XIN)/2 1 0 : Timer Y underflow (Note) 1 1 : Not available Process 5: When the trigger by INT0 pin input is selected: Set port P3 direction register, pull-up control register and port P1P3 control register Pull-up control register (PULL) [Address 1616] P37 pull-up control bit 0: Pull-up Off 1: Pull-up On b7b0 Port P1P3 control register (P1P3C) [Address 1716] P37/INT0 input level selection bit 0: CMOS level 1: TTL level b7b0 0 Port P3 direction register (P3D) [Address 0716] Set P37/INT0 pin as the input mode b7b0 0 Note: When the timer Z waveform extension function is used, do not select the timer Y underflow as the timer Z count source. |
|
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 |