A library for 14Bit magnetic sensor from AMS.
This chip uses a contactless magnet to decode the absolute position (angle) of a rotor and has an internal resolution of 14 bit, it uses SPI interface (mode1) and library it's full SPI transaction compatible.
http://ams.com/eng/Products/Position-Sensors/Magnetic-Rotary-Position-Sensors/AS5047D
The actual resolution it's 2048 steps for a 360 degrees and it's not sensible to external magnetic field.