RTEMS 6.1-rc7
Loading...
Searching...
No Matches
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>
#include <ofw/ofw.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"
 

Typedefs

typedef struct i2c_regs bbb_i2c_regs
 

Enumerations

enum  bbb_i2c_id_t { I2C0 , I2C1 , I2C2 , I2C_COUNT }
 

Functions

void beagle_i2c_init (phandle_t node)
 

Detailed Description

I2C support API.