Home
last modified time | relevance | path

Searched refs:u16SlaveAddress (Results 1 – 2 of 2) sorted by relevance

/bsp/nv32f100x/lib/src/
A Di2c.c264 void I2C_SetSlaveAddress(I2C_Type *pI2Cx,uint16_t u16SlaveAddress) in I2C_SetSlaveAddress() argument
267 pI2Cx->A1 = (uint8_t)u16SlaveAddress; in I2C_SetSlaveAddress()
271 pI2Cx->C2 |= (uint8_t)(u16SlaveAddress>>8)&0x03; in I2C_SetSlaveAddress()
505 uint8_t I2C_MasterSendWait(I2C_Type *pI2Cx,uint16_t u16SlaveAddress,uint8_t *pWrBuff,uint32_t u32Le… in I2C_MasterSendWait() argument
514 u8ErrorStatus = I2C_WriteOneByte(pI2Cx,((uint8_t)u16SlaveAddress<<1) | I2C_WRITE); in I2C_MasterSendWait()
551 uint8_t I2C_MasterReadWait(I2C_Type *pI2Cx,uint16_t u16SlaveAddress,uint8_t *pRdBuff,uint32_t u32Le… in I2C_MasterReadWait() argument
560 u8ErrorStatus = I2C_WriteOneByte(pI2Cx,((uint8_t)u16SlaveAddress<<1) | I2C_READ); in I2C_MasterReadWait()
/bsp/nv32f100x/lib/inc/
A Di2c.h494 void I2C_SetSlaveAddress(I2C_Type *pI2Cx,uint16_t u16SlaveAddress);
512 uint8_t I2C_MasterSendWait(I2C_Type *pI2Cx,uint16_t u16SlaveAddress,uint8_t *pWrBuff,uint32_t u32Le…
513 uint8_t I2C_MasterReadWait(I2C_Type *pI2Cx,uint16_t u16SlaveAddress,uint8_t *pRdBuff,uint32_t u32Le…

Completed in 6 milliseconds