| Datenblatt-Suchmaschine für elektronische Bauteile |
|
ST7SCR Datenblatt(PDF) 45 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7SCR Datenblatt(HTML) 45 Page - STMicroelectronics |
|
45 / 101 page ![]() ST7SCR 45/101 TIMEBASE UNIT (Cont’d) 12.2.5 Low Power Modes 12.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). 12.2.7 Register Description TBU COUNTER VALUE REGISTER (TBUCV) Read/Write Reset Value: 0000 0000 (00h) Bits 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) Bits [7:6] = Reserved. Forced by hardware to 0. 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. Bits 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 CV7CV6 CV5CV4 CV3CV2 CV1 CV0 70 0 0 OVF ITE TCEN PR2 PR1 PR0 PR2 PR1 PR0 Prescaler Division Factor 00 0 2 00 1 4 01 0 8 01 1 16 10 0 32 10 1 64 1 1 0 128 1 1 1 256 |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller 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 |