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.

ADG1MODECR, "OVR G1 RAM IGN" (Bit 4) in HALCoGen

Other Parts Discussed in Thread: HALCOGEN

Hello,

I am trying to find the place in HALCoGen where I will be able to set the bit named "OVR G1 RAM IGN" in the register ADG1MODECR. I can't seem to locate it for some reason.

Any help would be appreciated.

  • Arvind,

    I don't see it defined.  HalCoGen doesnt' create full bit level header files for every bit. 

    You can see that some bits are just treated as hex constants:

        /** - Setup group 1 conversion mode
     *     - Setup data format
        *     - Enable/Disable channel id in conversion result
        *     - Enable/Disable continuous conversion
     */
        adcREG2->GxMODECR[1U] = ADC_12_BIT
                              | 0x00000000U
                              | 0x00000000U
                              | 0x00000000U;

     

    So this is one bit that if you want to use you'll need to add manually...