| Electronic Components Datasheet Search |
|
3886 Datasheet(PDF) 154 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
3886 Datasheet(HTML) 154 Page - Renesas Technology Corp |
|
154 / 380 page ![]() 3886 Group User’s Manual APPLICATION 2-37 2.3 Timer Fig. 2.3.20 Control procedure (address 2316) (address 2016) (address 2116) (address 2616) (address 2716) (address 3E16), bit6 RESET SEI TM PRE12 T1 PREY TY ICON1 TM CLI 0 IREQ1(address 3C 16), bit5 ? 0 1 RTI TY (address 2716) (A) 214 < (A) < 228 0 Fpulse 1 Fpulse TY (address 2716) IREQ1 (address 3C16), bit5 256 – 1 0 (address 2316), bit7 q x: This bit is not used here. Set it to “0” or “1” arbitrary. •All interrupts disabled •Timer Y operating mode : Event counter mode (Count a falling edge of pulses input from CNTR 1 pin.) •Division ratio set so that Timer 1 interrupt will occur at 2 ms intervals. •Timer Y count start •Interrupts enabled Note 1: When using Index X mode flag (T) Note 2: When using Decimal mode flag (D) •Push registers used in interrupt process routine •Pop registers pushed to stack •Counter value initialized •Timer Y interrupt request bit cleared Initialization 1110XXXX2 64 – 1 8 – 1 1 – 1 256 – 1 1 •Timer 1 interrupt enabled Timer 1 interrupt process routine CLT (Note 1) CLD (Note 2) Push registers to stack •Processing as out of range when the count value is 256 or more •Count value read •Count value into Accumulator (A) stored In range Out of range •Read value with reference value compared •Comparison result to flag Fpulse stored Process judgment result Pop registers |
|
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 |