This function converts data received in Gray Code format into its equivalent decimal value.
|
Note that the data type of output parameter C must exactly match that of input parameter A (e.g., |

|
|
Parameter Name |
Purpose |
|
A |
Gray Code |
Input value in Gray Code to be converted. |
|
B |
Num of Bits |
Number of bits used in the Gray Code value. |
|
C |
Decimal Value |
The converted value in decimal. |