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.

c6748-CHKBIT key word-Reg

Other Parts Discussed in Thread: OMAPL138, TMS320C6748

There is a sample c code for testing the LEDs using dip switches which are present on OMAPL138 kit in which I exposed to a term called CHKBIT. Can any one please explain about it.

(in code it is written in this way: " if (!CHKBIT(last_dip_state, bitval_u32[i])) " ). Can any one please provide some explanation regarding the code description

Thanks in advance.

  • Hi Nishanth,

    Where does this sample code comes from? I mean to say, whether it is part of the SDK / DVSDK / starterware package? Which module? Which source file ?

    Please provide the package name as well as it's version details Which helps to have a closer look to your problem.

    Which board you are using? Either OMAPL138 LCDK / EVM ?

     

    Regards,

    Shankari

     

  • Hi Shankari,

    It is in "TMS320C6748_GEL_BSL_Files_v2.3"  file provided to us along with the kit. The kit is ZOOM PD Logic. And its path is TMS320C6748_GEL_BSL_Files_v2.3\tests\experimenter\led_dip.

    The code is running perfectly, But we would like to know about the keyword "CHKBIT".

    The board is OMAP L138 EVM.