CPC G06F 1/08 (2013.01) [H03K 21/08 (2013.01)] | 22 Claims |
1. A microcontroller, comprising:
an internal timing hardware circuit having an output and configured to generate an internal clock signal;
terminal contact configured to receive an external clock signal;
a clock changing hardware circuit having a first input, a second input, and an output, the first input of the clock changing hardware circuit electrically connected to the terminal contact; and
a timer hardware circuit having a first input, a second input, and an output, the first input of the timer hardware circuit electrically connected to the terminal contact, the second input of the timer hardware circuit independent of the first input of the timer hardware circuit and electrically connected to the output of the internal timing hardware circuit, and the output of the timer hardware circuit electrically connected to the second input of the clock changing hardware circuit;
wherein the timer hardware circuit, after the microcontroller has been switched on, is configured to:
determine a frequency of the external clock signal based on the internal clock signal, and
determine at least one parameter based on which the clock changing device is configured to change the external clock signal into a useful clock signal with a predefined frequency.
|