485 bus ad-hoc network timing method
An ad-hoc network and bus technology, applied in bus network, time division multiplexing system, data exchange through path configuration, etc., can solve the problems of RTC error and error growth
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0029] figure 1 It is a flowchart of a 485 bus ad hoc network timing method of the present invention.
[0030] In this example, if figure 1 As shown, the present invention provides a kind of 485 bus ad hoc network timing method, comprising the following steps:
[0031] S1. Define and initialize the variables required by the timer
[0032] S1.1. Data structure initialization of the slave
[0033] Define the data structure struct timer of the slave timer queue and initialize it. The struct timer also includes the timing time time, the processing method fun after the timer time arrives, and the queue storing information about the members before and after the slave timer queue; according to the member information queue All slave timers are connected into a timer queue, so as to prepare for the link between the timer structures in the future; in this embodiment, the structural diagram of the timer queue seen from the perspective of the system, such as figure 2 shown;
[0034]...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


