摘要:
A frequency calibration method for a programmable oscillator includes the steps of: counting an oversampling number of an oversampling signal and estimating an accumulated bit number of a USB data stream according to the oversampling signal; calculating a difference between the oversampling number and M times of the accumulated bit number when the accumulated bit number is larger than a predetermined value; and determining a frequency calibration step of the oversampling signal according to the difference. The present invention further provides a frequency calibration device for a programmable oscillator.
摘要:
There is provided a human interface device including a control chip and a plurality of control components. The control chip includes a voltage detection circuit coupled to the plurality of control components via a multiplexing pin and detects a voltage value on the multiplexing pin through the voltage detection circuit thereby identifying an operating state of the plurality of control components.
摘要:
The present invention discloses an optical sensor. The optical sensor comprises a sensor for sensing a reflected light, an image capture device coupling with the sensor for reading the reflected light and calculating an average light intensity of the reflected light, a controller coupling with the image capture device for outputting a control signal based on the average light intensity, a driver coupling with the controller for receiving the control signal to output a drive current based on the control signal, and a light source coupling with the driver for receiving the drive current to generate a light.
摘要:
An adjusting frequency device of built-in oscillator for USB interface and a method thereof are described. It is Auto detect the error of bit-rate between the USB host and the USB device, and produce tiny counting time for clocking the clock error between the USB host and the USB device by a delay lock loop. The clock error after quantification, digitization and operation outputting a quantitative code, then the oscillator adjusts the oscillation frequency according to the quantitative code. Whereby adjusting the oscillation frequency of the USB device and the frequency of the USB host to less than 1% clock error for ensuring the accuracy of data transmission.
摘要:
There is provided a human interface device including a control chip and a plurality of control components. The control chip includes a voltage detection circuit coupled to the plurality of control components via a multiplexing pin and detects a voltage value on the multiplexing pin through the voltage detection circuit thereby identifying an operating state of the plurality of control components.
摘要:
A frequency calibration method for a programmable oscillator includes the steps of: counting an oversampling number of an oversampling signal and estimating an accumulated bit number of a USB data stream according to the oversampling signal; calculating a difference between the oversampling number and M times of the accumulated bit number when the accumulated bit number is larger than or equal to a predetermined value; and determining a frequency calibration step of the oversampling signal according to the difference. The present invention further provides a frequency calibration device for a programmable oscillator.
摘要:
A method for automatically adjusting the clock frequency for a USB interface including the steps of: generating a clock signal with an adjustable frequency; receiving a USB differential signal; counting the clock signal based on each frame time of the USB differential signal and obtaining a count value; and adjusting the frequency of the clock signal when the count value exceeds a predetermined count range. The present invention further provides a clock frequency adjusting circuit.
摘要:
The invention relates to an apparatus for interfacing a peripheral device corresponding to the detection of interface, which comprises: a regulator, for regulating the working voltage of the circuit of the apparatus; an USB physical layer with switch controller, for detecting and determining whether the interface to which the peripheral device is connected is an USB interface and thus being capable of enabling an USB mode of the apparatus; at least four pull-high switch resistors; and an analog switch, capable issuing an analog signal while the apparatus is in the USB mode; wherein the PS2 mode of the apparatus is enabled while the USB physical layer with switch controller detects no USB interface being connected to the peripheral device, and the mode of the apparatus is controlled by the interaction of the on/off statuses of the four pull-high switch resistors.
摘要:
There is provided a mouse device including a control chip and at least one control component. The control chip includes a voltage detection circuit coupled to the at least one control component through at least one multiplexing pin and detects at least one voltage value on the at least one multiplexing pin using the voltage detection circuit thereby identifying an operating state of the at least one control component.
摘要:
A programmable memory device includes a plurality of one-time programmable (OTP) memory units, a search unit, a writing unit, and a reading unit. Each OTP memory unit is assigned an address. The search unit searches for the first writable OTP memory unit from the plurality of OTP memory units in a writing operation, or searches for the last programmed OTP memory unit from the plurality of OTP memory units in a reading operation. The writing unit writes data to be written and the bit length of the data to the first writable OTP memory unit. The reading unit sequentially reads data from the last programmed OTP memory unit.