lnp-logical.h File Reference
#include "../lnp-logical.h"
#include <time.h>
Go to the source code of this file.
Define Documentation
#define LNP_BYTE_SAFE (4*LNP_BYTE_TIME) |
delay before transmitting a byte
Definition at line 60 of file lnp-logical.h.
#define LNP_BYTE_TIME MSECS_TO_TICKS(5) |
#define LNP_BYTE_TIMEOUT (3*LNP_BYTE_TIME/2) |
#define LNP_LOGICAL_BAUD_RATE B2400 |
#define LNP_LOGICAL_PARITY SMR_P_ODD |
#define LNP_WAIT_COLL (4*LNP_BYTE_TIMEOUT) |
#define LNP_WAIT_TXOK (2*LNP_BYTE_TIMEOUT) |
not transmitting, last xmit was collision
Definition at line 66 of file lnp-logical.h.
not transmitting, last xmit OK
Definition at line 67 of file lnp-logical.h.
Function Documentation
void lnp_logical_init |
( |
void |
|
) |
|
Initialize the logical layer (IR port).
Referenced by kmain().
void lnp_logical_shutdown |
( |
void |
|
) |
|
Shutdown the logical layer (IR port).
Referenced by kmain().
void txend_handler |
( |
void |
|
) |
|
Callback: end of transmission.
Variable Documentation