There is at least one library out there for that purpose, and there's even a tutorial on Analog's website (first hit).