摘要 |
A dual-mode communication apparatus and a method thereof are provided. The dual-mode communication apparatus comprises a microprocessor, a first tick generator, a second tick generator, and an operation system tick module that comprises a tick converter and an OS tick generator. The microprocessor receives an OS clock tick to execute a real-time program task. The first tick generator receives a first predetermined number of first clocks to generate a first clock tick when the first clock is active. The second tick generator receives a second predetermined number of second clocks to generate a second clock tick when the second clock is active. The tick converter, coupled to the first and second tick generators, converts the second clock tick such that the converted second clock tick has a converted clock tick rate substantially identical to the clock tick rate of the first clock tick. The OS tick generator, coupled to the tick converter, receives the first clock tick and the converted second clock tick to generate the OS clock tick for use in the microprocessor.
|