A high-precision timing method for 51 single-chip microcomputer
A single-chip, high-precision technology, applied in the control field, can solve the problems of increasing system complexity, cost, timing error, etc., and achieve the effects of time performance improvement, broad application prospects, and simple methods
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] Below in conjunction with accompanying drawing and specific embodiment the present invention is described in further detail:
[0021] With 16M main frequency, the timer 0 of 51 single-chip microcomputers (80C32) of 12 frequency divisions is the timer used for timing, and it is made as 16 timers, and the concrete timing method of the present invention is as follows:
[0022] Step (1), shielding timer 0 of 51 single-chip microcomputers.
[0023] You can choose to directly shield the timer 0 of the 51 single-chip microcomputer, or if it has a higher priority than the timer 0, there is no need to shield the timer 0. The purpose of doing this is to not be interrupted by timer 0 during the whole timing process, and cause the accumulation of uncertain interrupt times.
[0024] Step (2), read the lower 8-bit and upper 8-bit values in timer 0 to obtain the value Count1 of the register in timer 0, and read the lower 8-bit and upper 8-bit values in timer 0 for the second time...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com