|
Open Model Railroad Network (OpenMRN)
|
Consolidate all the state machine enumerations for easy operator overloading. More...
#include <BitBangI2C.hxx>
Protected Member Functions | |
| BitBangI2CStates () | |
| Default constructor. | |
Friends | |
| StateStart & | operator++ (StateStart &) |
| Allow pre-increment definition. | |
| StateStop & | operator++ (StateStop &) |
| Allow pre-increment definition. | |
| StateTx & | operator++ (StateTx &) |
| Allow pre-increment definition. | |
| StateRx & | operator++ (StateRx &) |
| Allow pre-increment definition. | |
| StateRecovery & | operator++ (StateRecovery &) |
| Allow pre-increment definition. | |
Consolidate all the state machine enumerations for easy operator overloading.
Definition at line 43 of file BitBangI2C.hxx.
|
strongprotected |
High level I2C States.
| Enumerator | |
|---|---|
| START | start state |
| ADDRESS | address state |
| DATA_TX | data TX state |
| DATA_RX | data RX state |
| RECOVERY | recovery state |
| STOP | stop state |
Definition at line 52 of file BitBangI2C.hxx.
|
strongprotected |
Low level I2C data RX states.
Definition at line 134 of file BitBangI2C.hxx.
|
strongprotected |
Low level I2C data RX states.
Definition at line 109 of file BitBangI2C.hxx.
|
strongprotected |
Low level I2C start states.
| Enumerator | |
|---|---|
| SDA_SET | start sequence |
| SCL_SET | start sequence |
| SDA_CLR | start sequence |
| FIRST | first start sequence state |
Definition at line 63 of file BitBangI2C.hxx.
|
strongprotected |
Low level I2C stop states.
| Enumerator | |
|---|---|
| SDA_CLR | stop sequence |
| SCL_SET | stop sequence |
| SDA_SET | stop sequence |
| FIRST | first stop sequence state |
| LAST | last stop sequence state |
Definition at line 73 of file BitBangI2C.hxx.
|
strongprotected |
Low level I2C data TX states.
Definition at line 83 of file BitBangI2C.hxx.
|
inlineprotected |
Default constructor.
Definition at line 47 of file BitBangI2C.hxx.
|
friend |
Allow pre-increment definition.
| x | starting value |
Definition at line 374 of file BitBangI2C.hxx.
|
friend |
Allow pre-increment definition.
| x | starting value |
Definition at line 361 of file BitBangI2C.hxx.
|
friend |
Allow pre-increment definition.
| x | starting value |
Definition at line 322 of file BitBangI2C.hxx.
|
friend |
Allow pre-increment definition.
| x | starting value |
Definition at line 335 of file BitBangI2C.hxx.
|
friend |
Allow pre-increment definition.
| x | starting value |
Definition at line 348 of file BitBangI2C.hxx.