RTEMS 5.2
Data Structures | Macros | Typedefs | Enumerations | Functions
i2c.h File Reference

I2C support API. More...

#include <rtems.h>
#include <bsp.h>
#include <dev/i2c/i2c.h>

Go to the source code of this file.

Data Structures

struct  i2c_regs
 

Macros

#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
 

Typedefs

typedef struct i2c_regs bbb_i2c_regs
 

Enumerations

enum  bbb_i2c_id_t { I2C0 , I2C1 , I2C2 , I2C_COUNT }
 

Functions

int am335x_i2c_bus_register (const char *bus_path, uintptr_t register_base, uint32_t input_clock, rtems_vector_number irq)
 

Detailed Description

I2C support API.