I used mk10dx256 mcu,"Vbat_powr_on" macro not found?

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

I used mk10dx256 mcu,"Vbat_powr_on" macro not found?

360 Views
jikehe
Contributor II

Content of ProcessorExpert.c:

LDD_TDeviceData *MyRTCPtr;  
void main(void) 
{
      if (Vbat_powr_on == TRUE)
      { 
          MyRTCPtr = RTC_Init((LDD_TUserData *)NULL, FALSE);       
     }
      else
      {
           MyRTCPtr = RTC_Init((LDD_TUserData *)NULL, TRUE);      
     }
 } 
Labels (1)
0 Kudos
1 Reply

250 Views
perlam_i_au
Senior Contributor I

0 Kudos