The AD594x is an SPI slave device that is controlled by a host microcontroller. The microcontroller supplied with the AD594x evaluation kits is the ADuCM3029. There are a number of example projects developed which run on the ADuCM3029 to control the AD594x. The source code is stored and version controlled on GitHub.com.
Both the AD5940 and AD5941 share the same code base. Note that AIN6 and GP3-GP7 are not available on the AD5941.
The repository has 3 main folders
Within the examples folder there is a folder called ad5940lib. This is a sub-module and is source controlled in a separate repository. It is important to do a recursive clone of the repository to ensure this sub-module is cloned also. If downloading the source code via a zip or tar file the ad5940lib will need to be downloaded separately and added the the ad5940lib folder in examples
To clone the AD5940 code repository