1.1.4.7.2 DRV_WM8904_VersionGet Function

uint32_t DRV_WM8904_VersionGet( void )

Summary

This function returns the version of WM8904 driver

Description

The version number returned from the DRV_WM8904_VersionGet function is an unsigned integer in the following decimal format. * 10000 + * 100 + Where the numbers are represented in decimal and the meaning is the same as above. Note that there is no numerical representation of release type.

Preconditions

None.

Returns

returns the version of WM8904 driver.

Remarks

None.

Example 1

For version "0.03a", return: 0 * 10000 + 3 * 100 + 0 

For version "1.00", return: 1 * 100000 + 0 * 100 + 0

Example 2

uint32_t WM8904version; WM8904version = DRV_WM8904_VersionGet();

C

uint32_t DRV_WM8904_VersionGet();