Synopsis
CTL_STATUS_t sensecore_set_rx_signal(SENSECORE_DRIVER_t *self,
                                     int site,
                                     int state);
Description

sensecore_set_rx_signal sets the Rx signal for the SenseCore self on site site to state. If state is zero, the Rx signal is pulled low and if state is non-zero the Rx signal is pulled high.

Return Value

sensecore_set_rx_signal returns a standard status code.

Thread Safety

sensecore_set_rx_signal 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.