SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
Loading...
Searching...
No Matches
AXP202Core.cpp
Go to the documentation of this file.
1
30#include "../../../SensorBuildOpt.h"
31#if !SENSORLIB_EXCLUDE_PMIC_AXP202
32
33#include "AXP202Core.hpp"
34#include "AXP202Regs.hpp"
35
36bool AXP202Core::initImpl(uint8_t param)
37{
38 (void)param;
40 if (id < 0 || id != axp202_regs::CHIP_ID) {
41 return false;
42 }
43 return true;
44}
45
46#endif
@license MIT License
@license MIT License
int readReg(uint8_t reg) const
static constexpr uint8_t IC_TYPE
static constexpr uint8_t CHIP_ID