BSP430  20141115
Board Support Package for MSP430 microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
sBPS430tlvADC Struct Reference

#include <bsp430/utility/tlv.h>

Data Fields

sBSP430tlvEntry hdr
 
unsigned int cal_adc_gain_factor
 
unsigned int cal_adc_offset
 
unsigned int cal_adc_15vref_factor
 
unsigned int cal_adc_15t30
 
unsigned int cal_adc_15t85
 
unsigned int cal_adc_25vref_factor
 
unsigned int cal_adc_25t30
 
unsigned int cal_adc_25t85
 

Detailed Description

TLV entry for TAG_ADC10_1 and TAG_ADC12_1 on 2xx MCUs

These are ADC gain and offset calibration constants, as well as constants for the internal temperature sensor. The tag values are not defined on all MCUs, and the observed value is 8 on some and 0x10 on others. The address of sBSP430tlvADC::cal_adc_gain_factor is fixed at 0x10DC.

When processing a 2xx descriptor table, it is reasonable to assume that any tag that is not TAG_DCO_30 nor TAG_EMPTY corresponds to an ADC structure.

Field Documentation

unsigned int sBPS430tlvADC::cal_adc_15t30

VREF2_5 = 0, TA = 30Cel +/- 2Cel

unsigned int sBPS430tlvADC::cal_adc_15t85

VREF2_5 = 0, TA = 85Cel +/- 2Cel

unsigned int sBPS430tlvADC::cal_adc_15vref_factor

VREF2_5 = 0, TA = 30Cel +/- 2Cel

unsigned int sBPS430tlvADC::cal_adc_25t30

VREF2_5 = 1, TA = 30Cel +/- 2Cel

unsigned int sBPS430tlvADC::cal_adc_25t85

VREF2_5 = 1, TA = 85Cel +/- 2Cel

unsigned int sBPS430tlvADC::cal_adc_25vref_factor

VREF2_5 = 1, TA = 30Cel +/- 2Cel

unsigned int sBPS430tlvADC::cal_adc_gain_factor

VeREF = 2.5 V, TA = 85Cel +/- 2Cel, fADC12CLK = 5 MHz

unsigned int sBPS430tlvADC::cal_adc_offset

VeREF = 2.5 V, TA = 85Cel +/- 2Cel, fADC12CLK = 5 MHz

sBSP430tlvEntry sBPS430tlvADC::hdr

Standard tag/len pair


The documentation for this struct was generated from the following file: