KIT Solar Car Project / Mbed 2 deprecated BMS_6804_pb

Dependencies:   mbed INA226

Committer:
takuma1
Date:
Thu Apr 08 10:04:55 2021 +0000
Revision:
5:f07de56debf3
210408_BMS_v1;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
takuma1 5:f07de56debf3 1 /*
takuma1 5:f07de56debf3 2 **************************************************************************************************************
takuma1 5:f07de56debf3 3 * NXP USB Host Stack
takuma1 5:f07de56debf3 4 *
takuma1 5:f07de56debf3 5 * (c) Copyright 2008, NXP SemiConductors
takuma1 5:f07de56debf3 6 * (c) Copyright 2008, OnChip Technologies LLC
takuma1 5:f07de56debf3 7 * All Rights Reserved
takuma1 5:f07de56debf3 8 *
takuma1 5:f07de56debf3 9 * www.nxp.com
takuma1 5:f07de56debf3 10 * www.onchiptech.com
takuma1 5:f07de56debf3 11 *
takuma1 5:f07de56debf3 12 * File : usbhost_err.h
takuma1 5:f07de56debf3 13 * Programmer(s) : Ravikanth.P
takuma1 5:f07de56debf3 14 * Version :
takuma1 5:f07de56debf3 15 *
takuma1 5:f07de56debf3 16 **************************************************************************************************************
takuma1 5:f07de56debf3 17 */
takuma1 5:f07de56debf3 18
takuma1 5:f07de56debf3 19 #ifndef USBHOST_ERR_H
takuma1 5:f07de56debf3 20 #define USBHOST_ERR_H
takuma1 5:f07de56debf3 21
takuma1 5:f07de56debf3 22
takuma1 5:f07de56debf3 23 /*
takuma1 5:f07de56debf3 24 **************************************************************************************************************
takuma1 5:f07de56debf3 25 * GENERAL DEFINITIONS
takuma1 5:f07de56debf3 26 **************************************************************************************************************
takuma1 5:f07de56debf3 27 */
takuma1 5:f07de56debf3 28
takuma1 5:f07de56debf3 29 #define OK 0
takuma1 5:f07de56debf3 30 #define MATCH_FOUND 0
takuma1 5:f07de56debf3 31
takuma1 5:f07de56debf3 32 /*
takuma1 5:f07de56debf3 33 **************************************************************************************************************
takuma1 5:f07de56debf3 34 * HOST CONTROLLER SPECIFIC ERROR CODES
takuma1 5:f07de56debf3 35 **************************************************************************************************************
takuma1 5:f07de56debf3 36 */
takuma1 5:f07de56debf3 37
takuma1 5:f07de56debf3 38 #define ERR_TD_FAIL -1
takuma1 5:f07de56debf3 39
takuma1 5:f07de56debf3 40 /*
takuma1 5:f07de56debf3 41 **************************************************************************************************************
takuma1 5:f07de56debf3 42 * MASS STORAGE SPECIFIC ERROR CODES
takuma1 5:f07de56debf3 43 **************************************************************************************************************
takuma1 5:f07de56debf3 44 */
takuma1 5:f07de56debf3 45
takuma1 5:f07de56debf3 46 #define ERR_MS_CMD_FAILED -10
takuma1 5:f07de56debf3 47 #define ERR_BAD_CONFIGURATION -11
takuma1 5:f07de56debf3 48 #define ERR_NO_MS_INTERFACE -12
takuma1 5:f07de56debf3 49
takuma1 5:f07de56debf3 50 /*
takuma1 5:f07de56debf3 51 **************************************************************************************************************
takuma1 5:f07de56debf3 52 * FAT SPECIFIC ERROR CODES
takuma1 5:f07de56debf3 53 **************************************************************************************************************
takuma1 5:f07de56debf3 54 */
takuma1 5:f07de56debf3 55
takuma1 5:f07de56debf3 56 #define MATCH_NOT_FOUND -20
takuma1 5:f07de56debf3 57 #define ERR_FAT_NOT_SUPPORTED -21
takuma1 5:f07de56debf3 58 #define ERR_OPEN_LIMIT_REACHED -22
takuma1 5:f07de56debf3 59 #define ERR_INVALID_BOOT_SIG -23
takuma1 5:f07de56debf3 60 #define ERR_INVALID_BOOT_SEC -24
takuma1 5:f07de56debf3 61 #define ERR_ROOT_DIR_FULL -25
takuma1 5:f07de56debf3 62
takuma1 5:f07de56debf3 63 #endif