AnsweredAssumed Answered

Bit representation of MPC5777m

Question asked by naveen raja on Aug 27, 2015
Latest reply on Jan 22, 2017 by Ludwig Schreier

In the below prgm what does 0x22000000 signifies. I compared with MSCR but couldnt identify.

 

#include "main.h"

const uint32 swVersion=1;

 

uint8 main_func()

{

   

    uint8 mainFnxRetVal;

    uint8 i;

 

    mainFnxRetVal =0;

    i =0;

 

    SIUL2_MSCR204.reg =  0x22000000; //--> Pin GPIO

    SIUL2_MSCR203.reg =  0x22000000; //--> Pin GPIO

 

 

    /* Main While Loop */

    while(1){

    i=(uint8)(~i);

 

    SIUL2_GPDO204.reg = (uint8)i;

    waitTim0Ticks(1000000);

   

    SIUL2_GPDO203.reg = (uint8)i;

    waitTim0Ticks(1000000);

    }

   

    ManualTest_Function();

 

    /*The above code need to be coded as an jump statement*/

    return mainFnxRetVal;

}

Outcomes