| 数据搜索系统,热门电子元器件搜索 |
|
ST7261 数据表(PDF) 34 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7261 数据表(HTML) 34 Page - STMicroelectronics |
|
34 / 80 page ![]() ST7261 34/80 TIMEBASE UNIT (Cont’d) 9.2.5 Low Power Modes 9.2.6 Interrupts Note: The OVF interrupt event is connected to an interrupt vector (see Interrupts chapter). It generates an interrupt if the ITE bit is set in the TBUCSR register and the I-bit in the CC register is reset (RIM instruction). 9.2.7 Register Description TBU COUNTER VALUE REGISTER (TBUCV) Read/Write Reset Value: 0000 0000 (00h) Bit 7:0 = CV[7:0] Counter Value This register contains the 8-bit counter value which can be read and written anytime by soft- ware. It is continuously incremented by hardware if TCEN=1. TBU CONTROL/STATUS REGISTER (TBUCSR) Read/Write Reset Value: 0000 0000 (00h) Bit 7:6 = Reserved must be kept cleared. Bit 5 = OVF Overflow Flag This bit is set only by hardware, when the counter value rolls over from FFh to 00h. It is cleared by software reading the TBUCSR register. Writing to this bit does not change the bit value. 0: No overflow 1: Counter overflow Bit 4 = ITE Interrupt enabled. This bit is set and cleared by software. 0: Overflow interrupt disabled 1: Overflow interrupt enabled. An interrupt request is generated when OVF=1. Bit 3 = TCEN TBU Enable. This bit is set and cleared by software. 0: TBU counter is frozen and the prescaler is reset. 1: TBU counter and prescaler running. Bit 2:0 = PR[2:0] Prescaler Selection These bits are set and cleared by software to se- lect the prescaling factor. Mode Description WAIT No effect on TBU HALT TBU halted. Interrupt Event Event Flag Enable Control Bit Exit from Wait Exit from Halt Counter Over- flow Event OVF ITE Yes No 70 CV7 CV6 CV5 CV4 CV3 CV2 CV1 CV0 70 0 0 OVF ITE TCEN PR2 PR1 PR0 PR2 PR1 PR0 Prescaler Division Factor 000 2 001 4 011 8 100 16 101 32 101 64 110 128 111 256 |
|
链接网址 |
| 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 |