The CMP sensor (Camshaft Position Sensor) is connected to the camshaft and it works hydraulically, with the aim of changing the angle of the camshaft in relation to the position of the CKP (Crankshaft Position Sensor).
The PCM (Powertrain Control Module) sends a signal to the solenoid of the Camshaft Position Sensor (CMP), which is modulated at 12 volts wide. The solenoid controls the amount of motor oil flow to an actuator of the CMP (Camshaft Position Sensor), this actuator can in turn change the angle of the camshaft to a maximum of 25 degrees.
When the voltage in the circuit drops below the set limit, for a specific amount of time (something that varies depending on the brand, engine and model), you get the DTC code P0010. This code refers to bank 1 that corresponds to the side of the engine that has cylinder 1.