How do you approach a project if there's no library of a device available?

Study the data sheet for the device carefully, and write code that configures it to do what you want.

The end result will probably be more compact and efficient than any provided library; you will understand it, and have learned a lot in the process.