RTEMS
5.1
|
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>
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...) |
Typedefs | |
typedef struct bbb_i2c_bus | bbb_i2c_bus |
Functions | |
int | am335x_i2c_bus_register (const char *bus_path, uintptr_t register_base, uint32_t input_clock, rtems_vector_number irq) |
BeagleBoard I2C bus initialization and API Support.