Your task is to define a struct AdcSample that contains an anonymous (noname) union.
AdcSample
timestamp
raw
lo
hi
Example Input:
1000 1010
Output:
ts=1000 lo=0xF2 hi=0x3
Explanation:
Test Cases
Test Results
Input
1000 0x03F2
Expected Output