extern const char gpio_hxd_clk_pin;//hejiang
extern const char gpio_hxd_sda_pin;//hejiang
extern const char gpio_hxd_busy_pin;//hejiang
extern const char gpio_led_mainbl_en_pin;//hejiang
extern const char gpio_sccb_serial_clk_pin;//hejiang
extern void mmi_remote_check_learn_status(void);
//设置三个IO===================================================================================================
/*******************************************
SDA_PIN
*******************************************/
void Set_SDA_IO(void)
{
GPIO_ModeSetup(REMOTE_DIN_PIN, 0x00);
void SetSDAInput(void)
{
GPIO_InitIO(0,REMOTE_DIN_PIN);
}
void SetSDAOutput(void)
{
GPIO_InitIO(1,REMOTE_DIN_PIN);
}
void SetSDAHigh(void)
{
GPIO_WriteIO(1,REMOTE_DIN_PIN);
}
void SetSDALow(void)
{
GPIO_WriteIO(0,REMOTE_DIN_PIN);
}
UINT8 GetACKStatus(void)
{
return GPIO_ReadIO(REMOTE_DIN_PIN);
}
UINT8 GetDINStatus(void)
{
return GPIO_ReadIO(REMOTE_DIN_PIN);