RTEMS 6.1-rc5
|
BeagleBoard I2C bus initialization and API Support. More...
#include <rtems/bspIo.h>
#include <stdio.h>
#include <bsp/i2c.h>
#include <libcpu/am335x.h>
#include <rtems/irq-extension.h>
#include <rtems/counter.h>
#include <bsp/bbb-gpio.h>
#include <rtems/score/assert.h>
#include <dev/i2c/i2c.h>
#include <ofw/ofw.h>
Data Structures | |
struct | bbb_i2c_bus |
Macros | |
#define | TRANSFER_TIMEOUT_COUNT 100 |
#define | FIFO_THRESHOLD 5 |
#define | min(l, r) ((l) < (r) ? (l) : (r)) |
#define | debug_print(fmt, args...) |
#define | PATH_LEN (strlen("/dev/i2c-xx") + 1) |
Typedefs | |
typedef struct bbb_i2c_bus | bbb_i2c_bus |
Functions | |
void | beagle_i2c_init (phandle_t node) |
BeagleBoard I2C bus initialization and API Support.