| 数据搜索系统,热门电子元器件搜索 |
|
M38047FEHKP 数据表(PDF) 164 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M38047FEHKP 数据表(HTML) 164 Page - Renesas Technology Corp |
|
164 / 387 page ![]() 2-40 APPLICATION 2.3 Timer Rev.1.00 Jan 14, 2005 REJ09B0212-0100Z 3804 Group (Spec.H) Fig. 2.3.24 Control procedure (address 002316) (address 000E16) (address 002016) (address 002116) (address 002616) (address 002716) (address 003C16) (address 003E16), bit6 RESET SEI TM T12XCSS PRE12 T1 PREY TY IREQ1 ICON1 TM CLI 0 IREQ1(address 003C16), bit5 ? 0 1 RTI TY (address 002716) (A) 214 < (A) < 228 0 Fpulse 1 Fpulse TY (address 002716) IREQ1 (address 003C16), bit5 256 – 1 0 (address 002316), 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 CNTR1 pin.) •Set division ratio 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 •Initialize the counter value •Clear Timer Y interrupt request bit Initialization 1110XXXX2 XXXX01002 64 – 1 8 – 1 1 – 1 255 X00XXXXX2 Timer 1 interrupt process routine CLT (Note 1) CLD (Note 2) Push registers to stack •Process as out of range when the count value is 256 or more •Read the count value •Store the count value into Accumulator (A) In range Out of range •Compare the read value with reference value •Store the comparison result to flag Fpulse Process judgment result Pop registers •Timer 1, Y interrupt request bit cleared •Timer 1 interrupt: Enabled 1 |
|
链接网址 |
| 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 |