Update AS5040.h

Revised headers to match cpp.