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.
26 lines
404 B
26 lines
404 B
#ifndef CHECK_PIN_H
|
|
#define CHECK_PIN_H
|
|
|
|
#include "r_cg_macrodriver.h"
|
|
#include "r_cg_port.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void check_pin_init(void);
|
|
|
|
/**
|
|
* 채널(ch=1~20)의 CHECK 핀을 on/off
|
|
* 예) ch=2 -> CHECK_2(P155) 제어
|
|
*/
|
|
void check_pin(uint8_t ch, uint8_t on);
|
|
|
|
/** (옵션) CHECK_1~CHECK_20 전체 OFF */
|
|
void check_all_off(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* CHECK_PIN_H */
|
|
|