|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
TMP1075 Driver extensions. More...
#include "TMP1075.h"
Functions | |
| FctERR | TMP1075_Get_Temperature_Raw (TMP1075_t *const pCpnt, int16_t *const temp) |
| Get TMP1075 Raw temperature. | |
| FctERR | TMP1075_Start_SingleConversion (TMP1075_t *const pCpnt) |
| Start TMP1075 single conversion. | |
| FctERR | TMP1075_Set_ConversionRate (TMP1075_t *const pCpnt, const TMP1075_conv_rate rate) |
| Set TMP1075 automatic conversion rate. | |
| FctERR | TMP1075_Set_ConversionMode (TMP1075_t *const pCpnt, const TMP1075_shutdown_mode mode) |
| Set TMP1075 conversion mode (manual/auto) | |
| FctERR | TMP1075_Set_AlertMode (TMP1075_t *const pCpnt, const TMP1075_alert_mode mode) |
| Set TMP1075 alert mode (comparator/interrupt) | |
| FctERR | TMP1075_Set_AlertPolarity (TMP1075_t *const pCpnt, const TMP1075_alert_pol pol) |
| Set TMP1075 alert polarity. | |
| FctERR | TMP1075_Set_AlertNbFaults (TMP1075_t *const pCpnt, const TMP1075_nb_faults faults) |
| Set TMP1075 alert number of faults trigger. | |
| void | TMP1075_INT_GPIO_Init (TMP1075_t *const pCpnt, GPIO_TypeDef *const GPIOx, const uint16_t GPIO_Pin, const GPIO_PinState GPIO_Active) |
| Interrupt GPIO pin init for TMP1075. | |
| bool | TMP1075_INT_GPIO_Get (const TMP1075_t *const pCpnt) |
| Interrupt GPIO pin getter for ADS1115. | |
TMP1075 Driver extensions.
TMP1075: Temperature Sensor With I2C and SMBus Interface in Industry Standard LM75 Form Factor and Pinout
| FctERR TMP1075_Get_Temperature_Raw | ( | TMP1075_t *const | pCpnt, |
| int16_t *const | temp ) |
Get TMP1075 Raw temperature.
| [in] | pCpnt | - Pointer to TMP1075 component |
| [in,out] | temp | - pointer to Temperature value to read to |


| bool TMP1075_INT_GPIO_Get | ( | const TMP1075_t *const | pCpnt | ) |
Interrupt GPIO pin getter for ADS1115.
| [in] | pCpnt | - Pointer to TMP1075 component |


| void TMP1075_INT_GPIO_Init | ( | TMP1075_t *const | pCpnt, |
| GPIO_TypeDef *const | GPIOx, | ||
| const uint16_t | GPIO_Pin, | ||
| const GPIO_PinState | GPIO_Active ) |
Interrupt GPIO pin init for TMP1075.
| [in] | pCpnt | - Pointer to TMP1075 component |
| [in] | GPIOx | - INT port |
| [in] | GPIO_Pin | - INT pin |
| [in] | GPIO_Active | INT pin active state |

| FctERR TMP1075_Set_AlertMode | ( | TMP1075_t *const | pCpnt, |
| const TMP1075_alert_mode | mode ) |
Set TMP1075 alert mode (comparator/interrupt)
| [in] | pCpnt | - Pointer to TMP1075 component |
| [in] | mode | - Alert mode (comparator/interrupt) |


| FctERR TMP1075_Set_AlertNbFaults | ( | TMP1075_t *const | pCpnt, |
| const TMP1075_nb_faults | faults ) |
Set TMP1075 alert number of faults trigger.
| [in] | pCpnt | - Pointer to TMP1075 component |
| [in] | faults | - Number of faults to trigger alert |

| FctERR TMP1075_Set_AlertPolarity | ( | TMP1075_t *const | pCpnt, |
| const TMP1075_alert_pol | pol ) |
Set TMP1075 alert polarity.
| [in] | pCpnt | - Pointer to TMP1075 component |
| [in] | pol | - Alert pin polarity |

| FctERR TMP1075_Set_ConversionMode | ( | TMP1075_t *const | pCpnt, |
| const TMP1075_shutdown_mode | mode ) |
Set TMP1075 conversion mode (manual/auto)
| [in] | pCpnt | - Pointer to TMP1075 component |
| [in] | mode | - Conversion mode (manual/auto) |

| FctERR TMP1075_Set_ConversionRate | ( | TMP1075_t *const | pCpnt, |
| const TMP1075_conv_rate | rate ) |
Set TMP1075 automatic conversion rate.
| [in] | pCpnt | - Pointer to TMP1075 component |
| [in] | rate | - Conversion rate |


| FctERR TMP1075_Start_SingleConversion | ( | TMP1075_t *const | pCpnt | ) |
Start TMP1075 single conversion.
| [in] | pCpnt | - Pointer to TMP1075 component |
