数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

TN1180 数据表(PDF) 2 Page - STMicroelectronics

部件名 TN1180
功能描述  How to interpret pressure and temperature readings in pressure sensors
PDF  9 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

TN1180 数据表(HTML) 2 Page - STMicroelectronics

  TN1180 Datasheet HTML 1Page - STMicroelectronics TN1180 Datasheet HTML 2Page - STMicroelectronics TN1180 Datasheet HTML 3Page - STMicroelectronics TN1180 Datasheet HTML 4Page - STMicroelectronics TN1180 Datasheet HTML 5Page - STMicroelectronics TN1180 Datasheet HTML 6Page - STMicroelectronics TN1180 Datasheet HTML 7Page - STMicroelectronics TN1180 Datasheet HTML 8Page - STMicroelectronics TN1180 Datasheet HTML 9Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 2 / 9 page
background image
Why we use two's complement
TN1180
1
Why we use two's complement
Measuring analog values and storing the data in a digital domain creates an interesting
dilemma. How do we represent negative analog values in a digital system? How do we
handle the number zero?
A computing system uses two's complement to simplify the processing logic required to
handle negative numbers and subtractions. A circuit designed for addition can handle
negative operands by using two’s complement. This minimizes the need for additional
circuitry capable of subtraction or additional switching circuitry based on the sign. Most
modern computers, MCU’s, and DSP’s use two’s complement notation.
If a register is defined as two’s complement, typically the most significant bit (msb) of the
most significant byte (MSB) indicates the sign as shown in the figure below. If the msb of
the register is 1, the number is negative and we use two’s complement. If the bit is 0, the
integer is positive and no translation is necessary.
Figure 2: Sign bit indicates whether a value is positive or negative
2/9
DocID026298 Rev 1
0 = POS
1 = NEG
pressure magnitude
Bit
15
Bit
14
Bit
13
Bit
12
Bit
11
Bit
10
Bit
9
Bit
8
Bit
7
Bit
6
Bit
5
Bit
4
bit
3
bit
2
bit
1
bit
0
PressOut_H (0x2A)
PressOut_L (0x29)
PressOut_XL (0x28)
Bit
23
Bit
22
Bit
21
Bit
20
Bit
19
Bit
18
Bit
17
Bit
16
S
I
G
N



Html Pages

1 2 3 4 5 6 7 8 9


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com