void DriverRtiInit(void)
{
CPMUCLKS_PRE =1; // RTI Enable During Pseudo Stop Bit
CPMUCLKS_RTIOSCSEL =1; // RTI clock source is OSCCLK.
CPMURTI = (RTR_6_4 << 4) | (RTR_3_0);
CPMURTI_RTDEC = RTI_RTDEC;
CPMUINT_RTIE = RTI_IE;
// CPMUCOP_RSBCK = 0;
}
那个 CPMUCLKS_RTIOSCSEL 我设置 为1,可是我仿真 到这时 CPMUCLKS_RTIOSCSEL 他还是 为0 ? |