Apps
Components
Interfaces
All Files
Source Tree
source:
tos.system.FramerM.nc
Component: FramerM
Author:
Phil Buonadonna
Required Interfaces
ByteComm
StdControl
ByteControl
Provided Interfaces
StdControl
TokenReceiveMsg
ReceiveMsg
BareSendMsg
Variables
TOS_Msg gMsgRcvBuf[FramerM.HDLC_QUEUESIZE]
typedef struct FramerM._MsgRcvEntry { uint8_t Proto; uint8_t Token; uint16_t Length; TOS_MsgPtr pMsg; } MsgRcvEntry_t
FramerM.MsgRcvEntry_t gMsgRcvTbl[FramerM.HDLC_QUEUESIZE]
uint8_t *gpRxBuf
uint8_t *gpTxBuf
uint8_t gFlags
norace uint8_t gTxState
norace uint8_t gPrevTxState
norace uint8_t gTxProto
norace uint16_t gTxByteCnt
norace uint16_t gTxLength
norace uint16_t gTxRunningCRC
uint8_t gRxState
uint8_t gRxHeadIndex
uint8_t gRxTailIndex
uint16_t gRxByteCnt
uint16_t gRxRunningCRC
TOS_MsgPtr gpTxMsg
uint8_t gTxTokenBuf
uint8_t gTxUnknownBuf
norace uint8_t gTxEscByte
task void PacketSent(void)
Function Index
result_t
StartTx
(void)
task void
PacketUnknown
(void)
task void
PacketRcvd
(void)
task void
PacketSent
(void)
void
HDLCInitialize
(void)
command result_t
StdControl.init
(void)
command result_t
StdControl.start
(void)
command result_t
StdControl.stop
(void)
command result_t
BareSendMsg.send
(TOS_MsgPtr pMsg)
command result_t
TokenReceiveMsg.ReflectToken
(uint8_t Token)
async event result_t
ByteComm.rxByteReady
(uint8_t data, bool error, uint16_t strength)
result_t
TxArbitraryByte
(uint8_t Byte)
async event result_t
ByteComm.txByteReady
(bool LastByteSuccess)
async event result_t
ByteComm.txDone
(void)
event TOS_MsgPtr
ReceiveMsg.receive
(TOS_MsgPtr Msg)
event TOS_MsgPtr
TokenReceiveMsg.receive
(TOS_MsgPtr Msg, uint8_t Token)