RTEMS: bsps/arm/beagle/i2c/bbb-i2c.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Functions
bbb-i2c.c File Reference

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)

## Detailed Description

BeagleBoard I2C bus initialization and API Support.