zephyr/samples
Peter A. Bigot f05cbb421d drivers: sensor: mcp9808: fix various problems and improve test
Correct handling of device encoded temperature values, which combine a
12-bit 2s complement signed value with a separate sign bit.  Rework
conversion between device and sensor temperature representations to
support negative temperatures in both domains.

Use a much simpler trigger configuration where the alert is driven by
comparator output, rather than as an interrupt that requires a pair of
I2C transactions to read and clear the flag.

Refactor the trigger infrastructure to use the setup/handle/process
idiom, which reduces duplicated code and to correctly detect alerts
present when the triggers are set.

Completely replace the sample with something that demonstrates
updating upper and lower threshold values to track moving
temperatures.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2020-01-08 20:33:51 -05:00
..
application_development arch: arm: Move ARM code to AArch32 sub-directory 2019-12-20 11:40:59 -05:00
basic samples: rgb_led: add support for PWM flags 2020-01-07 18:13:18 +01:00
bluetooth drivers: pwm: add support for inverted PWM signals 2020-01-07 18:13:18 +01:00
boards drivers: pwm: add support for inverted PWM signals 2020-01-07 18:13:18 +01:00
cpp_synchronization
display samples: display: Build for st7789v_waveshare_240x240 2020-01-06 14:25:00 -05:00
drivers samples: drivers: Add LoRa receiver sample 2019-12-21 12:20:24 +01:00
gui boards/shields: ssd1306: Factorize and move to conditional Kconfig 2020-01-02 17:02:41 -05:00
hello_world
mpu
net kconfig: Remove redundant $ZEPHYR_BASE from 'source's 2020-01-06 09:48:53 -05:00
nfc/nfc_hello
philosophers
portability
posix
sensor drivers: sensor: mcp9808: fix various problems and improve test 2020-01-08 20:33:51 -05:00
shields
smp
subsys kconfig: Remove redundant $ZEPHYR_BASE from 'source's 2020-01-06 09:48:53 -05:00
synchronization
testing/integration
userspace
video
classic.rst
index.rst