Solved
I2C EEPROM 24C08 read write uint16_t and uint32_t?
how to read write i2c eeprom using HAL_I2C_Mem_Read and HAL_I2C_Mem_Write function.
how to convert uint16_t to uint8_t and uint32_t to uint8_t
how to read write i2c eeprom using HAL_I2C_Mem_Read and HAL_I2C_Mem_Write function.
how to convert uint16_t to uint8_t and uint32_t to uint8_t
HAL_I2C_Mem_Read( &hi2c1,IIC_ReadAddr, 10, I2C_MEMADD_SIZE_8BIT, process_read_buf, 2, 1000 );//read uint16_t command
HAL_I2C_Mem_Read( &hi2c1,IIC_ReadAddr, 10, I2C_MEMADD_SIZE_8BIT, process_read_buf, 4, 1000 );//read uint32_t command
So simple
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.