Inventors:
Michael Roberts - Vancouver WA
Raed Sabha - Vancouver WA
Assignee:
Sharp Microelectronics Technology, Inc. - Camas WA
Sharp Kabushiki Kaisha - Osaka
International Classification:
G06F 104
Abstract:
A system and method has been provided to selectively deliver a plurality of trigger signals to a counter/timer embedded in a microprocessor. The method provides the step of selecting a signal, from either internal or external sources, to trigger the counter/timer. If an internal source is selected, the method provides the step of selecting either a synchronous or non-synchronous signal source to trigger the counter/timer. Regardless of the source chosen, the method includes the step of generating a signal output from the selected source, and the further step of delivering the trigger signal on a dedicated connection. The method of the present invention also includes the step of counting clock cycles in response to the arrival of the trigger signal to the counter/timer. An apparatus to selectively deliver a trigger signal to a counter/timer embedded in a microprocessor from a plurality of signal sources is also provided. The apparatus includes an internal on-chip signal path extending between an internal PWM and the counter/timer, whereby the PWM can serve as the source of the trigger signal.