Electronic Components Datasheet Search
  English  ▼

X  

AN3108 Datasheet(PDF) 40 Page - STMicroelectronics

Part # AN3108
Description  STLM75 firmware library for the STM32F10x
PDF  44 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3108 Datasheet(HTML) 40 Page - STMicroelectronics

Back Button AN3108 Datasheet HTML 36Page - STMicroelectronics AN3108 Datasheet HTML 37Page - STMicroelectronics AN3108 Datasheet HTML 38Page - STMicroelectronics AN3108 Datasheet HTML 39Page - STMicroelectronics AN3108 Datasheet HTML 40Page - STMicroelectronics AN3108 Datasheet HTML 41Page - STMicroelectronics AN3108 Datasheet HTML 42Page - STMicroelectronics AN3108 Datasheet HTML 43Page - STMicroelectronics AN3108 Datasheet HTML 44Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 40 / 44 page
background image
Example application
AN3108
40/44
Doc ID 16793 Rev 1
cTemperatureSign = (pStrTemperature->TS_Sign ==
TS_PLUS_SIGN) ? '+' : '-';
/* Send Temperature read data to the debugger Terminal Output
Window */
printf ("Read Temperature (%d): %c%d.%d\r\n",
\
uReadingNumber++,
\
cTemperatureSign,
\
pStrTemperature->TS_IntegerValue, \
pStrTemperature->TS_DecimalValue);
}
}
/******************************************************************
* Function Name
: STLM75_Configuration
* Description
: Configure the Micro I2C peripheral and GPIO pins
in order to use
*
: the TempSensor hardware components present on the
application board
* Input
: pObjTempSensor - The STLM75 temperature sensor
object pointer
* Output
: None
* Return
: None
******************************************************************/
void STLM75_Configuration (TempSensorType* pObjTempSensor)
{
TS_SignalsType
TempSensorSignals;
TS_I2C_SettingsType TempSensorI2C_Settings;
/* Enable I2C2 clock */
RCC_APB1PeriphClockCmd(RCC_APB1Periph_I2C2, ENABLE);
/* Enable GPIOB clock */
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB, ENABLE);
/* GPIO signals configuration */



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 33 34 35 36 37 38 39 40 41 42 43 44


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