gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:IIC_IICSE from tkernel_2/driver/tef_em1d/clk/src/em1d512_iic.c (0.00 seconds)
tkernel_2
driver/tef_em1d/clk/src/em1d512_iic.c - 8.8KB - 338 lines
118:         /* wait for acquiring master status */
119:         er = wait_state(IIC_IICSE(ch), IICSE_MSTS, IICSE_MSTS);
120:         if (er < E_OK) {
133: /* error check */ 134: sts = in_w(IIC_IICSE(ch)); 135: if ((sts & IICSE_ALD) || !(sts & IICSE_ACKD)) {
154: /* wait for sending stop */ 155: er = wait_state(IIC_IICSE(ch), IICSE_SPD, IICSE_SPD); 156: if (er < E_OK) {
177: /* checking NAK */ 178: sts = in_w(IIC_IICSE(ch)); 179: if (!(sts & IICSE_ACKD)) {