|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
TMP1075 Driver. More...
#include "TMP1075.h"
Functions | |
| FctERR | TMP1075_Init (const uint8_t idx, I2C_HandleTypeDef *const hi2c, const uint16_t devAddress) |
| Initialization for TMP1075 peripheral. | |
| FctERR | TMP1075_Init_Single (void) |
| Initialization for TMP1075 peripheral. | |
| FctERR | TMP1075_Write_Byte (I2C_slave_t *const pSlave, const uint8_t *data, const uint16_t addr) |
| I2C Write function for TMP1075. | |
| FctERR | TMP1075_Read_Byte (I2C_slave_t *const pSlave, uint8_t *data, const uint16_t addr) |
| I2C Read function for TMP1075. | |
| FctERR | TMP1075_Write_Word (I2C_slave_t *const pSlave, const uint16_t *data, const uint16_t addr) |
| I2C Word Write (little endian) function for TMP1075. | |
| FctERR | TMP1075_Read_Word (I2C_slave_t *const pSlave, uint16_t *data, const uint16_t addr) |
| I2C Word Read (little endian) function for TMP1075. | |
TMP1075 Driver.
TMP1075: Temperature Sensor With I2C and SMBus Interface in Industry Standard LM75 Form Factor and Pinout
| FctERR TMP1075_Init | ( | const uint8_t | idx, |
| I2C_HandleTypeDef *const | hi2c, | ||
| const uint16_t | devAddress ) |
Initialization for TMP1075 peripheral.
| [in] | idx | - TMP1075 index |
| [in] | hi2c | - pointer to TMP1075 I2C instance |
| [in] | devAddress | - TMP1075 device address |


| FctERR TMP1075_Init_Single | ( | void | ) |
Initialization for TMP1075 peripheral.

| FctERR TMP1075_Read_Byte | ( | I2C_slave_t *const | pSlave, |
| uint8_t * | data, | ||
| const uint16_t | addr ) |
I2C Read function for TMP1075.
| [in] | pSlave | - Pointer to I2C slave instance |
| [in,out] | data | - pointer to read to |
| [in] | addr | - Address to read from |


| FctERR TMP1075_Read_Word | ( | I2C_slave_t *const | pSlave, |
| uint16_t * | data, | ||
| const uint16_t | addr ) |
I2C Word Read (little endian) function for TMP1075.
| [in,out] | pSlave | - Pointer to I2C slave instance |
| [in,out] | data | - pointer to read to |
| [in] | addr | - Address to read from |


| FctERR TMP1075_Write_Byte | ( | I2C_slave_t *const | pSlave, |
| const uint8_t * | data, | ||
| const uint16_t | addr ) |
I2C Write function for TMP1075.
| [in] | pSlave | - Pointer to I2C slave instance |
| [in] | data | - pointer to write from |
| [in] | addr | - Address to write to |


| FctERR TMP1075_Write_Word | ( | I2C_slave_t *const | pSlave, |
| const uint16_t * | data, | ||
| const uint16_t | addr ) |
I2C Word Write (little endian) function for TMP1075.
| [in,out] | pSlave | - Pointer to I2C slave instance |
| [in] | data | - pointer to write from |
| [in] | addr | - Address to write to |

