123456789101112131415161718192021222324252627 |
- #include "CM_LIB.h"
- #include "CM_I2C.h"
- #include "CM_I2C_L.h"
- #include "CM_GPA.h"
- uint8_t ucCmdRdFuze[4] = {0xb6, 0x01, 0x00, 0x01};
- uint8_t cm_ReadFuse(uint8_t * pucFuze)
- {
- uint8_t ucReturn;
-
-
- cm_GPAGenNF(11, 0x01);
- if((ucReturn = cm_ReadCommand(ucCmdRdFuze,pucFuze,1)) != SUCCESS) return ucReturn;
-
- cm_GPAGen(*pucFuze);
- cm_GPAGenN(5);
-
- return SUCCESS;
-
- }
|