| 전자부품 데이터시트 검색엔진 |
|
TMP88CS38BFG 데이터시트(PDF) 71 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP88CS38BFG 데이터시트(HTML) 71 Page - Toshiba Semiconductor |
|
71 / 218 page ![]() TMP88CS38B/CM38B/CP38B 2007-09-12 88CS38B-71 2.6.3 Function The timer/counter 2 has three operating modes: Timer, event counter and window modes. (1) Timer mode In this mode, the internal clock is used for counting up. The contents of TC2DR are compared with the contents of up counter. If a match is found, a timer/counter 2 interrupt (INTTC2) is generated, and the counter is cleared. Counting up is resumed after the counter is cleared. Table 2.6.1 Source Clock (Internal clock) for Timer/Counter 2 (at fc = 16.0 MHz) NORMAL, IDLE mode DV1CK = 0 DV1CK = 1 TC2CK Resolution Maximum Time Setting Resolution Maximum Time Setting 000 524.3 [ms] 9.54 [h] 1.05 [s] 19.1 [h] 001 512.0 [ μs] 33.6 [s] 1.02 [ms] 1.12 [min] 010 16.0 [ μs] 1.05 [s] 32.0 [ μs] 2.09 [s] 011 0.5 [ μs] 32.8 [ms] 1.0 [ μs] 65.5 [ms] 100 Reserved Reserved Reserved Reserved 101 Reserved Reserved Reserved Reserved Example: Sets the source clock fc/2 4 [Hz] and generates an interrupt event 25 ms (at fc = 16 MHz, DV1CK = 1) LDW (TC2DR), 61A8H ; Sets TC2DR (25 ms ÷ 24/fc = 61A8H) DI SET (EIRH).6 ; Enable INTTC2 interrupt EI LD (TC2CR), 00001100B ; Selects TC2 source clock LD (TC2CR), 00101100B ; Starts TC2 Figure 2.6.3 Timer Mode Timing Chart Timer trigger INTTC2 interrupt Source clock Up counter n 1 2 1 2 3 n 0 Match detect Counter clear n − 1 0 3 4 Count start |
|
링크 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 |