zephyr/drivers
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
..
adc drivers: adc: mcux_adc12: fix DT_INST_2_* usage 2020-01-08 17:32:13 -06:00
audio kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
bluetooth kconfig: Remove some redundant single-item menus and ifs 2019-12-21 10:26:54 -05:00
can include: Fix use of <misc/FOO.h> -> <sys/FOO.h> 2019-12-10 08:39:37 -05:00
clock_control stm32: clock_control: fix APB2 peripheral clock control on stm32g0 2019-12-18 22:06:39 +01:00
console usb: api: Add user device status callback 2019-12-19 13:08:55 +01:00
counter drivers: counter: mcux_gpt: Add count-up flag 2019-12-18 07:30:36 -06:00
crypto drivers/crypto: Add macro to simplify access to ctx->drv_sessn_state 2019-12-18 22:10:29 +01:00
display drivers: display_st7789v: Name pixel format choice 2020-01-06 14:25:00 -05:00
dma global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
eeprom kconfig: Remove '# hidden' comments on promptless symbols 2020-01-03 11:38:40 +01:00
entropy drivers: entropy: Add driver for LiteX PRBS module 2020-01-06 13:33:25 -05:00
espi drivers: espi: xec: Enable OOB channel by default 2019-12-11 13:22:38 -08:00
ethernet drivers: eth: e1000: Include sys/types.h for ssize_t 2020-01-08 15:42:16 +02:00
flash drivers: flash: Build STM32 flash support only when selected 2020-01-06 08:51:18 -05:00
gpio include/drivers: Move 2 specific intc headers into public location 2019-12-18 21:49:46 +01:00
hwinfo drivers: hwinfo: Use HAL for reading deviceID. 2019-12-17 09:11:37 +01:00
i2c drivers: i2c: Add driver for LiteX I2C controller 2020-01-07 20:55:43 +01:00
i2s drivers: i2s: fix block size for DMA interface 2019-11-06 14:14:39 +01:00
ieee802154 drivers: ieee802154: rf2xx: Add GPIO dependency 2020-01-07 13:51:46 +02:00
interrupt_controller interrupt_controller: plic: use shared symbol for DT_* 2020-01-06 13:28:21 -05:00
ipm various: Cleanup COND_CODE_1 usage or replace with IF_ENABLED() 2019-12-18 08:14:52 -05:00
kscan global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
led kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
led_strip drivers: clock_control: nrf: Switch to single clock device 2019-12-17 14:38:19 +01:00
lora drivers: lora: Add SX1276 LoRa Modem support 2019-12-21 12:20:24 +01:00
modem drivers: modem: Document UART device name 2019-12-02 15:34:45 +01:00
net include: Fix use of <crc.h> -> <sys/crc.h> 2019-12-10 08:39:37 -05:00
neural_net kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
pcie global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
pinmux boards: stm32g0316-disco: add support for the ST STM32G0316-DISCO board 2019-12-18 22:06:39 +01:00
ps2 drivers: ps2: Compile out PS/2 in terms of an eSPI peripheral 2019-11-20 15:02:08 -05:00
ptp_clock kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
pwm drivers: pwm: Add driver for LiteX PWM peripherial 2020-01-08 11:04:36 +01:00
sensor drivers: sensor: mcp9808: fix various problems and improve test 2020-01-08 20:33:51 -05:00
serial drivers: nrf: Catch for nRF53 serial interference 2020-01-07 17:14:25 +01:00
spi Revert "spi: stm32: Enable sending 16bits at a time in 8bit mode if possible" 2020-01-07 19:08:36 +01:00
timer timer: sam0_rtc_timer: Add support for SAME54 2019-12-21 11:15:52 -05:00
usb drivers: clock_control: nrf: Switch to single clock device 2019-12-17 14:38:19 +01:00
video video: mt9m114: Fix integer handling issues 2019-11-15 10:11:05 +01:00
watchdog drivers: watchdog: fix system call handlers build 2020-01-06 21:36:54 -08:00
wifi drivers: wifi: Fix the use of net_pkt_write() in eswifi driver 2019-12-18 21:58:21 +01:00
CMakeLists.txt drivers: Add basic LoRa driver support 2019-12-21 12:20:24 +01:00
Kconfig drivers: Add basic LoRa driver support 2019-12-21 12:20:24 +01:00