CMSIS_DSP
|
Methods
DAVE_APP_VERSION_t | CMSIS_DSP_GetAppVersion (void) |
Get CMSIS_DSP APP version. More... | |
Detailed Description
Methods
Function Documentation
DAVE_APP_VERSION_t CMSIS_DSP_GetAppVersion | ( | void | ) |
Get CMSIS_DSP APP version.
- Returns
- DAVE_APP_VERSION_t APP version details (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_STATUS_t init_status;
DAVE_APP_VERSION_t version;
// Invoke DAVE_Init()
init_status = DAVE_Init();
version = CMSIS_DSP_GetAppVersion();
if (version.major != 4U)
{
// Probably, not the right version.
}
// More code here
while(1)
{
}
return (0);
}
Definition at line 72 of file CMSIS_DSP.c.