| Electronic Components Datasheet Search |
|
AN2491 Datasheet(PDF) 22 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2491 Datasheet(HTML) 22 Page - STMicroelectronics |
|
22 / 32 page ![]() STW8110x public header file AN2491 22/32 7 STW8110x public header file //***************************************************************** // Copyright (C) 2006 STMicroelectronics // File name:STW8110x.h // Description:Header file for SPI/I2C STW8110x Interface Driver // code. Provides function type and data structure definition // Creation:11/20/2006 //***************************************************************** #ifndef _STW8110x_H #define _STW8110x_H //***************************************************************** // -------Preprocessor Checking------- //***************************************************************** #if !( defined(__PLATFORM_STW81101) | defined(__PLATFORM_STW81102) | defined(__PLATFORM_STW81103)) #error "__PLATFORM_STW81101, __PLATFORM_STW81102 or __PLATFORM_STW81103 must be defined" #endif #if !( defined(__INTERFACE_I2C) | defined(__INTERFACE_SPI)) #error "Either of __INTERFACE_I2C or __INTERFACE_SPI must be defined" #endif #if !( defined(__NO_DEBUG) | defined(__DEBUG)) #error "Either of __NO_DEBUG or __DEBUG must be defined" #endif //***************************************************************** // -------Allowing C++ to use these headers------- //***************************************************************** #ifdef__cplusplus extern "C" { #endif // __cplusplus //***************************************************************** // -------miscellaneous------- //***************************************************************** //----------------------------------------------------------------- // Type definition //----------------------------------------------------------------- typedef unsigned int t_uint32; typedef unsigned char t_uint8; //----------------------------------------------------------------- // Type enumeration //----------------------------------------------------------------- typedef enum {BOOL_FALSE, BOOL_TRUE} t_bool; //----------------------------------------------------------------- // Constants //----------------------------------------------------------------- #define REG_CLEAR0x00000000 #define ZERO0x0 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |