CPU_CTRL_XMC1: Methods

CPU CTRL XMC1

CPU_CTRL_XMC1
Methods
DAVE_APP_VERSION_t CPU_CTRL_XMC1_GetAppVersion (void)
 Get CPU_CTRL_XMC1 APP version.

Methods


Function Documentation

DAVE_APP_VERSION_t CPU_CTRL_XMC1_GetAppVersion ( void  )

Get CPU_CTRL_XMC1 APP version.

Returns:
DAVE_APP_VERSION_t APP version information (major, minor and patch number)
Description:
The function can be used to check application software compatibility with a specific version of the APP.

Example Usage:

 #include <DAVE.h>

 int main(void)
 {
   DAVE_APP_VERSION_t version;
   init_status = DAVE_Init();

   version = CPU_CTRL_XMC1_GetAppVersion();
   if (version.major != 4U)
   {
   }
   while(1) {

   }
   return (0);
 }

Definition at line 74 of file CPU_CTRL_XMC1.c.