I2CDevice

.init(port: uint16_t, device_addr: uint16_t): HAL_Status

Initialize the I2C device connected to port at address device_addr.

The function will return HAL_OK if initialize is success, otherwise HAL_ERROR.

Last updated

Was this helpful?