Microchip® Advanced Software Framework

conf_example.h File Reference

Example specific configurations.

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

Macros

GPIO Connections and device addresses.

Introduction

This example application is created for AT30TSE758 on the ATAVRTempSensorX board. When checking this code on other devices, define the preprocessor symbol corresponding to the selected Sensor device, in the project properties eg: AT30TSE002B AT30TSE758 Connect pull up for TWI, on A3BU Xplained Kit or TempSensor Xplained

#define LED_LOW   J1_PIN5
 
#define LED_HIGH   J1_PIN7
 
#define LED_CRIT   J1_PIN3
 
#define LED_NORM   J1_PIN2
 
#define EVENT_PIN   J2_PIN6
 
#define PATTERN_TEST_LENGTH   7
 
#define TWI_SPEED   50000
 
#define EXAMPLE_TS_DEVICE   AT30TSE758
 
#define EXAMPLE_TS_DEVICE_ADDR   AT30TSE758_ADDR_LOCAL
 
#define EE_TEST_ADDR   130
 
#define AT30TSE002B_ADDR_LOCAL   0x18
 
#define AT30TSE758_ADDR_LOCAL   0x48
 
#define AT30TSE002B_EEPROM_ADDR_LOCAL   0x50
 
#define AT30TSE758_EEPROM_ADDR_LOCAL   0x50
 

#define AT30TSE002B_ADDR_LOCAL   0x18
#define AT30TSE002B_EEPROM_ADDR_LOCAL   0x50
#define AT30TSE758_ADDR_LOCAL   0x48
#define AT30TSE758_EEPROM_ADDR_LOCAL   0x50
#define EE_TEST_ADDR   130

Referenced by main().

#define EVENT_PIN   J2_PIN6

Referenced by main().

#define EXAMPLE_TS_DEVICE   AT30TSE758

Referenced by main().

#define EXAMPLE_TS_DEVICE_ADDR   AT30TSE758_ADDR_LOCAL

Referenced by main().

#define LED_CRIT   J1_PIN3

Referenced by main(), and test_fail_indication().

#define LED_HIGH   J1_PIN7

Referenced by main().

#define LED_LOW   J1_PIN5

Referenced by main().

#define LED_NORM   J1_PIN2

Referenced by main().

#define PATTERN_TEST_LENGTH   7

Referenced by main().

#define TWI_SPEED   50000

Referenced by main().