41 #define EVBME_TEST_START_TEST (0x9F)
42 #define EVBME_TEST_START_TEST_2 (0x9E)
43 #define EVBME_TEST_SETUP_REF (0x9D)
49 #define EVBME_TEST_LEN (3)
50 #define EVBME_TEST_DATA0 (0x5A)
51 #define EVBME_TEST_DATA1 (0xA5)
52 #define EVBME_TEST_DATA2 (0x81)
57 #define CHILI_TEST_CS_LIMIT 200
58 #define CHILI_TEST_ED_LIMIT 100
59 #define CHILI_TEST_DUT_TIMEOUT 400
64 #define CHILI_TEST_OFF 0
65 #define CHILI_TEST_DUT 1
66 #define CHILI_TEST_REF 2
71 #define CHILI_TEST_DUT_SHORTADD 0xCAFE
72 #define CHILI_TEST_REF_SHORTADD 0xCAFF
73 #define CHILI_TEST_CHANNEL 11
74 #define CHILI_TEST_PANID 0xCA5C
79 #define CHILI_TEST_CST_DONE 0x00
80 #define CHILI_TEST_CST_DUT_D_REQUESTED 0x01
81 #define CHILI_TEST_CST_DUT_D_CONFIRMED 0x02
82 #define CHILI_TEST_CST_DUT_DISPLAY 0x03
83 #define CHILI_TEST_CST_DUT_FINISHED 0x04
88 #define PT_MSDU_TEST_DUT 0xAA
89 #define PT_MSDU_TEST_REF 0xBB
94 #define CHILI_TEST_ST_SUCCESS 0x00
95 #define CHILI_TEST_ST_NOCOMMS 0x01
96 #define CHILI_TEST_ST_DATA_CNF_UNEXP 0x02
97 #define CHILI_TEST_ST_DATA_CNF_TIMEOUT 0x03
98 #define CHILI_TEST_ST_DATA_CNF_NO_ACK 0x04
99 #define CHILI_TEST_ST_DATA_CNF_CHACCF 0x05
100 #define CHILI_TEST_ST_DATA_CNF_TROVFL 0x06
101 #define CHILI_TEST_ST_DATA_CNF_OTHERS 0x07
102 #define CHILI_TEST_ST_DATA_IND_UNEXP 0x08
103 #define CHILI_TEST_ST_DATA_IND_TIMEOUT 0x09
104 #define CHILI_TEST_ST_DATA_IND_ID 0x0A
105 #define CHILI_TEST_ST_TIMEOUT 0x0B
106 #define CHILI_TEST_ST_CS_REF_LOW 0x0C
107 #define CHILI_TEST_ST_CS_DUT_LOW 0x0D
108 #define CHILI_TEST_ST_ED_REF_LOW 0x0E
109 #define CHILI_TEST_ST_ED_DUT_LOW 0x0F
struct SerialBuffer SerialRxBuffer
Type definitions used by Cascoda baremetal drivers.
unsigned char u8_t
Definition: cascoda_types.h:46
u8_t CHILI_TEST_IsInTestMode(void)
Checks if Device is in Production Test Mode (yes if non-zero)
Definition: chili_test.c:153
void CHILI_TEST_Initialise(u8_t status, struct ca821x_dev *pDeviceRef)
Chili Production Test Initialisation.
Definition: chili_test.c:92
void CHILI_TEST_Handler(struct ca821x_dev *pDeviceRef)
Chili Production Test Handler.
Definition: chili_test.c:104
int CHILI_TEST_UpStreamDispatch(struct SerialBuffer *SerialRxBuffer, struct ca821x_dev *pDeviceRef)
Chili Test Dispatch Branch (UpStream, Serial)
Definition: chili_test.c:122
Structure of serial transfers.
Definition: cascoda_serial.h:50
CA-821x Device reference struct.
Definition: ca821x_api.h:123