This is the quickstart guide for the SAM4L Inter-IC Sound Controller driver, with step-by-step instructions on how to configure and use the driver in a selection of use cases.
The use cases contain several code fragments. The code fragments in the steps for setup can be copied into a custom initialization function, while the steps for usage can be copied into, e.g., the main application function.
This use case will demonstrate how to initialize the IIS module to master in loopback mode.
Enable the following macro in the conf_clock.h:
Add the following code in the application C-file:
Add to, e.g., main loop in application C-file: