| 数据搜索系统,热门电子元器件搜索 |
|
M38C31M7AXXXFS 数据表(PDF) 92 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M38C31M7AXXXFS 数据表(HTML) 92 Page - Renesas Technology Corp |
|
92 / 224 page ![]() 38C3 Group User’s Manual APPLICATION 2-27 2.2 Timer Fig. 2.2.25 Control procedure SEI T12M T1 T34M T4 ICON1 ICON2 T12M CLI 00XX00X12 3F16 0X10XX0X2 FF16 1 0 0 IREQ2 (address 3D16), bit 0 ? 1 RTI T4 (address 2316) (A) 214 < (A) < 228 0 Fpulse 1 Fpulse (address 2816) (address 2016) (address 2916) (address 2316) (address 3E16), bit 5 (address 3F16), bit 0 (address 2816), bit 0 T4 IREQ2 FF16 0 (address 2316) (address 3D16), bit 0 1/8 RESET q X: This bit is not used here. Set it to “0” or “1” arbitrary. •All interrupts disabled Initialization Timer 1 interrupt process routine CLT (Note 1) CLD (Note 2) Push registers to stack Out of range Process judgment result Pop registers •Set division ratio so that Timer 1 interrupt will occur at 244 µs intervals. •External pulses input from CNTR1 pin selected as Timer 4’s count source •Setting Timer 4 count value •Timer 1 interrupt enabled •Timer 4 interrupt disabled •Timer 1 count start •Interrupts enabled •Set so that pulse judgment process will be performed once each time Timer 1 interrupt occurs 8 times, at 2 ms intervals. Notes 1: When using Index X mode flag (T) 2: When using Decimal mode flag (D) •Pushing registers used in interrupt process routine •Popping registers pushed to stack •Initialization of counter value •Timer 4 interrupt request bit cleared •Processing as out of range when the count value is 256 or more •Count value read •Storing count value into Accumulator (A) •Compare the read value with reference value. •Store the comparison result to flag Fpulse. In range |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |