A NETMF library for the Digital Compass solution HMC6352