Dawn Framework
1.0
Universal data acquisition framework for embedded systems
dawn
include
dawn
porting
dac.hxx
1
// dawn/include/dawn/porting/dac.hxx
2
//
3
// SPDX-License-Identifier: Apache-2.0
4
//
5
6
#pragma once
7
8
#include <cstdint>
9
10
#include "dawn/porting/nuttx/dac.hxx"
11
12
namespace
dawn
13
{
14
namespace
porting
15
{
21
struct
dac_write_s
22
{
23
int32_t data;
// channel not used
24
};
25
26
}
// namespace porting
27
28
}
// namespace dawn
29
37
int
dac_open(
const
char
*path);
38
45
void
dac_close(
int
fd);
46
53
void
dac_init(
int
fd);
54
63
int
dac_write(
int
fd,
dawn::porting::dac_write_s
*dac);
dawn
Out-of-tree user-extension hooks for Dawn.
Definition
bindable.hxx:13
dawn::porting::dac_write_s
DAC write data.
Definition
dac.hxx:22
Generated by
1.9.8