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.
28 lines
442 B
28 lines
442 B
#ifndef ANAOUT_H
|
|
#define ANAOUT_H
|
|
|
|
#include "r_cg_macrodriver.h"
|
|
#include "r_cg_port.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void ANAOUT_Set(uint8_t ch, uint8_t on);
|
|
|
|
/** 전체 채널 OFF */
|
|
void ANAOUT_AllOff(void);
|
|
|
|
/** 채널 선택(= 전체 OFF 후 해당 채널 ON) */
|
|
void ANAOUT_Select(uint8_t ch);
|
|
|
|
void anaout_pin(uint8_t ch, uint8_t on);
|
|
|
|
/** 전체 OFF wrapper */
|
|
void anaout_all_off(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* ANAOUT_H */
|
|
|