The ECU pins labelled Knock 1 and Knock 2 can be wired directly to a single or two terminal knock sensor.
Single terminal knock sensors earth through the engine block - these require single core shielded cable and are connected as shown:
Two terminal knock sensors earth through a wire back to the ECU - these require twin core shielded cable and are connected as shown: