| Electronic Components Datasheet Search |
|
ST7SCR Datasheet(PDF) 43 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7SCR Datasheet(HTML) 43 Page - STMicroelectronics |
|
43 / 102 page ![]() ST7SCR 43/102 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 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 010 8 011 16 100 32 101 64 110 128 111 256 1 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |