Zephyr Project API 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dac_emul.h
Go to the documentation of this file.
1
6
7/*
8 * Copyright (c) 2026 Vaisala Oyj
9 *
10 * SPDX-License-Identifier: Apache-2.0
11 */
12
13#ifndef ZEPHYR_INCLUDE_DRIVER_DAC_DAC_EMUL_H_
14#define ZEPHYR_INCLUDE_DRIVER_DAC_DAC_EMUL_H_
15
16#include <zephyr/device.h>
17#include <stdint.h>
18
34int dac_emul_value_get(const struct device *dev, uint8_t channel, uint32_t *value);
35
36#endif /* ZEPHYR_INCLUDE_DRIVER_DAC_DAC_EMUL_H_ */
int dac_emul_value_get(const struct device *dev, uint8_t channel, uint32_t *value)
Read a previously written value from the driver instance.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Runtime device structure (in ROM) per driver instance.
Definition device.h:513