8 changed files with 109 additions and 7 deletions
-
3chip/api/zi_api.hpp
-
15chip/api/zi_pwm_ctrl.hpp
-
2components/subcanmodule/zcancmder_subboard_initer.cpp
-
5components/subcanmodule/zcancmder_subboard_initer.hpp
-
60components/zcancmder/zcan_board_module.cpp
-
13components/zcancmder/zcan_board_module.hpp
-
16components/zprotocol_helper/micro_computer_module_device_script_cmder_paser.cpp
-
2components/zprotocols/zcancmder_v2
@ -1,4 +1,5 @@ |
|||||
#pragma once
|
#pragma once
|
||||
#include "zi_adc.hpp"
|
#include "zi_adc.hpp"
|
||||
#include "sdk\components\zprotocols\zcancmder_v2\api\errorcode.hpp"
|
#include "sdk\components\zprotocols\zcancmder_v2\api\errorcode.hpp"
|
||||
#include "zi_temperature.hpp"
|
|
||||
|
#include "zi_temperature.hpp"
|
||||
|
#include "zi_pwm_ctrl.hpp"
|
@ -0,0 +1,15 @@ |
|||||
|
#pragma once
|
||||
|
#include <stdint.h>
|
||||
|
|
||||
|
namespace iflytop { |
||||
|
using namespace std; |
||||
|
class ZIPWMCtrl { |
||||
|
public: |
||||
|
virtual ~ZIPWMCtrl(){}; |
||||
|
|
||||
|
virtual int32_t set_pwm_duty(int32_t duty) = 0; |
||||
|
virtual int32_t set_pwm_freq(int32_t freq) = 0; |
||||
|
virtual int32_t get_pwm_duty() = 0; |
||||
|
virtual int32_t get_pwm_freq() = 0; |
||||
|
}; |
||||
|
} // namespace iflytop
|
@ -1 +1 @@ |
|||||
Subproject commit d06f09d8b3724156381c36d0cc5d0d9a0b098cc4 |
|
||||
|
Subproject commit a84acec79b74da740fa1a5a3cf17f45c2b3303a9 |
Write
Preview
Loading…
Cancel
Save
Reference in new issue