What does the code p 1345 mean for a Chevy 1997 pickup?

Code P1345 is for the crankshaft or camshaft position sensor.