summaryrefslogtreecommitdiff
path: root/commandline/i2c-util.h
blob: f3c573888150ccbc30ea084d46aeef5f7d9847d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
void verify_sda_low();
void verify_sda_high();
void verify_scl_low();
void verify_scl_high();

void set_sda(char value);
void set_scl(char value);

unsigned char get_status();
unsigned char i2c_tx_byte(unsigned char byte);
unsigned char i2c_rx_byte(unsigned char send_ack);

void i2c_start();
void i2c_stop();
void i2c_init();
void i2c_deinit();