Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
i2c_log.h File Reference
I2C logging functionality. More...
Go to the source code of this file.
Functions | |
| void | i2c_log_start () |
| Function to Start logging all I2C activities. | |
| void | i2c_log_end () |
| Function to Stop logging all I2C activities. | |
| void | i2c_log_outputReadByteMsg (uint8_t value, uint32_t regOffset) |
| Function to output an I2C read transaction for a single byte to log file. | |
| void | i2c_log_outputReadWordMsg (uint16_t value, uint32_t regOffset) |
| Function to output an I2C read transaction for a single word to log file. | |
| void | i2c_log_outputReadIntMsg (uint32_t value, uint32_t regOffset) |
| Function to output an I2C read transaction for a single int to log file. | |
| void | i2c_log_outputReadMsg (uint8_t *data, uint32_t regOffset, int32_t size) |
| Function to output an I2C read transaction for an array of bytes to log file. | |
| void | i2c_log_outputWriteByteMsg (uint8_t data, uint32_t regOffset) |
| Function to output an I2C write transaction for a single byte to log file. | |
| void | i2c_log_outputWriteWordMsg (uint16_t data, uint32_t regOffset) |
| Function to output an I2C write transaction for a single byte to log file. | |
| void | i2c_log_outputWriteintMsg (uint32_t data, uint32_t regOffset) |
| Function to output an I2C write transaction for a single byte to log file. | |
| void | i2c_log_outputWriteMsg (uint8_t *value, uint32_t regOffset, int32_t size) |
| Function to output an I2C write transaction for an array of bytes to log file. | |
Detailed Description
I2C logging functionality.
Definition in file i2c_log.h.
Function Documentation
| void i2c_log_end | ( | ) |
Function to Stop logging all I2C activities.
All I2C access activity will stop to be logged once this function is called. This function shall be called when debug level is set to I2C_LOG_LEVEL.
- Return values:
-
none
Definition at line 39 of file i2c_log.cpp.
Function to output an I2C read transaction for a single byte to log file.
- Parameters:
-
[in] value data value read. [in] regOffset I2C register identifier.
- Return values:
-
none
Definition at line 44 of file i2c_log.cpp.
Function to output an I2C read transaction for a single int to log file.
- Parameters:
-
[in] value data value read. [in] regOffset I2C register identifier.
- Return values:
-
none
Definition at line 68 of file i2c_log.cpp.
Function to output an I2C read transaction for an array of bytes to log file.
- Parameters:
-
[in] data data values read. [in] regOffset I2C register identifier. [in] size size of the data buffer.
- Return values:
-
none
Definition at line 81 of file i2c_log.cpp.
Function to output an I2C read transaction for a single word to log file.
- Parameters:
-
[in] value data value read. [in] regOffset I2C register identifier.
- Return values:
-
none
Definition at line 56 of file i2c_log.cpp.
Function to output an I2C write transaction for a single byte to log file.
- Parameters:
-
[in] data data value written. [in] regOffset I2C register identifier.
- Return values:
-
none
Definition at line 97 of file i2c_log.cpp.
Function to output an I2C write transaction for a single byte to log file.
- Parameters:
-
[in] data data value written. [in] regOffset I2C register identifier.
- Return values:
-
none
Function to output an I2C write transaction for an array of bytes to log file.
- Parameters:
-
[in] value data values written. [in] regOffset I2C register identifier. [in] size size of the data buffer.
- Return values:
-
none
Definition at line 134 of file i2c_log.cpp.
Function to output an I2C write transaction for a single byte to log file.
- Parameters:
-
[in] data data value written. [in] regOffset I2C register identifier.
- Return values:
-
none
Definition at line 109 of file i2c_log.cpp.
| void i2c_log_start | ( | ) |
Function to Start logging all I2C activities.
All I2C access activity will be logged once this function is called. This function shall be called when debug level is set to I2C_LOG_LEVEL.
- Return values:
-
none
Definition at line 34 of file i2c_log.cpp.
Generated on Tue Jul 12 2022 22:19:50 by
1.7.2