| データシートサーチシステム |
|
TMP86FS28DFG データシート(PDF) 113 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP86FS28DFG データシート(HTML) 113 Page - Toshiba Semiconductor |
|
113 / 272 page ![]() Page 101 TMP86FS28DFG 8.2.3.2 External Trigger Timer Mode In the external trigger timer mode, the up-counter starts counting by the input pulse triggering of the TC11 pin, and counts up at the edge of the internal clock. For the trigger edge used to start counting, either the rising or falling edge is defined in TC11CR<TC11S>. • When TC11CR<METT11> is set to “1” (trigger start and stop) When a match between the up-counter and the TC11DRA value is detected after the timer starts, the up-counter is cleared and halted and an INTTC11 interrupt request is generated. If the edge opposite to trigger edge is detected before detecting a match between the up- counter and the TC11DRA, the up-counter is cleared and halted without generating an interrupt request. Therefore, this mode can be used to detect exceeding the specified pulse by interrupt. After being halted, the up-counter restarts counting when the trigger edge is detected. • When TC11CR<METT11> is set to “0” (trigger start) When a match between the up-counter and the TC11DRA value is detected after the timer starts, the up-counter is cleared and halted and an INTTC11 interrupt request is generated. The edge opposite to the trigger edge has no effect in count up. The trigger edge for the next counting is ignored if detecting it before detecting a match between the up-counter and the TC11DRA. Since the TC11 pin input has the noise rejection, pulses of 4/fc [s] or less are rejected as noise. A pulse width of 12/fc [s] or more is required to ensure edge detection. The rejection circuit is turned off in the SLOW1/2 or SLEEP1/2 mode, but a pulse width of one machine cycle or more is required. Example 1 :Generating an interrupt 1 ms after the rising edge of the input pulse to the TC11 pin (fc =16 MHz) LDW (TC11DRA), 007DH ; 1ms ÷ 27/fc = 7DH DI ; IMF = “0” SET (EIRL). 2 ; Enables INTTC11 interrupt EI ; IMF = “1” LD (TC11CR), 00000100B ; Selects the source clock and mode LD (TC11CR), 00100100B ; Starts TC11 external trigger, METT11 = 0 Example 2 :Generating an interrupt when the low-level pulse with 4 ms or more width is input to the TC11 pin (fc =16 MHz) LDW (TC11DRA), 01F4H ; 4 ms ÷ 27/fc = 1F4H DI ; IMF = “0” SET (EIRL). 2 ; Enables INTTC11 interrupt EI ; IMF = “1” LD (TC11CR), 00000100B ; Selects the source clock and mode LD (TC11CR), 01110100B ; Starts TC11 external trigger, METT11 = 0 |
|
リンク 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 |