commit | c3701f51d7af70d0a4508151fc872b9a91a77ae5 | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Mon Mar 02 11:06:55 2020 -0800 |
committer | Johan Hedberg <johan.hedberg@gmail.com> | Fri Mar 06 19:29:09 2020 +0200 |
tree | dc7ecc69cbcd2178e73fa116bee50dc1f3e6e249 | |
parent | 7f2996b0618be3f3bf5f534e2a05916f4300f378 [diff] |
adc: mchp_xec: right justify ADC output data under 10-bit res This enables the ADC output data to be shifted right when using 10-bit resolution. Or else, data would be left justified as if it's doing 12-bit ADC with the right 2 bits filled with zeroes. Fixes #23202 Signed-off-by: Daniel Leung <daniel.leung@intel.com>