You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
The common ATCA driver is responsible for the following:
- Connect to CPSW driver and establish communication with the registers of the firmware common structure and are
- DaqMux 0 and 1 configurations
- JESD Top (AMC) 0 and 1
- Waveform engine
- Build information
- Temperature information
- timing cross bar
- Provide API class, once instantiated using static function, the user is permitted to control the registers and create and read streams
Instantiation
The static function if the parent class ATCACommonFw allows the instantiation of API class. It seems to return an instantiation of the child class as follows:
ATCACommonFw IATCACommonFw::create(Path p)
{
return IEntryAdapt::check_interface<ATCACommonFwAdapt, DevImpl>(p);
}
The code to instantiate the API is as follows
atcaCommon = IATCACommonFw::create(p_atcaCommon);