| 전자부품 데이터시트 검색엔진 |
|
TMP86CS28FG 데이터시트(PDF) 102 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP86CS28FG 데이터시트(HTML) 102 Page - Toshiba Semiconductor |
|
102 / 230 page ![]() Page 92 8. 16-Bit TimerCounter (TC10,TC11) 8.1 16-Bit TimerCounter 10 TMP86CS28FG 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 |
|
링크 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 |