|
HAL856 Datasheet, PDF (39/42 Pages) Micronas – Programmable Linear Hall-Effect Sensor with Arbitrary Output Characteristic (2-Wire) | |||
|
◁ |
DATA SHEET
HAL 856
5.4. Number Formats
Binary number:
The most significant bit is given as first, the least sig-
nificant bit as last digit.
Example: 101001 represents 41 decimal.
Signed binary number:
The first digit represents the sign of the following
binary number (1 for negative, 0 for positive sign).
Example: 0101001 represents +41 decimal
1101001 represents â41 decimal
Twoâs-complementary number:
The first digit of positive numbers is â0â, the rest of the
number is a binary number. Negative numbers start
with â1â. In order to calculate the absolute value of the
number, calculate the complement of the remaining
digits and add â1â.
Example: 0101001 represents +41 decimal
1010111 represents â41 decimal
5.5. Register Information
CURRENTSOURCE
â The register range is from 0 to 1023 and contains
the settings for LOW CURRENT, HIGH CURRENT,
and SLEW RATE:
CURRENTSOURCE = SLEW RATE Ã 128 +
LOW CURRENT Ã 8 + HIGH CURR ENT
PARTNUMBER
â The register range is from 0 up to 2047.
SHIFT
â The register range is from â1024 up to 1023.
â The register value is calculated by:
SHIFT
=
Shift
100%
Ã
1024
SLOPE
â The register range is from â8192 up to 8191.
â The register value is calculated by:
TC and TCSQ
â The TC register range is from â31 up to 31.
â The TCSQ register range is from 0 up to 31.
Note: The word length TC register is 7 bit. The 6 LSBs
represent a signed binary number. The MSB
has to be ignored.
MODE
â The register range is from 0 up to 16383 and con-
tains the settings for PERIOD, FORMAT, FILTER,
and RANGE:
Please refer to the data sheet for the available
PERIOD, FORMAT, FILTER, and RANGE values.
DIGITAL-READOUT
â This register is read only.
â The register range is from 0 up to 4095.
OFFSET CORRECTION
â The register range is from 0 to 31
â The MSB is set to activate the offset correction.
Micronas
March 23, 2010; DSH000142_002EN
39
|
▷ |