I2C support API.
More...
#include <rtems.h>
#include <bsp.h>
#include <dev/i2c/i2c.h>
Go to the source code of this file.
|
#define | BBB_I2C_SYSCLK 48000000 |
|
#define | BBB_I2C_INTERNAL_CLK 12000000 |
|
#define | BBB_I2C_0_BUS_PATH "/dev/i2c-0" |
|
#define | BBB_I2C_1_BUS_PATH "/dev/i2c-1" |
|
#define | BBB_I2C_2_BUS_PATH "/dev/i2c-2" |
|
#define | BBB_I2C0_IRQ 70 |
|
#define | BBB_I2C1_IRQ 71 |
|
#define | BBB_I2C2_IRQ 30 |
|
|
enum | bbb_i2c_id_t { I2C0
, I2C1
, I2C2
, I2C_COUNT
} |
|
|
int | am335x_i2c_bus_register (const char *bus_path, uintptr_t register_base, uint32_t input_clock, rtems_vector_number irq) |
|