zephyr/drivers/adc
Simon Hein d0921018fc drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks
MISRA C:2012 Rule 14.4 (The controlling expression of an if statement
and the controlling expression of an iteration-statement shall have
essentially Boolean type.)

Use `do { ... } while (false)' instead of `do { ... } while (0)'.
Use comparisons with zero instead of implicitly testing integers.

The commit is a subset of the original auditable-branch commit:
5d02614e34a86b549c7707d3d9f0984bc3a5f22a

Signed-off-by: Simon Hein <SHein@baumer.com>
2022-07-26 15:30:24 -04:00
..
adc_ads1x1x.c adc: ads1x1x: run clangformat 2022-07-04 16:28:43 +02:00
adc_ads1119.c everywhere: Fix legacy include paths 2022-07-18 16:16:47 +00:00
adc_b91.c drivers: adc: introduce new Telink B91 ADC driver 2022-07-08 11:07:18 +02:00
adc_cc32xx.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
adc_common.c drivers: adc_common: Add missing gain values in adc_gain_invert() 2022-05-12 09:22:39 +02:00
adc_context.h drivers: adc: Add ADS1119 driver 2022-07-12 12:29:45 +02:00
adc_emul.c drivers: remove redundant <zephyr/zephyr.h> includes 2022-06-15 09:13:11 +02:00
adc_gd32.c everywhere: Fix legacy include paths 2022-07-18 16:16:47 +00:00
adc_handlers.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
adc_ite_it8xxx2.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
adc_lmp90xxx.c drivers: remove redundant <zephyr/zephyr.h> includes 2022-06-15 09:13:11 +02:00
adc_mchp_xec.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
adc_mchp_xec_v2.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
adc_mcp320x.c drivers: remove redundant <zephyr/zephyr.h> includes 2022-06-15 09:13:11 +02:00
adc_mcux_12b1msps_sar.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
adc_mcux_adc12.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
adc_mcux_adc16.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
adc_mcux_lpadc.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
adc_npcx.c drivers: add mising braces to single line if statements 2022-07-06 11:00:45 -04:00
adc_nrfx_adc.c dts: Include ADC DT binding headers from nRF SoC dtsi files 2022-05-13 12:46:06 -07:00
adc_nrfx_saadc.c dts: Include ADC DT binding headers from nRF SoC dtsi files 2022-05-13 12:46:06 -07:00
adc_sam0.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
adc_sam_afec.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
adc_shell.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
adc_stm32.c drivers: adc: stm32: wait for internal channels stabilization 2022-07-25 15:17:35 +02:00
adc_test.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
CMakeLists.txt drivers: adc: Add ADS1119 driver 2022-07-12 12:29:45 +02:00
Kconfig drivers: adc: Add ADS1119 driver 2022-07-12 12:29:45 +02:00
Kconfig.adc_emul drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00
Kconfig.ads1x1x drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00
Kconfig.ads1119 drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00
Kconfig.b91 drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00
Kconfig.cc32xx drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00
Kconfig.gd32 drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00
Kconfig.it8xxx2 drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00
Kconfig.lmp90xxx drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00
Kconfig.mcp320x drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00
Kconfig.mcux drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00
Kconfig.npcx drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00
Kconfig.nrfx drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00
Kconfig.sam0 drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00
Kconfig.sam_afec drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00
Kconfig.stm32 drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00
Kconfig.test drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00
Kconfig.xec drivers: adc: Update drivers to use devicetree Kconfig symbol 2022-07-22 07:51:24 -05:00