|
satnogs-rotator-firmware
|
Class that functions for interacting with I2C 1-of-2 multiplexer. More...
#include <i2c_mux.h>
Public Member Functions | |
| i2c_mux (uint8_t id, uint8_t ch0, uint8_t ch1) | |
| void | init () |
| Initialize the I2C bus. | |
| void | set_channel (uint8_t ch) |
| Change the channel. | |
Private Attributes | |
| uint8_t | _id |
| uint8_t | _ch0 |
| uint8_t | _ch1 |
Class that functions for interacting with I2C 1-of-2 multiplexer.
| id | I2C ID in HEX |
| ch0 | Channel 0 in HEX |
| ch1 | Channel 1 in HEX |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 68 of file i2c_mux.h.
Referenced by i2c_mux(), and set_channel().
|
private |
Definition at line 68 of file i2c_mux.h.
Referenced by i2c_mux(), and set_channel().
|
private |
Definition at line 68 of file i2c_mux.h.
Referenced by i2c_mux(), and set_channel().