The CKP sensor detects engine speed and determines ignition timing and timing for fuel injection of each cylinder.