#ifndef __TEA5767_MAIN_H_
#define __TEA5767_MAIN_H_
#include "main.h"

//¶Ë¿ÚÅäÖÃ
extern bool TEA5767ReadSDA ( void );

//°´¼üÅäÖÃ
#define TEA5767_KEY11      (ScanKey()==11?1:0)
#define TEA5767_KEY12      (ScanKey()==12?1:0)

extern unsigned long frequency;

extern void search ( bool mode );
extern void radio_read ( void );
extern void radio_write ( void );


extern void iic_start ( void );
extern void iic_stop ( void );
extern void iic_ack ( void );
extern bool iic_testack ( void );
extern void iic_write8bit ( unsigned char input );
extern unsigned char iic_read8bit ( void );

#endif

