zephyr/tests/drivers
Nathan Olff 13deb0365c drivers: sensor: dht20: implement new driver
The DHT20 sensor is a temperature and humidity sensor that uses I2C to
communicate with a microcontroller. The DHT20 sensor is Aosong.

use standard crc

update description to add reference to AHT20 and AM2301B

clean code, use defines and bit manipulation

add dht20 to i2c test suite for build tests

update bit manipulation

use more defines instead of raw numbers

add bindings to allow aht20 or am2301b to be used in devicetree

in all 3 cases, the same dht20.c driver is compiled

Signed-off-by: Nathan Olff <nathan@kickmaker.net>
2024-03-27 14:29:54 +00:00
..
adc tests/driver/adc: Add ADC accuracy test 2024-03-26 10:38:01 -05:00
audio/dmic_api hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
bbram bbram: Add tests 2024-01-12 09:59:31 +01:00
build_all drivers: sensor: dht20: implement new driver 2024-03-27 14:29:54 +00:00
can tests/drivers/can/timing: Remove unused overlays 2024-03-22 12:42:31 +00:00
charger/sbs_charger hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
clock_control tests/drivers several: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
console twister: s/riscv(32|64)/riscv 2024-02-26 12:49:06 +01:00
console_switching tests: devmux: fix test identifiers 2024-02-11 10:58:23 -05:00
coredump/coredump_api tests: drivers: coredump: Enable code coverage 2023-12-07 12:14:32 -05:00
counter samples: hwmv2: rename espxx_luatos_core files 2024-03-25 18:40:34 -04:00
dac hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
disk hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
display/display_read_write tests: drivers: display: add read() and write() test 2024-01-19 15:13:25 +00:00
dma samples: hwmv2: rename espxx_luatos_core files 2024-03-25 18:40:34 -04:00
eeprom tests/drivers several: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
entropy/api samples|tests/* yamls: Replace all nrf5340bsim hwmv1 names w hwmv2 version 2024-03-21 15:23:56 +01:00
espi tests/drivers espi: Switch from native_posix to native_sim 2023-11-20 09:20:59 +01:00
ethernet/eth_ivshmem_queue drivers: ethernet: Fix eth_ivshmem shared memory mapping 2023-11-27 12:15:43 +00:00
flash samples: hwmv2: rename espxx_luatos_core files 2024-03-25 18:40:34 -04:00
flash_simulator tests/drivers/flash_simulator: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
fuel_gauge hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
gnss tests/drivers several: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
gpio samples: hwmv2: rename espxx_luatos_core files 2024-03-25 18:40:34 -04:00
hwinfo/api tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
i2c boards: nucleo_h563zi: Enable I2C 2024-03-12 16:07:20 +01:00
i2s treewide: fix board identifier in overlays for lpcxpresso55s69 2024-03-15 17:12:08 -04:00
input tests/drivers/input: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
interrupt_controller/intc_plic tests: drivers: intc_plic: Add tests for register index and offset 2023-11-20 09:20:13 +01:00
ipm tests: drivers: use POST_KERNEL level 2023-09-15 16:04:19 +02:00
kscan tests/drivers/kscan: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
led/led_api tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
mbox/mbox_data tests: drivers: mbox: mbox_data: Fix usage of board name checking 2024-03-22 10:06:04 +01:00
memc/ram tests: exclude renode from tests requiring unsimulated peripherals 2024-01-08 16:17:43 +00:00
mipi_dsi/api tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
mm hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
pinctrl tests/drivers several: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
pwm samples: hwmv2: rename espxx_luatos_core files 2024-03-25 18:40:34 -04:00
regulator tests/drivers several: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
retained_mem/api hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
rtc tests/drivers several: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
sdhc tests: drivers: sdhc: add test for card insertion interrupt 2023-11-06 19:01:08 -05:00
sensor hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
smbus posix: Fix name collision with __bswap 2024-01-10 18:13:44 +00:00
spi tests: spi: Add support for NXP MCXN947 2024-03-26 16:39:18 -04:00
syscon tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
timer samples|tests/* yamls: Replace all nrf5340bsim hwmv1 names w hwmv2 version 2024-03-21 15:23:56 +01:00
uart drivers: serial: uart_async_rx: Add return value to consume function 2024-03-26 10:46:02 -04:00
udc tests/drivers/udc: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
usb/bc12 tests: usb: move bc12 tests under tests/drivers/usb 2023-12-22 09:54:12 +01:00
virtualization/ivshmem/plain tests: remove pci bus compatible id dependency from overlay files 2024-01-31 15:03:06 +01:00
w1/w1_api hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
watchdog tests: drivers: watchdog: wdt_basic_api: support numaker_pfm_m467 2024-03-03 18:58:46 +01:00