请问怎样才能实现读写slave register上特定位的数据呢?
用void I2CMasterDataPut(uint32_t ui32Base, uint8_t ui8Data),最小也只能一次写一个字节(即8位)。 那用什么函数可以做到一次只写1位(bit)到指定slave register的指定位呢?
我的slave device 是一块 bq76920的传感器。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
请问怎样才能实现读写slave register上特定位的数据呢?
用void I2CMasterDataPut(uint32_t ui32Base, uint8_t ui8Data),最小也只能一次写一个字节(即8位)。 那用什么函数可以做到一次只写1位(bit)到指定slave register的指定位呢?
我的slave device 是一块 bq76920的传感器。