Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
607 B

  1. // $Header: G:/SwDev/WDM/Video/bt848/rcs/I2cerr.h 1.2 1998/04/29 22:43:34 tomz Exp $
  2. #ifndef __I2CERR_H
  3. #define __I2CERR_H
  4. const int I2CERR_OK = 0; // no error
  5. const int I2CERR_INIT = 1; // error in initialization
  6. const int I2CERR_MODE = 2; // invalid I2C mode (must be either HW or SW)
  7. const int I2CERR_NOACK = 3; // no ACK received from slave
  8. const int I2CERR_TIMEOUT = 4; // timeout error
  9. const int I2CERR_SCL = 5; // unable to change SCL line
  10. const int I2CERR_SDA = 6; // unable to change SDA line
  11. #endif // __I2CERR_H