| 전자부품 데이터시트 검색엔진 |
|
TMP93CS41 데이터시트(PDF) 107 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP93CS41 데이터시트(HTML) 107 Page - Toshiba Semiconductor |
|
107 / 248 page ![]() TMP93CS40/TMP93CS41 20004-02-10 93CS40-105 The operation of 8-bit timers will be described below: (1) 8-bit timer mode Two interval timers, designated “0” and “1”, can be used independently as 8-bit interval timers. All interval timers operate in the same manner, and thus only the operation of timer 1 will be explained below. 1. Generating interrupts in a fixed cycle To generate timer 1 interrupts at constant intervals using timer 1 (INTT1), first stop timer 1. Set the operation mode and input clock speed by setting TMOD, and the cycle time by setting TREG1. Then, enable interrupt INTT1 and start the counting of timer 1. Example: To generate timer 1 interrupt every 1 second at fs = 32 kHz, set each register in the following manner. Clock condition System clock: Low frequency (fs) Prescaler clock: Low frequency (fs) MSB LSB 7 6 5 4 3 2 1 0 TRUN ← − X − − − − 0 − Stop timer 1, and clear it to “0”. TMOD ← 0 0 X X 1 0 − − Set the 8-bit timer mode, and select φT16 (4 ms at fs = 32 kHz) as the input clock. TREG1 ← 1 1 1 1 1 0 1 0 Set the timer register 1, 1 s ÷ φT16 = 250 = FAH (H signifies hexadecimal). INTET10 ← 1 1 0 1 − − − − Enable INTT1, and set it to “Level 5”. TRUN ← 1 X − − − − 1 − Start timer 1 counting. X: Don’t care, −: No change Use Table 3.7.1 for selecting the input clock. Note: The input clock choices available for timer 0 and timer 1 differ from each other as follows. Timer 0: TI0 input, φT1, φT4, φT16 Timer 1: Match detect signal of timer 0, φT1, φT16, φT256 |
|
링크 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 |