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
34
int
dac_emul_value_get
(
const
struct
device
*dev,
uint8_t
channel,
uint32_t
*value);
35
36
#endif
/* ZEPHYR_INCLUDE_DRIVER_DAC_DAC_EMUL_H_ */
dac_emul_value_get
int dac_emul_value_get(const struct device *dev, uint8_t channel, uint32_t *value)
Read a previously written value from the driver instance.
device.h
stdint.h
uint32_t
__UINT32_TYPE__ uint32_t
Definition
stdint.h:90
uint8_t
__UINT8_TYPE__ uint8_t
Definition
stdint.h:88
device
Runtime device structure (in ROM) per driver instance.
Definition
device.h:513
include
zephyr
drivers
dac
dac_emul.h
Generated on
for Zephyr Project API by
1.14.0