fci_bypass.h 905 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*****************************************************************************
  2. Copyright(c) 2012 FCI Inc. All Rights Reserved
  3. File name : fci_bypass.h
  4. Description : fci i2c driver header
  5. *******************************************************************************/
  6. #ifndef __FCI_BYPASS_H__
  7. #define __FCI_BYPASS_H__
  8. #include "fci_types.h"
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. extern int fci_bypass_init(HANDLE hDevice, int speed, int slaveaddr);
  13. extern int fci_bypass_read(HANDLE hDevice, u8 chip, u8 addr
  14. , u8 alen, u8 *data, u8 len);
  15. extern int fci_bypass_write(HANDLE hDevice, u8 chip, u8 addr
  16. , u8 alen, u8 *data, u8 len);
  17. extern int fci_bypass_deinit(HANDLE hDevice);
  18. extern int fc8150_bypass_read(HANDLE hDevice, u8 chip
  19. , u8 addr, u8 *data, u16 length);
  20. extern int fc8150_bypass_write(HANDLE hDevice, u8 chip
  21. , u8 addr, u8 *data, u16 length);
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif