summaryrefslogtreecommitdiff
path: root/chip/g/i2cp.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/g/i2cp.h')
-rw-r--r--chip/g/i2cp.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/chip/g/i2cp.h b/chip/g/i2cp.h
index 5ab7286fc7..f7c5d283dd 100644
--- a/chip/g/i2cp.h
+++ b/chip/g/i2cp.h
@@ -19,13 +19,13 @@ typedef void (*wr_complete_handler_f)(void *i2cp_data, size_t i2cp_data_size);
int i2cp_register_write_complete_handler(wr_complete_handler_f wc_handler);
/*
- * Post a byte for the master to read. Blend the byte into the appropriate
- * 4byte register of the master read register file.
+ * Post a byte for the controller to read. Blend the byte into the appropriate
+ * 4byte register of the controller read register file.
*/
void i2cp_post_read_data(uint8_t byte_to_read);
/*
- * Configure the pinmux registers required to connect the I2CP interface. This
+ * Configure the pinmux registers required to connect the I2CP driver. This
* function is board specific and so it exists in the associated board.c file.
*/
void i2cp_set_pinmux(void);
@@ -41,7 +41,7 @@ void i2cp_set_pinmux(void);
size_t i2cp_zero_read_fifo_buffer_depth(void);
/*
- * Write buffer of data into the I2CS HW read fifo. The function will operate a
+ * Write buffer of data into the I2CP HW read fifo. The function will operate a
* byte at a time until the fifo write pointer is word aligned. Then it will
* consume all remaining words of input data. There is another stage to handle
* any excess bytes. The efficiency benefits relative the byte at a time
@@ -51,10 +51,10 @@ size_t i2cp_zero_read_fifo_buffer_depth(void);
void i2cp_post_read_fill_fifo(uint8_t *buffer, size_t len);
/*
- * Provide upper layers with information with the I2CP interface
+ * Provide upper layers with information with the I2CP driver
* status/statistics. The only piece of information currently provided is the
- * counter of "hosed" i2c interface occurences, where i2c clocking stopped
- * while slave was transmitting a zero.
+ * counter of "hosed" i2c driver occurences, where i2c clocking stopped
+ * while periph was transmitting a zero.
*/
struct i2cp_status {
uint16_t read_recovery_count;