Software Architecture
2.2.4
rxStatus_t
This enumeration lists all the possible reception states:
typedef enum rxStatus_tag
{
rxInitStatus,
rxProcessingReceptionStatus_c,
rxSuccessStatus_c,
rxTimeOutStatus_c,
rxAbortedStatus_c,
rxMaxStatus_c
} rxStatus_t;
Members
rxInitStatus
rxProcessingReceptionStatus_c This state is set when the MKW01 SMAC is in the middle of receiving
rxSuccessStatus_c
rxTimeOutStatus_c
rxAbortedStatus_c
rxMaxStatus_c
2.2.5
smacPdu_t
This type defines the SMAC's basic protocol data unit:
typedef struct smacPdu_tag{
uint8_t smacPdu[1];
}smacPdu_t;
Members
smacPdu[1].
2.2.6
txPacket_t
This structure defines the type of variable to be transmitted by the MKW01 SMAC. It is located in the
file and is defined as follows:
SMAC_Interface.h
typedef struct txPacket_tag
{
uint8_t u8DataLength;
smacHeader_t smacHeader;
smacPdu_t smacPdu;
MKW01 Simple Media Access Controller (SMAC) Reference Manual, Rev. 0.0
2-12
The RTOS based MKW01 SMAC does not use this.
a packet.
This is one of the possible finish conditions for a received packet that
was successfully received and could be checked by the indication
functions.
This is another of the possible finish conditions for a timeout condition
and could be checked by the indication functions.
This status is set when SMAC drops a packet (on SMAC specific
criteria) validated by PHY and the enter reception request was
performed with a timeout.
This element indicates the total number of possible reception states.
Starting position of the buffer where TX or RX data is stored.
Freescale Semiconductor