Dawn Framework 1.0
Universal data acquisition framework for embedded systems
pulsecount.hxx
1// dawn/include/dawn/porting/pulsecount.hxx
2//
3// SPDX-License-Identifier: Apache-2.0
4//
5
6#pragma once
7
8#include <cstdint>
9
10#include "dawn/porting/nuttx/pulsecount.hxx"
11
12namespace dawn
13{
14namespace porting
15{
22{
23 uint32_t high_ns;
24 uint32_t low_ns;
25 uint32_t count;
26};
27
28} // namespace porting
29} // namespace dawn
30
38int pulsecount_open(const char *path);
39
46void pulsecount_close(int fd);
47
54void pulsecount_init(int fd);
55
63int pulsecount_start(int fd);
64
72int pulsecount_stop(int fd);
73
82int pulsecount_write(int fd, const dawn::porting::pulsecount_write_s *pulsecount);
Out-of-tree user-extension hooks for Dawn.
Definition bindable.hxx:13
Pulse-count output settings.