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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

200 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

90 Views
perlam_i_au
Senior Contributor I

0 Kudos