|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
TMP1075 Driver procedures. More...


Data Structures | |
| struct | TMP1075_t |
| TMP1075 user interface struct. More... | |
Macros | |
| #define | TMP1075_CFGR_7_0 0xFFU |
| TMP1075 Reserved bits set to FFh. | |
| #define | TMP1075N_CHIP_ID 0x7500U |
| TMP1075 Chip ID to check against. | |
Enumerations | |
| enum | TMP1075_limit { TMP1075__LIMIT_LOW = 0U , TMP1075__LIMIT_HIGH } |
| Limits enum of TMP1075. More... | |
Functions | |
| FctERR | TMP1075_Init_Sequence (TMP1075_t *const pCpnt) |
| Initialization Sequence for TMP1075 peripheral. | |
| FctERR | TMP1075_Set_LimitTemp (TMP1075_t *const pCpnt, const float temp, const TMP1075_limit lim) |
| Set the low/high limit temperature. | |
| FctERR | TMP1075_Get_LimitTemp (TMP1075_t *const pCpnt, float *temp, TMP1075_limit lim) |
| Get the low/high limit temperature. | |
| FctERR | TMP1075_Get_Temperature (TMP1075_t *const pCpnt, float *temp) |
| Get the temperature. | |
| FctERR | TMP1075_handler (TMP1075_t *const pCpnt) |
| Handler for TMP1075 peripheral. | |
| FctERR | TMP1075_handler_it (TMP1075_t *const pCpnt) |
| Handler for TMP1075 peripheral GPIO interrupt. | |
| FctERR | TMP1075_handler_all (void) |
| Handler for all TMP1075 peripherals. | |
| FctERR | TMP1075_handler_it_all (void) |
| Handler for all TMP1075 peripherals GPIO interrupt. | |
Variables | |
| TMP1075_t | TMP1075 [I2C_TMP1075_NB] |
| TMP1075 User structure. | |
TMP1075 Driver procedures.
TMP1075: Temperature Sensor With I2C and SMBus Interface in Industry Standard LM75 Form Factor and Pinout
| #define TMP1075_CFGR_7_0 0xFFU |
TMP1075 Reserved bits set to FFh.
| #define TMP1075N_CHIP_ID 0x7500U |
TMP1075 Chip ID to check against.
| enum TMP1075_limit |
| FctERR TMP1075_Get_LimitTemp | ( | TMP1075_t *const | pCpnt, |
| float * | temp, | ||
| TMP1075_limit | lim ) |
Get the low/high limit temperature.
| [in] | pCpnt | - Pointer to TMP1075 component |
| [in,out] | temp | - pointer to temperature to read to (in Celsius degrees) |
| [in] | lim | - Limit type |


| FctERR TMP1075_Get_Temperature | ( | TMP1075_t *const | pCpnt, |
| float * | temp ) |
Get the temperature.
| [in] | pCpnt | - Pointer to TMP1075 component |
| [in,out] | temp | - pointer to temperature to read to (in Celsius degrees) |


| FctERR TMP1075_handler | ( | TMP1075_t *const | pCpnt | ) |
Handler for TMP1075 peripheral.
| [in] | pCpnt | - Pointer to TMP1075 component |


| FctERR TMP1075_handler_all | ( | void | ) |
Handler for all TMP1075 peripherals.

| FctERR TMP1075_handler_it | ( | TMP1075_t *const | pCpnt | ) |
Handler for TMP1075 peripheral GPIO interrupt.
| [in] | pCpnt | - Pointer to TMP1075 component |


| FctERR TMP1075_handler_it_all | ( | void | ) |
Handler for all TMP1075 peripherals GPIO interrupt.

| FctERR TMP1075_Init_Sequence | ( | TMP1075_t *const | pCpnt | ) |
Initialization Sequence for TMP1075 peripheral.
| [in] | pCpnt | - Pointer to TMP1075 component |


| FctERR TMP1075_Set_LimitTemp | ( | TMP1075_t *const | pCpnt, |
| const float | temp, | ||
| const TMP1075_limit | lim ) |
Set the low/high limit temperature.
| [in] | pCpnt | - Pointer to TMP1075 component |
| [in,out] | temp | - temperature (in Celsius degrees) |
| [in] | lim | - Limit type |

|
extern |
TMP1075 User structure.