2011-11-27 08:01:29 +00:00
|
|
|
/*
|
|
|
|
* simm_electrical_test.h
|
|
|
|
*
|
|
|
|
* Created on: Nov 26, 2011
|
|
|
|
* Author: Doug
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SIMM_ELECTRICAL_TEST_H_
|
|
|
|
#define SIMM_ELECTRICAL_TEST_H_
|
|
|
|
|
2011-12-18 18:18:30 +00:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#define GROUND_FAIL_INDEX 0xFF
|
|
|
|
|
|
|
|
#define FIRST_ADDRESS_LINE_FAIL_INDEX 0
|
|
|
|
#define LAST_ADDRESS_LINE_FAIL_INDEX (FIRST_ADDRESS_LINE_FAIL_INDEX + 20)
|
|
|
|
#define FIRST_DATA_LINE_FAIL_INDEX (LAST_ADDRESS_LINE_FAIL_INDEX + 1)
|
|
|
|
#define LAST_DATA_LINE_FAIL_INDEX (FIRST_DATA_LINE_FAIL_INDEX + 31)
|
|
|
|
#define CS_FAIL_INDEX (LAST_DATA_LINE_FAIL_INDEX + 1)
|
|
|
|
#define OE_FAIL_INDEX (CS_FAIL_INDEX + 1)
|
|
|
|
#define WE_FAIL_INDEX (OE_FAIL_INDEX + 1)
|
|
|
|
|
|
|
|
int SIMMElectricalTest_Run(void (*errorHandler)(uint8_t, uint8_t));
|
2011-11-27 08:01:29 +00:00
|
|
|
|
|
|
|
#endif /* SIMM_ELECTRICAL_TEST_H_ */
|