| Electronic Components Datasheet Search |
|
7641 Datasheet(PDF) 160 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7641 Datasheet(HTML) 160 Page - Renesas Technology Corp |
|
160 / 385 page ![]() Rev.2.00 Aug 28, 2006 page 29 of 148 7641 Group REJ09B0336-0200 APPLICATION 2.2 Timer Fig. 2.2.21 Control procedure SEI CPMA CCR T123M TYM T1 T2 TYL TYH ICONB IREQB P4D TYM T123M CLI 000X1XXX2 0 0XXX001X2 1010XX002 74 9 FF16 FF16 10X0XXXX2 000000002 0 0 0 RTI (address 0016) (address 1F16),bit7 (address 2916) (address 2816) (address 2416) (address 2516) (address 2216) (address 2316) (address 0616) (address 0316) (address 1916),bit4 (address 2816),bit7 (address 2916),bit1 TYL TYH FF16 FF16 (address 2216) (address 2316) RESET q X: This bit is not used here. Set it to “0” or “1” arbitrary. •All interrupts disabled Initialization Timer 2 interrupt process routine CLT (Note 1) CLD (Note 2) Push registers to stack Pop registers •Timer 2 interrupt enabled, Timer Y interrupt disabled •Set P44/CNTR1 pin to input mode. •Start of Timer Y count •Start of Timer 1 count •Interrupts enabled Note 1: When using Index X mode flag (T) Note 2: When using Decimal mode flag (D) •Pushing registers used in interrupt process routine •Popping registers pushed to stack •Set the low-order and then high-order byte. • φ = f(XIN)/4 •Event counter mode •Set division ratio so that Timer 2 interrupt will occur at 1 ms intervals. T123M (address 2916),bit1 1 TYM (address 2816),bit7 1 (“FFFF16”) – (Timer Y count value) TYM (address 2816),bit7 0 T123M (address 2916),bit1 0 •Stop of Timer 1 count •Stop of Timer Y count •Input event numbers of P44/CNTR1 pin for 1 ms. •Start of Timer Y count •Start of Timer 1 count |
|
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 |