ファイル名i2c_bit.c
ソースファイル情報| 内容 | 行数 | 比率 | 
|---|---|---|
| コメント行数 | 143 | 36% | 
| 空行行数 | 68 | 17% | 
| 実行行数 | 182 | 47% | 
| 合計行数 | 393 | 100% | 
関数定義数| 内容 | 定義数 | 
|---|---|
| 関数数 | 15 | 
定義関数| No. | 型 | 名称 | 属性 | 説明 | 
|---|---|---|---|---|
1  | 
i2c_delay | static void | @file | |
2  | 
setscl | static void | Set state of I2C SCL line | |
3  | 
setsda | static void | Set state of I2C SDA line | |
4  | 
getsda | static int | Get state of I2C SDA line | |
5  | 
i2c_start | static void | Send an I2C start condition | |
6  | 
i2c_send_bit | static void | Send an I2C data bit | |
7  | 
i2c_recv_bit | static int | Receive an I2C data bit | |
8  | 
i2c_stop | static void | Send an I2C stop condition | |
9  | 
i2c_send_byte | static int | Send byte via I2C bus and check for acknowledgement | |
10  | 
i2c_recv_byte | static uint8_t | Receive byte via I2C bus | |
11  | 
i2c_select | static int | Select I2C device for reading or writing | |
12  | 
i2c_reset | static int | Reset I2C bus | |
13  | 
i2c_bit_read | static int | Read data from I2C device via bit-bashing interface | |
14  | 
i2c_bit_write | static int | Write data to I2C device via bit-bashing interface | |
15  | 
init_i2c_bit_basher | int | Initialise I2C bit-bashing interface | 
目次 | ファイル一覧 | 関数一覧 | ネームスペース一覧 | クラス一覧 | #define一覧 | マクロ一覧 | 外部変数一覧 | 構造体一覧 | 共用体一覧 | 列挙体一覧 | Const一覧 | 索引 | サイドメニュー