| Zakładka z wyszukiwarką danych komponentów |
|
TMP86FS28DFG Arkusz danych(PDF) 104 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP86FS28DFG Arkusz danych(HTML) 104 Page - Toshiba Semiconductor |
|
104 / 272 page ![]() Page 92 8. 16-Bit TimerCounter (TC10,TC11) 8.1 16-Bit TimerCounter 10 TMP86FS28DFG Example :Duty measurement (resolution fc/27 [Hz]) CLR (INTTC10SW). 0 ; INTTC10 service switch initial setting Address set to convert INTTC10SW at each INTTC10 LD (TC10CR), 00000110B ; Sets the TC10 mode and source clock DI ; IMF = “0” SET (EIRL). 7 ; Enables INTTC10 EI ; IMF = “1” LD (TC10CR), 00100110B ; Starts TC10 with an external trigger at MCAP10 = 0 : PINTTC10: CPL (INTTC10SW). 0 ; INTTC10 interrupt, inverts and tests INTTC10 service switch JRS F, SINTTC10 LD A, (TC10DRBL) ; Reads TC10DRB (High-level pulse width) LD W,(TC10DRBH) LD (HPULSE), WA ; Stores high-level pulse width in RAM RETI SINTTC10: LD A, (TC10DRBL) ; Reads TC10DRB (Cycle) LD W,(TC10DRBH) LD (WIDTH), WA ; Stores cycle in RAM : RETI ; Duty calculation : VINTTC10: DW PINTTC10 ; INTTC10 Interrupt vector WIDTH HPULSE TC10 pin INTTC10 interrupt request INTTC10SW |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |