You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#include <stddef.h>
#include <stdio.h>
#include "base/config_service.hpp"
#include "base/device_info.hpp"
#include "spi.h"
#include "usart.h"
#include "zsdk/modbus/modbus_block_host.hpp"
#include "zsdk/pxx_pressure_sensor_driver/pxx_pressure_sensor_bus.hpp"
#include "zsdk/tmc/ztmc5130.hpp"
#include "zsdk/zadc.hpp"
#include "zsdk/zsdk.hpp"
void hardware_init();
namespace iflytop { class Hardware { public: static Hardware& ins() { static Hardware ins; return ins; }
void init();
void mini_pwm_blower_ctrl(int32_t val); int32_t mini_pwm_blower_read_fbcount();
void heater_ctrl(int32_t val); void heater_ctrl_safe_valve(int32_t val); int32_t heater_read_electric_current(); int32_t heater_read_temperature_data();
bool h2o2_sensor_is_online(); int32_t h2o2_sensor_read_calibration_date(int32_t* year, int32_t* month, int32_t* day); int32_t h2o2_sensor_read_sub_ic_errorcode(); int32_t h2o2_sensor_read_sub_ic_reg(int32_t add, uint16_t* val, size_t len); int32_t h2o2_sensor_data(report_h2o2_data_t* sensorData); };
} // namespace iflytop
|