Synopsis
CTL_STATUS_t ltc6904_set_mode(LTC6904_OSCILLATOR_t *self,
                              int mode);
Description

ltc6904_set_mode sets the oscillator output mode to mode, which is one of the constants described in the Constants section.

Return Value

ltc6904_set_mode returns a standard status code.

Thread Safety

ltc6904_set_mode is thread-safe if the transport member in self is thread-safe. Typically, for SPI and I2C transports, you ensure thread safety by associating a mutex with the bus used by the transport.