GNU Radio 2.x: i2c_bbio class Reference

Main Page | Modules | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members

# i2c_bbio Class Reference

`#include <i2c_bbio.h>`

Inheritance diagram for i2c_bbio:

[legend]
List of all members.

## Detailed Description

abstract class that implements bit banging i/o for i2c bus.

## Public Member Functions
| i2c_bbio ()
virtual | ~i2c_bbio ()
virtual void | set_scl (bool state)=0
virtual void | set_sda (bool state)=0
virtual bool | get_sda ()=0
virtual void | lock ()=0
virtual void | unlock ()=0

## Constructor & Destructor Documentation

i2c_bbio::i2c_bbio | ( |  | ) | `[inline]`

i2c_bbio::~i2c_bbio | ( |  | ) | `[virtual]`

## Member Function Documentation

virtual bool i2c_bbio::get_sda | ( |  | ) | `[pure virtual]`

| Implemented in i2c_bbio_pp.

virtual void i2c_bbio::lock | ( |  | ) | `[pure virtual]`

| Implemented in i2c_bbio_pp.

virtual void i2c_bbio::set_scl | ( | bool | state | ) | `[pure virtual]`

| Implemented in i2c_bbio_pp.

virtual void i2c_bbio::set_sda | ( | bool | state | ) | `[pure virtual]`

| Implemented in i2c_bbio_pp.

virtual void i2c_bbio::unlock | ( |  | ) | `[pure virtual]`

| Implemented in i2c_bbio_pp.

The documentation for this class was generated from the following files:

- i2c_bbio.h
- i2c_bbio.cc