Source that initializes and self-test the indication i2c-1. More...
#include <stdio.h>
#include <AppGlobal.h>
#include "main.h"
Macros | |
#define | I2C_DEVICE "/dev/i2c-1" |
#define | I2C_1_ADDR1 0x22 |
#define | I2C_1_ADDR2 0x26 |
Functions | |
int | indication_self_test (void) |
Test to check the I2C read and write functionality. | |
Variables | |
struct i2c_msg | i2cmsg |
struct i2c_rdwr_ioctl_data | msg_rdwr |
int | i2c_va_led_file |
Source that initializes and self-test the indication i2c-1.
#define I2C_1_ADDR1 0x22 |
#define I2C_1_ADDR2 0x26 |
#define I2C_DEVICE "/dev/i2c-1" |
int indication_self_test | ( | void | ) |
Test to check the I2C read and write functionality.
int i2c_va_led_file |
struct i2c_msg i2cmsg |
struct i2c_rdwr_ioctl_data msg_rdwr |