|
CTS-SAT-1-OBC-Firmware
|
#include "telecommands/i2c_telecommand_defs.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include "main.h"
Functions | |
| uint8_t | TCMDEXEC_scan_i2c_bus_verbose (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
| Scans the I2C bus for devices. Prints out a grid of all devices, with addresses for those found. | |
| uint8_t | TCMDEXEC_scan_i2c_bus (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
| Scans the I2C bus for devices. Prints out the addresses of devices found. | |
Variables | |
| const uint32_t | I2C_scan_number_of_trials = 3 |
| const uint32_t | I2C_scan_timeout_ms = 5 |
| uint8_t TCMDEXEC_scan_i2c_bus | ( | const char * | args_str, |
| char * | response_output_buf, | ||
| uint16_t | response_output_buf_len ) |
Scans the I2C bus for devices. Prints out the addresses of devices found.
| args_str |
|
| uint8_t TCMDEXEC_scan_i2c_bus_verbose | ( | const char * | args_str, |
| char * | response_output_buf, | ||
| uint16_t | response_output_buf_len ) |
Scans the I2C bus for devices. Prints out a grid of all devices, with addresses for those found.
| args_str |
|
| const uint32_t I2C_scan_number_of_trials = 3 |
| const uint32_t I2C_scan_timeout_ms = 5 |