công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN3108 bảng dữ liệu(PDF) 21 Page - STMicroelectronics

tên linh kiện AN3108
Giải thích chi tiết về linh kiện  STLM75 firmware library for the STM32F10x
PDF  44 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3108 bảng dữ liệu(HTML) 21 Page - STMicroelectronics

Back Button AN3108 Datasheet HTML 17Page - STMicroelectronics AN3108 Datasheet HTML 18Page - STMicroelectronics AN3108 Datasheet HTML 19Page - STMicroelectronics AN3108 Datasheet HTML 20Page - STMicroelectronics AN3108 Datasheet HTML 21Page - STMicroelectronics AN3108 Datasheet HTML 22Page - STMicroelectronics AN3108 Datasheet HTML 23Page - STMicroelectronics AN3108 Datasheet HTML 24Page - STMicroelectronics AN3108 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 44 page
background image
AN3108
STLM75 library firmware
Doc ID 16793 Rev 1
21/44
Example:
TS_I2C_SettingsType TempSensorI2C_Settings;
/* Enable I2C2 clock */
RCC_APB1PeriphClockCmd(RCC_APB1Periph_I2C2, ENABLE);
/* I2C Peripheral settings initialization */
TempSensorI2C_Settings.TS_I2C_Ptr
= I2C2;
TempSensorI2C_Settings.TS_I2C_Clock
= 0x90;
TempSensorI2C_Settings.TS_I2C_Address = 400000;
pObjTempSensor->SetI2C_Settings(pObjTempSensor,
&TempSensorI2C_Settings);
TempSensor:: SetSignals API function
Table 9 describes the SetSignals function of the TempSensor structure.
This function is called by the TempSensor:Init function during the initialization phase,
therefore it’s not necessary to directly call it. The final application can specifically call this
function in order to change the microcontroller signal (port, pin, mode) settings after
initialization.
Table 9.
SetSignals
Name
Description
Function name
SetSignals
Function prototype
TS_ErrStatus SetSignals (TempSensorType* pThis, TS_SignalsType*
pSignals)
Behavior description
Set the STLM75 signals (port and pin) using the right values from the
passed parameter
Input parameter {x}
pThis - Object pointer;
pSignals - A Signal collection structure pointer;
Output parameter {x}
None
Return value
TS_OK if successful, TS_ERROR otherwise
Required preconditions
NewTempSensorObj function must have been called before.
Called functions
HAL function:
void TS_ConfigSignal(TS_SignalType* pSignal)



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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