| 전자부품 데이터시트 검색엔진 |
|
TMP88CS38FG 데이터시트(PDF) 77 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP88CS38FG 데이터시트(HTML) 77 Page - Toshiba Semiconductor |
|
77 / 226 page ![]() TMP88CS38/CM38A/CP38A 2007-09-12 88CS38-77 Figure 2.7.3 Timer Mode Timing Chart (2) Event counter mode In this mode, the TC3 pin input pulses are used for counting up Either the rising on falling edge can be selected with TC3ES (Bit0 in PMPXCR). The contents of TC3DRA are compared with the contents of the up counter. If a match is found, an INTTC3 interrupt is generated and the counter is cleared. Match detect is executed on the falling edge of the TC3 pin. A match can not be detected, and INTTC3 is not generated when the pulse is still in a falling state. The maximum applied frequency is shown in Table 2.7.2. Two or more machine cycles are required for both the high and low levels of the pulse width. The current contents of up counter are loaded into TC3DRB by setting ACAP (Bit6 in TC3CR) to “1” (Auto-capture function). The contents of up counter can be easily confirmed by executing the read instruction (RD instruction) of TC3DRB. Loading the contents of up counter is not synchronized with counting up. The contents of over flow (FFH) and 00H can not be loaded correctly. It is necessary to consider the count cycle. Example: Generates an interrupt every 0.5 s, inputting 50 Hz pulses to the TC3 pin. LD (TC3CR), 00001110B ; Sets TC3 mode and source clock LD (TC3DRA), 19H ; 0.5 s ÷ 1/50 = 25 = 19H LD (TC3CR), 00011100B ; Starts TC3 Table 2.7.2 Source Clock (External clock) for Timer/Counter Minimum Applied Frequency [Hz] NORMAL, IDLE Mode “H” Width 2 2/fc “L” Width 2 2/fc n m m − 1 m m − 2 Up counter Timer register B ACAP1 Capture m + 1m + 2 (b) Auto capture Timer register B INTTC3 interrupt n − 1n n + 1 Capture Count start 1 Source clock Up counter Source clock 2 3 4 1 2 3 4 0 ? n n − 1n 0 5 6 7 Match detect Counter clear (a) Timer mode ? m − 1 m + 1m + 2n − 1 n + 1 |
|
링크 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 |