|
void | stateMachineSetUp (unsigned char control, unsigned char address, enum stateMachineState state, enum stateMachineType type) |
| Function to easily change the State Machine. More...
|
|
int | stateMachine (unsigned char byte, unsigned char **buf, int *size) |
| The StateMachine function that processes a byte and updates it's state. More...
|
|
int | processStart (unsigned char byte) |
| Function to process a byte in case the state is Start. More...
|
|
int | processFLAG_RCV (unsigned char byte) |
| Function to process a byte in case the state is FLAG_RCV. More...
|
|
int | processA_RCV (unsigned char byte) |
| Function to process a byte in case the state is A_RCV. More...
|
|
int | processC_RCV (unsigned char byte) |
| Function to process a byte in case the state is C_RCV. More...
|
|
int | processBCC_OK (unsigned char byte, unsigned char **buffer, int *buffersize) |
| Function to process a byte in case the state is BCC_OK. More...
|
|