x9522v20iz-bt1 Intersil Corporation, x9522v20iz-bt1 Datasheet - Page 26

no-image

x9522v20iz-bt1

Manufacturer Part Number
x9522v20iz-bt1
Description
Triple Dcp, Dual Voltage Monitors
Manufacturer
Intersil Corporation
Datasheet
APPENDIX 2
DCP1 (100 Tap) tap position to Data Byte translation algorithm example. (Example 2)
unsigned DCP100_TAP_Position(int tap_pos)
{
/* optional range checking
*/ if (tap_pos < 0) return ((unsigned)0);
/* 100 Tap DCP encoding formula */
if (tap_pos > 74)
}
else if (tap_pos >99) return ((unsigned) 96);
return ((unsigned) (195 - tap_pos));
else if (tap_pos > 49)
return ((unsigned) (14 + tap_pos));
else if (tap_pos > 24)
return ((unsigned) (81 - tap_pos));
else return (tap_pos);
26
X9522
/* set to max val */
/* set to min val */
January 3, 2006
FN8208.1

Related parts for x9522v20iz-bt1