| 数据搜索系统,热门电子元器件搜索 |
|
ST52T301 数据表(PDF) 33 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST52T301 数据表(HTML) 33 Page - STMicroelectronics |
|
33 / 100 page ![]() 7.2 Timer Interrupt It is possible to enable the Timer Interrupt by software control.The Timer can be programmed to generate an Interrupt request until the end of the count or when there is an external TSTART signal. The Timer can generate programmable Interrupts in to 4 different modes: Interrupt mode 1: Interrupt on counter Stop. Interrupt mode 2: Interrupt on Rising Edge of TIMEROUT. Interrupt mode 3: Interrupt on Falling Edge of TIMEROUT. Interrupt mode 4: Interrupt on both edges of TIMEROUT. In order to program the interrupt mode INTSL, INTF and INTR bits of the REG_CONF7 must be set following the indications shown in the Table7.1.The Timer interrupt can be used to exit the MCU from the WAIT mode. 7.3 Timer Configuration The Timer configuration needs to set 4 registers of the Configuration Register Bench. CONF_REG4: TMLSB contains the less significative bits of the Prescaler starting value. CONF_REG5: TMMSB contains the more significative bits of the Prescaler starting value Timer Output Type 1 Type 2 Prescout*Counter Figure 7.4. TIMEROUT Signal Type INTERRUPT MODE INTSL INTF INTR 11 X X 2 010 3 001 4 011 Table 7.1. Timer Interrupt Setting D7 D6 D5 D4 D3 D2 D1 D0 REG_CONF4 Timer TMLSB - Prescaler Init Value Less Significative Bits D7 D6 D5 D4 D3 D2 D1 D0 REG_CONF5 Timer TMMSB - Prescaler Init Value More Significative Bits Figure 7.5. Timer Configuration Register 4 and 5 33/99 ST52T301/E301 |
|
链接网址 |
| 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 |