| Electronic Components Datasheet Search |
|
HC705V8GRS/D Datasheet(PDF) 90 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
HC705V8GRS/D Datasheet(HTML) 90 Page - NXP Semiconductors |
|
90 / 172 page ![]() SECTION 11: 16-BIT TIMER Page 79 MC68HC705V8 Specification Rev. 2.1 11.4.6 OLVL - Output Level Value of output level is clocked into output level register by the next successful output compare and will appear on the TCMP pin 1 - High output 0 - Low output 11.5 TIMER STATUS REGISTER (TSR) - $13 The TSR is a read-only register containing three status flag bits. Figure 11-4: Timer Status Register - $13 11.5.1 ICF - Input Capture Flag 1 - Flag set when selected polarity edge is sensed by input capture edge detector 0 - Flag cleared when TSR and input capture low register ($15) are accessed Reset clears this bit. 11.5.2 OCF - Output Compare Flag 1 - Flag set when output compare register contents match the free-running counter contents 0 - Flag cleared when TSR and output compare low register ($17) are accessed Reset clears this bit. 11.5.3 TOF - Timer Overflow Flag 1 - Flag set when free-running counter transition from $FFFF to $0000 occurs 0 - Flag cleared when TSR and counter low register ($19) are accessed Reset clears this bit. 11.5.4 Bits 0-4 - Not used Always read zero. Accessing the timer status register satisfies the first condition required to clear status bits. The remaining step is to access the register corresponding to the status bit. A problem can occur when using the timer overflow function and reading the free-running counter at random times to measure an elapsed time. Without incorporating the proper precautions into software, the timer overflow flag could unintentionally be cleared if: 1. The timer status register is read or written when TOF is set, and 2. The MSB of the free-running counter is read but not for the purpose of servicing the flag. ICF OCF TOF 00000 RESET $13 00 0 0 0 0 00 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com |
|
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 |