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
346 B
26 lines
346 B
#ifndef HASH_H
|
|
#define HASH_H
|
|
|
|
#include "r_cg_macrodriver.h"
|
|
#include "r_cg_port.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void hash_init(void);
|
|
|
|
/*
|
|
채널(ch=1~20)의 #핀을 on/off
|
|
예) ch=2 -> #2(P152) 제어
|
|
*/
|
|
void hash_pin(uint8_t ch, uint8_t on);
|
|
|
|
/* (옵션) #1~#20 전체 OFF */
|
|
void hash_all_off(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|