Microchip® Advanced Software Framework

at30tse75x.c File Reference

AT30TSE75X driver.

Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries.

#include <at30tse75x.h>

Functions

void at30tse_eeprom_read (uint8_t *data, uint8_t length, uint8_t word_addr, uint8_t page)
 Reads data from the EEPROM. More...
 
void at30tse_eeprom_write (uint8_t *data, uint8_t length, uint8_t word_addr, uint8_t page)
 Writes the EEPROM with data provided. More...
 
void at30tse_init (void)
 Configures the SERCOM I2C master to be used with the AT30TSE75X device. More...
 
uint16_t at30tse_read_register (uint8_t reg, uint8_t reg_type, uint8_t reg_size)
 Reads the value from the register reg. More...
 
double at30tse_read_temperature ()
 Reads the temperature value. More...
 
void at30tse_set_register_pointer (uint8_t reg, uint8_t reg_type)
 Sets the register pointer with specified reg value. More...
 
void at30tse_write_config_register (uint16_t value)
 Writes the configuration register reg with the value passed. More...
 
void at30tse_write_register (uint8_t reg, uint8_t reg_type, uint8_t reg_size, uint16_t reg_value)
 Writes the specified register reg with the reg_value passed. More...
 

Variables

struct i2c_master_module dev_inst_at30tse75x
 
uint8_t resolution = AT30TSE_CONFIG_RES_9_bit
 

uint8_t resolution = AT30TSE_CONFIG_RES_9_bit

Referenced by _adc_set_config().