M12-04P/app/user/hwCtrl.h

21 lines
285 B
C
Raw Permalink Normal View History

2024-01-09 15:50:14 +08:00
#ifndef __HWCTRL_H__
#define __HWCTRL_H__
#include "r_cg_macrodriver.h"
#define LED_ON 0
#define LED_OFF 1
#define ACT_NOACT 0
#define ACT_XQ 1
#define ACT_XH 2
2024-01-10 16:48:16 +08:00
2024-01-09 15:50:14 +08:00
uint8_t GetIOState(uint8_t sigid);
void MOTOR1Ctrl(uint8_t act);
uint16_t getAdval(uint8_t ch);
#endif