Dawn Framework 1.0
Universal data acquisition framework for embedded systems
pot.hxx
1// dawn/include/dawn/porting/pot.hxx
2//
3// SPDX-License-Identifier: Apache-2.0
4//
5
6#pragma once
7
8#include <cstdint>
9
10#include "dawn/porting/nuttx/pot.hxx"
11
12namespace dawn
13{
14namespace porting
15{
22{
23 uint8_t wiper; // wiper index
24 uint32_t val; // wiper value
25};
26
27} // namespace porting
28
29} // namespace dawn
30
38int pot_open(const char *path);
39
46void pot_close(int fd);
47
56int pot_get_nwipers(int fd, uint8_t *nwipers);
57
66int pot_set_wiper(int fd, dawn::porting::pot_rw_s *pot);
67
76int pot_get_wiper(int fd, dawn::porting::pot_rw_s *pot);
Out-of-tree user-extension hooks for Dawn.
Definition bindable.hxx:13
POT wiper access data.
Definition pot.hxx:22