RX Family
ADC Module Using Firmware Integration Technology
R01AN1666EJ0220 Rev. 2.20
Page 70 of 74
Dec 01, 2016
3.7
R_ADC_GetVersion()
This function returns the driver version number at runtime.
Format
uint32_t R_ADC_GetVersion(void)
Parameters
None
Return Values
Version number.
Properties
Prototyped in file “r_s12ad_rx_if.h”
Description
Returns the version of this module. The version number is encoded such that the top 2 bytes are the major
version number and the bottom 2 bytes are the minor version number.
Reentrant
Yes
Example
uint32_t version;
:
version = R_ADC_GetVersion();
Special Notes:
This function is in-lined using the “#pragma inline” directive