Other Parts Discussed in Thread: C2000WARE
在这一章节中 提到了很多函数的名字
The Device_cal() function copies the trim values for ADC and DAC offset from OTP memory to their
respective trim registers.
问题1.按照这段文字的描述,Device_cal()函数是用来配置偏置值的吗?
The CalAdcXINL() functions copy the trim values for linearity from OTP memory to the respective trim
registers.
问题2.按照这段文字的描述,CalAdcXINL函数是用来配置线性度的吗?可是这个函数是在哪里定义又是在何处调用的呢?
A different offset trim is required for each possible combination of resolution and signal mode. The
GetAdcOffsetTrimOTP(Uint16) function takes an input value corresponding to the ADC, resolution, and signal
mode and returns the corresponding offset trim value from OTP memory, which the user then moves into the
ADC offset trim register.
问题3.GetAdcOffsetTrimOTP这个函数是在哪里定义的?
问题4.按照“takes an input value corresponding to the ADC, resolution, and signalmode”的描述,函数GetAdcOffsetTrimOTP的参数是与ADC、分辨率、采样模式有关的一个Uint16的数值,这个Uint16的数值的和这三个参数是什么关系,哪里有定义?
The trim functions in Device_cal() are callable in C2000ware as ADC_setOFFSETTRIM(),
ADC_setINLTRIM(), and DAC_setDACTRIM(). These functions fetch trim values from the TI reserved OTP
memory source locations where the values are stored during test process as well as the analog module
register destinations where the trim values are copied to.
问题5.这段描述中提到了4个函数的名字,Device_cal、ADC_setOFFSETTRIM、ADC_setINLTRIM、DAC_setDACTRIM之间是什么关系?从这段的描述看,是Device_cal包含其余3个函数吗?调用Device_cal是会调用其余3个函数吗?
问题6. CalAdcXINL和ADC_setINLTRIM看起来都是对线性度的设定,这二者之间有什么关系吗?

