| поискавой системы для электроныых деталей |
|
AN3108 датащи(PDF) 22 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3108 датащи(HTML) 22 Page - STMicroelectronics |
|
22 / 44 page ![]() STLM75 library firmware AN3108 22/44 Doc ID 16793 Rev 1 Example: TS_SignalsType TempSensorSignals; /* Enable GPIOB clock */ RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB, ENABLE); /* GPIO signals configuration */ /* Configure PB.10 as alternate function Open-Drain */ TempSensorSignals.TS_SCL.Port = GPIOB; TempSensorSignals.TS_SCL.Pin = GPIO_Pin_10; TempSensorSignals.TS_SCL.Mode = GPIO_Mode_AF_OD; /* Configure PB.11 as alternate function Open-Drain */ TempSensorSignals.TS_SDA.Port = GPIOB; TempSensorSignals.TS_SDA.Pin = GPIO_Pin_11; TempSensorSignals.TS_SDA.Mode = GPIO_Mode_AF_OD; /* Configure PB.12 as alternate function Open-Drain */ TempSensorSignals.TS_OS_INT.Port = GPIOB; TempSensorSignals.TS_OS_INT.Pin = GPIO_Pin_12; TempSensorSignals.TS_OS_INT.Mode = GPIO_Mode_AF_PP; pObjTempSensor->SetSignals(pObjTempSensor, &TempSensorSignals); TempSensor:: GetSignals API function Table 10 describes the GetSignals function of the TempSensor structure. Table 10. GetSignals Name Description Function name GetSignals Function prototype TS_SignalsType* GetSignals (TempSensorType* pThis) Behavior description Return the Signal collection structure pointer Input parameter {x} pThis - Object pointer Output parameter {x} None Return value The signals structure pointer |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |