求大神解释i2c_write( NVP6114+i, 0xFF, 0x01);括号里的参数是什么意思
externvoidvdec_write_table(unsignedcharchip_addr,unsignedcharaddr,unsignedchar*tbl_pt...
extern void vdec_write_table(unsigned char chip_addr, unsigned char addr, unsigned char *tbl_ptr, unsigned char tbl_cnt);
void vdec_coaxial_select_ch(unsigned int ch)
{
int i = 0;
#ifdef ADG708BRUZ
i2c_write( NVP6114+i, 0xFF, 0x01);
i2c_write( NVP6114+i, 0x4C, ch);
i2c_write( NVP6114+i, 0xFF, 0x04);
i2c_write( NVP6114+i, 0xF7, 0x03);
#else //74LV125
i2c_write( NVP6114+i, 0xFF, 0x04);
if(ch%4 < 2)
i2c_write( NVP6114+i, 0xB7, ch);
else
i2c_write( NVP6114+i, 0xF7, ch);
#endif
} 展开
void vdec_coaxial_select_ch(unsigned int ch)
{
int i = 0;
#ifdef ADG708BRUZ
i2c_write( NVP6114+i, 0xFF, 0x01);
i2c_write( NVP6114+i, 0x4C, ch);
i2c_write( NVP6114+i, 0xFF, 0x04);
i2c_write( NVP6114+i, 0xF7, 0x03);
#else //74LV125
i2c_write( NVP6114+i, 0xFF, 0x04);
if(ch%4 < 2)
i2c_write( NVP6114+i, 0xB7, ch);
else
i2c_write( NVP6114+i, 0xF7, ch);
#endif
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询