CTL_STATUS_t sensecore_init_ex(SENSECORE_DRIVER_t *self,
                               CTL_I2C_BUS_t *bus,
                               int addr,
                               CTL_STATUS_t bus_init *self,
                               CTL_I2C_BUS_t *bus,
                               int addr);

sensecore_init_ex initializes the SenseCore on I2C bus bus using the port expander configured to the 8-bit I2C address addr which is initialized by bus_init.

Return Value

sensecore_init_ex returns a standard status code.

Thread Safety

sensecore_init_ex is thread-safe if the transport member in self is thread-safe. This requires that a mutex is associated with the I2C bus provided when initializing self.