摘要 |
PURPOSE: A method for transmitting data between modules is provided to improve a performance of a system by controlling priority when transmitting data between modules. CONSTITUTION: If data are generated, the data are stored in a queue. The current number of the data stored in the queue is compared with a queue size. If the number of data is smaller than the queue size and the data are not real time data, a queue count value is increased and the process is terminated. If the number of data stored in the queue is larger than the queue size and the data are real time data, an interrupt is executed and the data are transmitted. After transmitting data, new queue size is decided, a queue counter is initialized and the process is terminated.
|