gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:in_w from mtkernel_3/device/i2c/sysdepend/tx03_m367/i2c_m367.c (0.00 seconds)
mtkernel_3
device/i2c/sysdepend/tx03_m367/i2c_m367.c - 10.5KB - 305 lines
90: 
91:         sbisr = in_w(ba[unit] + I2C_SBIxSR);
92:         if ( (sbisr & I2C_SBIxSR_AL) != 0 ) {
103: } 104: in_w(ba[unit] + I2C_SBIxDBR); 105: p_cb->state = I2C_STS_RECV;
112: } 113: *(p_cb->rbuf++) = (UB)(in_w(ba[unit] + I2C_SBIxDBR) & 0xff); 114: if(--(p_cb->rdat_num) <= 0) {
161: while ( p_cb->ioerr == E_OK ) { 162: if ( (in_w(ba[unit] + I2C_SBIxSR) & mask) == value ) break; 163: if ( --t == 0 ) p_cb->ioerr = E_TMOUT;
248: out_w(ba[unit] + I2C_SBIxCR2, I2C_SBIxCR2_SBIM_I2C | I2C_SBIxCR2_SWRST(1)); 249: while ( (in_w(ba[unit] + I2C_SBIxCR1) & I2C_SBIxCR1_SWRMON) == 0 ); 250: