Skip to content
Commit 48fc80fa authored by Wojciech Sipak's avatar Wojciech Sipak Committed by Carles Cufí
Browse files

drivers: adc: iadc_gecko: select proper bits from sample



Only 12-bit resolution is currently available in the driver,
and each of the 16-bit samples store the actual data
aligned to the left.
A sample should be shifted 4 bits to the right to allow
proper interpretation.

Signed-off-by: default avatarWojciech Sipak <wsipak@antmicro.com>
parent d42b2e0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment