How can I use calibration page with CCP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I use calibration page with CCP

1,285 Views
HSS6651
Contributor I

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?

Labels (1)
0 Kudos
1 Reply

576 Views
VickLiui
Contributor I

forget CCP !

it's time for XCP

 

PAGE should be refer to EPAGE or RPAGE

0 Kudos