/**---------------------------------------------------------------------------* ** Function Definitions **---------------------------------------------------------------------------*/ LOCAL void GC0309_WriteReg( uint8_t subaddr, uint8_t data ) { #ifndef _USE_DSP_I2C_ Sensor_WriteReg_8bits(subaddr, data); #else DSENSOR_IICWrite((uint16_t)subaddr, (uint16_t)data); #endif SENSOR_TRACE("SENSOR: GC0309_WriteReg reg/value(%x,%x) !!\n", subaddr, data); }
LOCAL void BF3905_WriteReg( uint8_t subaddr, uint8_t data ) { #ifndef _USE_DSP_I2C_ Sensor_WriteReg_8bits(subaddr, data); #else DSENSOR_IICWrite((uint16_t)subaddr, (uint16_t)data); #endif }