# Version

The version driver provides a function which can be used to check the version number of the driverlib.lib that is in use.

group `version_api`

  Defines

  `VERSION_NUMBER` 4001000U

    Version number to be returned by Version_getLibVersion()

  Functions

  uint32_t `Version_getLibVersion`(void)

    Returns the driverlib version number

    This function can be used to check the version number of the driverlib.lib that is in use. The version number will take the format x.xx.xx.xx, so for example, if the function returns 2100200, the driverlib version being used is 2.10.02.00.

    Return

      Returns an integer value indicating the driverlib version.

The code for this module is contained in driverlib/version.c, with driverlib/version.h containing the API declarations for use by applications.