Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2491 Datasheet(PDF) 22 Page - STMicroelectronics

Part # AN2491
Description  STW8110x hardware component layer API guide
PDF  32 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2491 Datasheet(HTML) 22 Page - STMicroelectronics

Back Button AN2491 Datasheet HTML 18Page - STMicroelectronics AN2491 Datasheet HTML 19Page - STMicroelectronics AN2491 Datasheet HTML 20Page - STMicroelectronics AN2491 Datasheet HTML 21Page - STMicroelectronics AN2491 Datasheet HTML 22Page - STMicroelectronics AN2491 Datasheet HTML 23Page - STMicroelectronics AN2491 Datasheet HTML 24Page - STMicroelectronics AN2491 Datasheet HTML 25Page - STMicroelectronics AN2491 Datasheet HTML 26Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 32 page
background image
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



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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