Park Jungki

How can I use calibration page with CCP

Discussion created by Park Jungki on May 24, 2010
Latest reply on Jun 17, 2010 by yi liu

CCP example program of Vector support "SET_CAL_PAGE" commanf of CCP for C16X with DPP register.

void ccpSetCalPage( CCP_DWORD a )
  ccpCalPage = (CCP_BYTE)a;

    if (ccpCalPage==1) { /* RAM */
      #pragma asm
        mov DPP1,#11h
      #pragma endasm
    } else {             /* ROM */
      #pragma asm
        mov DPP1,#05h
      #pragma endasm



But it's not support for HC12.

How can I make function like C16X with HC12 ot XGATE?