summaryrefslogtreecommitdiff
path: root/src/camera/veye_i2c.h
blob: 1638976205c4d780b171b865a37de2e6fe0e25c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include <cstdint>

namespace veye {
namespace imx287m {
bool i2cRead(int fd, uint8_t i2c_addr, uint16_t reg, uint32_t &value);
bool i2cWrite(int fd, uint16_t reg, const uint32_t value);

bool test(uint32_t value);
} // namespace imx287m
} // namespace veye