#include <stdint.h>
#include <zephyr/device.h>
Go to the source code of this file.
◆ dac161s997_error_callback_t
Callback to invoke when an error is triggered.
- Parameters
-
dev | Pointer to the device |
status | NULL if read was not possible otherwise pointer to status. |
◆ dac161s997_set_error_callback()
Set callback to invoke when an error is triggered.
The callback runs in a work queue context and the device is locked while it runs.
- Parameters
-
dev | Pointer to the device |
cb | Callback to invoke when an error is triggered |
- Returns
- 0 on success and -errno otherwise.