Patent ID: 8244381

Claim:
A microprocessor, comprising: a logic circuit for executing instructions of a software application, and a time system, said time system including: a clock input for receiving a clock signal; a clock counter connected to said clock input for counting a number of cycles of said clock signal; a clock comparator connected said clock counter and to a timer register in which a timer reference value can be stored, for comparing a number of cycles of said clock signal with said timer reference value and generating a timer signal based on said comparison; and a time output for outputting timer signal; a control input for receiving a digital value representing a measured value of a sensed parameter of a device; a control register in which a control reference value can be stored; a control comparator connected said control input, for comparing said digital value with said control reference value and generating a device control signal based on said comparison; and a control output for outputting said device control signal to an actuator arranged to control said parameter of said device; an analog to digital converter for generating a digital signal representing a value of a parameter of an analog signal, said parameter of said analog signal representing said sensed parameter, said analog-to-digital converter having an analog input for receiving said analog signal and a digital output for outputting said digital value, said digital output being connected to said control input.