| 数据搜索系统,热门电子元器件搜索 |
|
T410 数据表(PDF) 53 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
T410 数据表(HTML) 53 Page - STMicroelectronics |
|
53 / 84 page ![]() ST52T410/ST52T420/E420 53/84 Figure 10.2 Timer 0 External START/STOP Mode NOTE: The external clock signal applied on the T0CLK pin must have a frequency at least two times smaller than the internal master clock. The prescaler output can be selected by setting the PRESCx bit of REG_CONF6, REG_CONF9 and REG_CONF11 registers (see Table 10.2, Table 10.5 and Table 10.7). REMARK: The first period of the TxOUT signal is one clock cycle shorter. TxRES resets the content of the 8-bit counter x to zero. It is generated by the TIRSTx and TxMSK bits of REG_CONF5, REG_CONF7, REG_CONF8 and REG_CONF10 registers (see Table 10.1, Table 10.3, Table 10.4 and Table 10.6). TxSTRT signal starts/stops Timer x counting only if the peripherals are configured in Timer mode. This signal is forced by setting the correspondent TISTRx bit of REG_CONF5, REG_CONF8 and REG_CONF10 registers (see Table 10.1, Table 10.4 and Table 10.6). TxMSK bits mask the reset of each timer and can be utilized to synchronize a simultaneous start of the timers by means (for example), of the following procedure, which starts three timers: 1) TIRST0 = TIRST1 = TIRST2 = 0, 2) TISTR0 = TISTR1 = TISTR2 = 0, 3) T0MSK = T1MSK = T2MSK = 1, 4) TIRST0 = TIRST1 = TIRST2 = 1, 5) TISTR0 = TISTR1 = TISTR2 = 1, 6) T0MSK = T1MSK = T2MSK = 0, When TxMSK is 1 the TIMER x is reset. REMARK: to use the simultaneus start, the prescalers of the Timers must have the same value. Simultaneus start cannot be used in Timer mode Figure 10.3 TIMEROUT Signal Type TIMER 0 START/STOP can be provided externally on the T0STRT pin. In this case, the T0STRT signal allows the user to work in two different modes by setting the TESTR configuration bit of REG_CONF5 register (see Figure 10.2) (Input capture): Level Edge start stop start start stop start 01 1 0 4 4 3 2 Reset Clock Counted Value Timer Output Type 1 Type 2 Prescout*Counter |
|
链接网址 |
| 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 |