High-precision timing method of 51 singlechip microcomputer
A single-chip, high-precision technology, applied in the field of control, can solve problems such as timing errors, increase system complexity and cost, and achieve broad application prospects, improved time performance, and easy implementation
- 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), shield the timer 0 of the 51 single-chip microcomputer.
[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 of timer 0 to obtain the value Count1 of the register in timer 0, read the lower 8-bit and upper 8-bit values of 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