Electronic Components Datasheet Search
  English  ▼

X  

AN2491 Datasheet(PDF) 27 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) 27 Page - STMicroelectronics

Back Button AN2491 Datasheet HTML 23Page - STMicroelectronics AN2491 Datasheet HTML 24Page - STMicroelectronics AN2491 Datasheet HTML 25Page - STMicroelectronics AN2491 Datasheet HTML 26Page - STMicroelectronics AN2491 Datasheet HTML 27Page - STMicroelectronics AN2491 Datasheet HTML 28Page - STMicroelectronics AN2491 Datasheet HTML 29Page - STMicroelectronics AN2491 Datasheet HTML 30Page - STMicroelectronics AN2491 Datasheet HTML 31Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 27 / 32 page
background image
AN2491
STW8110x public header file
27/32
#ifdef __INTERFACE_I2C
//
// Definition of the STW8110x I2C ReadOnly register
typedef struct
{
t_stw8110x_Device_TypeDEV_TYPE; // Device identifier bit
t_stw8110x_PLL_StatusLOCK_DET; // '1' when PLL is locked
t_uint8
INT_CAL; // internal value of VCO control word
} t_stw8110x_I2C_RO_reg ;
#endif //__INTERFACE_I2C
//*****************************************************************
// -------STW8110x Hardware Access Definitions-------
//*****************************************************************
#ifdef __INTERFACE_SPI
// Description:
// ST1 - reference divider, VCO amplitude, VCO Calibration,
// Charge Pump current,Prescaler Modulus
//
#define bwREF_CLK_DIV_RATIO
10 // Reference clock divider ratio
#define bwPLL_A
2 // VCO Amplitude control
#define bwCPSEL
3 // charge pump output current control
#define bwPSC_SEL
1 // Prescaler modulus select
#define bwINITCAL
1 // Test purpose only,must be set to 0
#define bwSERCAL
1 // VCO Calibration Enable
#define bwSELEXTCAL
1 // Test purpose only,must be set to 0
#define bwCAL
5 // Test purpose only,must be set to 0
#define bsREF_CLK_DIV_RATIO 14 // Reference clock divider ratio
#define bsPLL_A
12 // VCO Amplitude control
#define bsCPSEL
9 // charge pump output current control
#define bsPSC_SEL
8 // Prescaler modulus select
#define bsINITCAL
7 // Test purpose only,must be set to 0
#define bsSERCAL
6 // VCO Calibration Enable
#define bsSELEXTCAL
5 // Test purpose only,must be set to 0
#define bsCAL
0 // Test purpose only,must be set to 0
//
// Description:
// ST2 - Functional modes, VCO dividers
//
#define bwPD
7 // Functional mode
#define bwcount_B
12// swallow counter
#define bwcount_A
5 // main counter
#define bsPD
17// Functional mode
#define bscount_B
5 // swallow counter
#define bscount_A
0 // main counter
#endif //__INTERFACE_SPI
#ifdef __INTERFACE_I2C
// REG0
#define bwPD
7 // Reference clock divider ratio
#define bwcount_B11
1 // main counter
#define bsPD
1 // Test purpose only, must be set to 0
#define bscount_B11
0 // main counter



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