Hi,
There are some low-level examples and Documentation in the Linux kernel Documentation for the IIO framework. The is also the libiio which is a bit more high-level and abstracts away the low-level details of the IIO framework. The libiio has a very comprehensive documentation and a few examples on how to use it.
- Lars