Library for accessing data and error codes from Austrian Microsystems AS5045 12 bit rotary encoder