STM32 HAL/LL寄存器讀寫I2C(硬件I2C)

HAL庫底層中有超時返回函數,在這裏精簡掉,此函數驗證與STM32L0,其餘板子未驗證,ulTimeout 參數無用,可直接寫0 寫寄存器web uint8_t BSP_IIC_WriteReg(uint8_t ucChannel, uint16_t DevAddress, uint16_t Reg, uint8_t *pData, uint16_t usLen, uint32_t ulTimeo
相關文章
相關標籤/搜索