Hello,
I’m not sure if this is the right place to post this but I believe I have found a couple of bugs in the CSLR part of pspdrivers_01_20_00_07:
1. In the 'cslr_psc_OMAPL137.h' file, the definition of the 'CSL_Psc1Peripheral' enum does not agree with table 8.2 in "OMAP-L137 Applications Processor System Reference Guide" (SPRUG84b, page 85). The definitions of the lower entries in the enum are one lower. From experimentation, I think the document is correct and the driver code is wrong.
2. The file 'cslr_syscfg_OMAPL137.h' does not contain the closing bracket of the extern "C" statement that is conditional on the __cplusplus label. This causes errors if the file is used in a C++ project. The following code is required before the final '#endif':
#ifdef __cplusplus
}
#endif
Cheers,
John.