Abstract:
A method of interrupt control for a control unit of an electronic system includes receiving digital data; determining a value of the digital data; and sending interrupt signals to a host by the following methods according to the value: when the control unit is in a second signal sending status and after the value of the digital data increases to be greater than a first threshold and remains greater than the first threshold for a first period of time, switching the control unit to a first signal sending status; and when the control unit is in the first signal sending status and after the value of the digital data decreases to be smaller than a second threshold and remains smaller than the second threshold for a second period of time, switching the control unit to the second signal sending status. The second threshold is smaller than the first threshold.
Abstract:
A method of interrupt control for a control unit of an electronic system includes receiving digital data; determining a value of the digital data; and sending interrupt signals to a host by the following methods according to the value: when the control unit is in a second signal sending status and after the value of the digital data increases to be greater than a first threshold and remains greater than the first threshold for a first period of time, switching the control unit to a first signal sending status; and when the control unit is in the first signal sending status and after the value of the digital data decreases to be smaller than a second threshold and remains smaller than the second threshold for a second period of time, switching the control unit to the second signal sending status. The second threshold is smaller than the first threshold.
Abstract:
A method of interrupt control for an electronic system, the electronic system including a host and an electronic device, includes receiving digital data generated by the electronic device; determining a value of the digital data and dividing a possible range of the value of the digital data into a plurality of regions; and sending an interrupt signal to the host when the value of the digital data changes from a first region among the plurality of regions to a second region among the plurality of regions and remains within the second region for a specific period of time.
Abstract:
A light sensing module used in a light sensing system incorporated with a processor includes at least one first light source, for emitting light; at least one first light sensor, for sensing the light emitted by the first light source, light reflected by an ambient object or ambient light, in order to obtain a sensing result; a control unit, for performing image detecting and object identification or ambient light sensing by computing according to the sensing result, and generating a computational result; and at least one interrupt driver, for sending an interrupt signal to the processor, in order to notify the processor to receive the computational result; wherein the processor disposes a type and a number of the first light sensor, and configures the control unit accordingly, so that the control unit performs computation on the sensing result to generate the computational result.