An electronic control for determining knocking in an internal combustion engine
having an intake injector for injecting fuel into an air intake port and an in-cylinder
injector for directly injecting fuel into a combustion chamber. Knocking is determined
based on an output signal from a knock sensor during a knock determination period.
The electronic control unit alters the knock determination period in accordance
with the ratio of the amount of fuel injected by the two injectors.