Device Driver Examples

I'm looking for Device Driver examples for some BF537's interfaces like TWI/SPI etc. The problem is they are badly documented, this adi_twi.pdf is only i found. Maybe there are some working examples using interface drivers somewhere?