CTL_STATUS_t sensecore_init(SENSECORE_DRIVER_t *self,
                            CTL_I2C_BUS_t *bus);

sensecore_init initializes the SenseCore on I2C bus bus with the on-board PCA9655 port expander configured to the default 8-bit I2C address AD=001.

Return Value

sensecore_init returns a standard status code.

Thread Safety

sensecore_init is thread-safe if a mutex is associated with the I2C bus bus.