摘要:
A method to speed up the execution of repeatable commands and a microcontroller able to speed up the execution of repeatable commands are disclosed. When the microcontroller is to execute repeatable commands in a program, it temporarily stores repeatable commands to a storage unit. If the execution of the repeatable command loop continues, then the repeatable command loop is retrieved from the storage unit and executed at higher clock cycle frequency. At the start and end of the repeatable command loop are respectively defined by a starting point and an end point for determining whether the repeatable command loop should continue to execute. The microcontroller thereby speeds up the execution of the repeatable command and the performance thereof.
摘要:
An expandable decoding circuit includes a latch unit, a latch result selecting unit, and at least one decoding circuit. The latch unit latches raw data and outputs the latch values and the latch inverse-values of the raw data. The latch result selecting unit composes the latch values and the latch inverse-values according to the target decoding value of the decoding unit to generate a pre-decoding value. The latch result selecting unit outputs the pre-decoding value to the corresponding decoding unit. The decoding circuit determines whether a decoding signal is outputted or not according to the pre-decoding value. Thereby, when a new function needs to be added to the deciding circuit, the present invention does not change the original decoding circuit and implements the decoding unit for the new function.
摘要:
A method for resetting a micro controller is disclosed. The method uses an improved micro controller reset circuit designed for loading micro controller options regardless of whether a reset key is pressed after the power is turned on. In this method, the initial values of the micro controller are recovered so as to reduce power consumption and avoid conflict between signals.
摘要:
An apparatus for dynamic deployment of pin functions on a chip is disclosed in the present invention. The apparatus comprises: an input pin receiving unit, capable of integrating a plurality of pins and selecting pin functions according to a program; an output pin control unit, capable of issuing a control signal to the plurality of pins; and a signal control unit, controlled by the program and coupled to the input pin receiving unit and the output pin control unit so as to communicate therebetween; wherein the pin functions are designated by the user to select an output signal for each of the plurality of pins according to the program.
摘要:
A control device and a control method for increasing stability of micro controller system are described. The control device comprises a system error detection unit a memory unit, a data error detection unit, an error signal processing unit and a system resetting unit. When the system is error or the data transferred from the memory unit has error, the system error detection unit or the data error detection unit outputs an error signal to the error signal processing unit, and then the error signal processing unit corrects the error data or commands the system resetting unit to reset the system by the error signal for increasing the system stability.