Electronic Components Datasheet Search
  English  ▼

X  

C8051F360 Datasheet(PDF) 118 Page - Silicon Laboratories

Part # C8051F360
Description  Mixed Signal ISP Flash MCU Family
PDF  288 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SILABS [Silicon Laboratories]
Direct Link  http://www.silabs.com
Logo SILABS - Silicon Laboratories

C8051F360 Datasheet(HTML) 118 Page - Silicon Laboratories

Back Button C8051F360 Datasheet HTML 114Page - Silicon Laboratories C8051F360 Datasheet HTML 115Page - Silicon Laboratories C8051F360 Datasheet HTML 116Page - Silicon Laboratories C8051F360 Datasheet HTML 117Page - Silicon Laboratories C8051F360 Datasheet HTML 118Page - Silicon Laboratories C8051F360 Datasheet HTML 119Page - Silicon Laboratories C8051F360 Datasheet HTML 120Page - Silicon Laboratories C8051F360 Datasheet HTML 121Page - Silicon Laboratories C8051F360 Datasheet HTML 122Page - Silicon Laboratories Next Button
Zoom Inzoom in Zoom Outzoom out
 118 / 288 page
background image
C8051F360/1/2/3/4/5/6/7/8/9
118
Rev. 1.0
11.2. Integer and Fractional Math
MAC0 is capable of interpreting the 16-bit inputs stored in MAC0A and MAC0B as signed integers or as
signed fractional numbers. When the MAC0FM bit (MAC0CF.1) is cleared to ‘0’, the inputs are treated as
16-bit, 2’s complement, integer values. After the operation, the accumulator will contain a 40-bit, 2’s com-
plement, integer value. Figure 11.2 shows how integers are stored in the SFRs.
-(215)
214
213
212
211
210
29
28
27
26
25
24
23
22
21
20
-(239)
238
233
232
231
230
21
20
22
229
23
228
24
High Byte
Low Byte
MAC0OVR
MAC0ACC3 : MAC0ACC2 : MAC0ACC1 : MAC0ACC0
MAC0A and MAC0B Bit Weighting
MAC0 Accumulator Bit Weighting
Figure 11.2. Integer Mode Data Representation
When the MAC0FM bit is set to ‘1’, the inputs are treated at 16-bit, 2’s complement, fractional values. The
decimal point is located between bits 15 and 14 of the data word. After the operation, the accumulator will
contain a 40-bit, 2’s complement, fractional value, with the decimal point located between bits 31 and 30.
Figure 11.3 shows how fractional numbers are stored in the SFRs.
-1
2-1
2-2
2-3
2-4
2-5
2-6
2-7
2-8
2-9
2-10
2-11
2-12
2-13
2-14
2-15
-(28)
27
22
21
20
2-1
2-30
2-31
2-29
2-2
2-28
2-3
2-27
High Byte
Low Byte
MAC0OVR
MAC0ACC3 : MAC0ACC2 : MAC0ACC1 : MAC0ACC0
MAC0A, and MAC0B Bit Weighting
MAC0 Accumulator Bit Weighting
MAC0RND Bit Weighting
* The MAC0RND register contains the 16 LSBs of a two's complement number. The MAC0N Flag can be
used to determine the sign of the MAC0RND register.
1
2-1
2-2
2-3
2-4
2-5
2-6
2-7
2-8
2-9
2-10
2-11
2-12
2-13
2-14
2-15
High Byte
Low Byte
* -2
Figure 11.3. Fractional Mode Data Representation



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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