| データシートサーチシステム |
|
TMP86FS28DFG データシート(PDF) 118 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP86FS28DFG データシート(HTML) 118 Page - Toshiba Semiconductor |
|
118 / 272 page ![]() Page 106 8. 16-Bit TimerCounter (TC10,TC11) 8.2 16-Bit TimerCounter 11 TMP86FS28DFG Example :Duty measurement (resolution fc/27 [Hz]) CLR (INTTC11SW). 0 ; INTTC11 service switch initial setting Address set to convert INTTC11SW at each INTTC11 LD (TC11CR), 00000110B ; Sets the TC11 mode and source clock DI ; IMF = “0” SET (EIRH). 7 ; Enables INTTC11 EI ; IMF = “1” LD (TC11CR), 00100110B ; Starts TC11 with an external trigger at MCAP11 = 0 : PINTTC11: CPL (INTTC11SW). 0 ; INTTC11 interrupt, inverts and tests INTTC11 service switch JRS F, SINTTC11 LD A, (TC11DRBL) ; Reads TC11DRB (High-level pulse width) LD W,(TC11DRBH) LD (HPULSE), WA ; Stores high-level pulse width in RAM RETI SINTTC11: LD A, (TC11DRBL) ; Reads TC11DRB (Cycle) LD W,(TC11DRBH) LD (WIDTH), WA ; Stores cycle in RAM : RETI ; Duty calculation : VINTTC11: DW PINTTC11 ; INTTC11 Interrupt vector WIDTH HPULSE TC11 pin INTTC11 interrupt request INTTC11SW |
|
リンク URL |
| 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 |