| 전자부품 데이터시트 검색엔진 |
|
AN3108 데이터시트(PDF) 24 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3108 데이터시트(HTML) 24 Page - STMicroelectronics |
|
24 / 44 page ![]() STLM75 library firmware AN3108 24/44 Doc ID 16793 Rev 1 Example: ... pObjTempSensor->SetRegister(pObjTempSensor, TS_SEL_CONF_REG, 0); TempSensor:: GetRegister API function Table 12 describes the GetRegister function of the TempSensor structure. This function can be considered as an advanced function for the final user who knows STLM75 internal registers. This function call can be avoided by calling one of the following specific functions: GetConfiguration, GetTemperature, GetTempHysteresis, GetTempOverLimit; Example: TS_u16 uTemperatureRegisterValue; uTemperatureRegisterValue = pObjTempSensor- >GetRegister(pObjTempSensor, TS_SEL_TEMP_REG); Table 12. GetRegister Name Description Function name GetRegister Function prototype TS_u16 GetRegister (TempSensorType* pThis, TS_RegSelectionType eRegSelection) Behavior description Return a 16-bit register value. The right register is identified by eRegSelection type passed as parameter. For the 8-bit register, only the LSB must be considered in the return value. Input parameter {x} pThis - Object pointer; eRegSelection - The type associated to the register to be set Output parameter {x} None Return value Register value if successful, TS_NULL_REG_VALUE otherwise Required preconditions NewTempSensorObj, TempSensor:: Init functions must have been called before. Called functions HAL function: TS_ErrStatus TS_SetPointerRegister(…); TS_ErrStatus TS_FillDataFromRegister (…); |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |