#include <zephyr/types.h>
#include <zephyr/device.h>
#include <hal/nrf_gpio.h>
Go to the source code of this file.
|
| int | pulse_meas_configure (const struct device *dev, const struct pulse_meas_config *cfg) |
| | Configure pulse width measurement.
|
| |
| int | pulse_meas_start (const struct device *dev, struct k_mem_slab *slab) |
| | Start pulse width measurement.
|
| |
| int | pulse_meas_stop (const struct device *dev, bool immediate) |
| | Stop pulse width measurement.
|
| |
| int | pulse_meas_get (const struct device *dev, uint32_t **data) |
| | Read a completed measurement series.
|
| |
| void | pulse_meas_put (const struct device *dev, uint32_t *data) |
| | Release a measurement buffer.
|
| |
| uint32_t | pulse_meas_pending (const struct device *dev) |
| | Get the number of completed series waiting to be read.
|
| |