gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:in_w from mtkernel_3/device/i2c/sysdepend/stm32l4/i2c_stm32l4.c (0.00 seconds)
mtkernel_3
device/i2c/sysdepend/stm32l4/i2c_stm32l4.c - 11.2KB - 330 lines
102: 
103:         i2c_st = in_w(I2C_ISR(unit));
104:         if( i2c_st & I2C_ISR_NACKF) {
125: } else if( i2c_st & I2C_ISR_RXNE) { /* RX interrupt */ 126: *(p_cb->rbuf++) = (UB)in_w(I2C_RXDR(unit)); 127: if(--(p_cb->rdat_num) <= 0) { /* final data ? */
215: case I2C_STS_STOP: 216: while(in_w(I2C_ISR(unit)) & I2C_ISR_BUSY) { 217: tk_dly_tsk(1);
308: UW ccipr; 309: ccipr = in_w(RCC_CCIPR) & ~(RCC_CCIPR_I2CSEL << (unit<<1)); 310: out_w(RCC_CCIPR, ccipr |(DEVCNF_I2CSEL << (12 + (unit<<1))));