This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SOCx struct definition for delfino

Other Parts Discussed in Thread: CONTROLSUITE

I open "F2837x_Adc.h" (delfino dual) from CONTROLSUITE and I have a question:

why define a specific structure for every SOCx register and NO one unique generic structure

such as "F28M35x_Adc.h" (Concerto) or "F2806x_Adc.h" (Piccolo C)?

  • Mauro,

    I'm not sure exactly which structure you're referring to, but I understand the question.  On F28x7x devices we modified the way we do create headers and documentation.  Previously, we did a generic structure as you mentioned.  The problem was it made the structure and descriptions hard to locate in the docs.  It also made any comments in the header file generic as well.  So as our devices grow larger we wanted our docs to become easier to search.  Now both are created from the same source and everything is guaranteed to match up in the docs as it is in the header files.  Searching for the name of the structure will take you right to the page you're looking for- no guessing where we put a 'x' instead of a number, etc.

    Kris