전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN3108 데이터시트(PDF) 25 Page - STMicroelectronics

부품명 AN3108
상세설명  STLM75 firmware library for the STM32F10x
PDF  44 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3108 데이터시트(HTML) 25 Page - STMicroelectronics

Back Button 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 AN3108 Datasheet HTML 26Page - STMicroelectronics AN3108 Datasheet HTML 27Page - STMicroelectronics AN3108 Datasheet HTML 28Page - STMicroelectronics AN3108 Datasheet HTML 29Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 44 page
background image
AN3108
STLM75 library firmware
Doc ID 16793 Rev 1
25/44
TempSensor:: SetConfiguration API function
Table 13 describes the SetConfiguration function of the TempSensor structure.
Example:
u8 uTestConfigurationValue;
...
/* Write the following value for Configuration register: 0x00 */
uTestConfigurationValue = 0x00;
pObjTempSensor->SetConfiguration
(pObjTempSensor,
uTestConfigurationValue);
TempSensor:: GetConfiguration API function
Table 14 describes the GetConfiguration function of the TempSensor structure.
Table 13.
SetConfiguration
Name
Description
Function name
SetConfiguration
Function prototype
TS_ErrStatus SetConfiguration (TempSensorType* pThis, TS_u8
uConfigValue)
Behavior description
Set the 8-bit Configuration register value.
Input parameter {x}
pThis - Object pointer;
uConfigValue - The 8-bit value to write in the register
Output parameter {x}
None
Return value
TS_OK if successful, TS_ERROR otherwise
Required preconditions
NewTempSensorObj, TempSensor:: Init functions must have been called
before.
Called functions
HAL function:
TS_ErrStatus TS_SetPointerRegister(…);
TS_ErrStatus TS_FillRegisterFromData(…);
Table 14.
GetConfiguration
Name
Description
Function name
GetConfiguration
Function prototype
TS_u8 GetConfiguration (TempSensorType* pThis, TS_Boolean
bForceRegisterRead)
Behavior description
Return the 8-bit Configuration register value.
Input parameter {x}
pThis - Object pointer;
bForceRegisterRead - if TS_TRUE reads the value from the register
otherwise the last read value returns
Output parameter {x}
None



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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