1234567891011121314151617181920212223242526272829303132333435 |
- /*****************************************************************************
- Copyright(c) 2012 FCI Inc. All Rights Reserved
- File name : fc8150_spib.c
- Description : API of 1-SEG baseband module
- *******************************************************************************/
- #ifndef __FC8150_SPIB__
- #define __FC8150_SPIB__
- #ifdef __cplusplus
- extern "C" {
- #endif
- extern int fc8150_spib_init(HANDLE hDevice, u16 param1, u16 param2);
- extern int fc8150_spib_byteread(HANDLE hDevice, u16 addr, u8 *data);
- extern int fc8150_spib_wordread(HANDLE hDevice, u16 addr, u16 *data);
- extern int fc8150_spib_longread(HANDLE hDevice, u16 addr, u32 *data);
- extern int fc8150_spib_bulkread(HANDLE hDevice, u16 addr, u8 *data, u16 length);
- extern int fc8150_spib_bytewrite(HANDLE hDevice, u16 addr, u8 data);
- extern int fc8150_spib_wordwrite(HANDLE hDevice, u16 addr, u16 data);
- extern int fc8150_spib_longwrite(HANDLE hDevice, u16 addr, u32 data);
- extern int fc8150_spib_bulkwrite(HANDLE hDevice, u16 addr
- , u8 *data, u16 length);
- extern int fc8150_spib_dataread(HANDLE hDevice, u16 addr, u8 *data, u32 length);
- extern int fc8150_spib_deinit(HANDLE hDevice);
- #ifdef __cplusplus
- }
- #endif
- #endif
|