Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

C8051F54X Datasheet(PDF) 37 Page - Silicon Laboratories

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

C8051F54X Datasheet(HTML) 37 Page - Silicon Laboratories

Back Button C8051F54X Datasheet HTML 33Page - Silicon Laboratories C8051F54X Datasheet HTML 34Page - Silicon Laboratories C8051F54X Datasheet HTML 35Page - Silicon Laboratories C8051F54X Datasheet HTML 36Page - Silicon Laboratories C8051F54X Datasheet HTML 37Page - Silicon Laboratories C8051F54X Datasheet HTML 38Page - Silicon Laboratories C8051F54X Datasheet HTML 39Page - Silicon Laboratories C8051F54X Datasheet HTML 40Page - Silicon Laboratories C8051F54X Datasheet HTML 41Page - Silicon Laboratories Next Button
Zoom Inzoom in Zoom Outzoom out
 37 / 276 page
background image
C8051F54x
Rev. 1.1
37
5.3.2. Setting the Gain Value
The three programmable gain registers are accessed indirectly using the ADC0H and ADC0L registers
when the GAINEN bit (ADC0CF.0) bit is set. ADC0H acts as the address register, and ADC0L is the data
register. The programmable gain registers can only be written to and cannot be read. See Gain Register
Definition 5.1, Gain Register Definition 5.2, and Gain Register Definition 5.3 for more information.
The gain is programmed using the following steps:
1. Set the GAINEN bit (ADC0CF.0)
2. Load the ADC0H with the ADC0GNH, ADC0GNL, or ADC0GNA address.
3. Load ADC0L with the desired value for the selected gain register.
4. Reset the GAINEN bit (ADC0CF.0)
Notes:
1.
An ADC conversion should not be performed while the GAINEN bit is set.
2.
Even with gain enabled, the maximum input voltage must be less than VREGIN and the maximum
voltage of the signal after gain must be less than or equal to VREF.
In code, changing the value to 0.44 gain from the previous example looks like:
// in ‘C’:
ADC0CF |= 0x01;
// GAINEN = 1
ADC0H = 0x04;
// Load the ADC0GNH address
ADC0L = 0x6C;
// Load the upper byte of 0x6CA to ADC0GNH
ADC0H = 0x07;
// Load the ADC0GNL address
ADC0L = 0xA0;
// Load the lower nibble of 0x6CA to ADC0GNL
ADC0H = 0x08;
// Load the ADC0GNA address
ADC0L = 0x01;
// Set the GAINADD bit
ADC0CF &= ~0x01;
// GAINEN = 0
; in assembly
ORL ADC0CF,#01H
; GAINEN = 1
MOV ADC0H,#04H
; Load the ADC0GNH address
MOV ADC0L,#06CH
; Load the upper byte of 0x6CA to ADC0GNH
MOV ADC0H,#07H
; Load the ADC0GNL address
MOV ADC0L,#0A0H
; Load the lower nibble of 0x6CA to ADC0GNL
MOV ADC0H,#08H
; Load the ADC0GNA address
MOV ADC0L,#01H
; Set the GAINADD bit
ANL ADC0CF,#0FEH
; GAINEN = 0


Similar Part No. - C8051F54X

ManufacturerPart #DatasheetDescription
logo
Silicon Laboratories
C8051F54X SILABS-C8051F54X Datasheet
1Mb / 275P
   Mixed Signal ISP Flash MCU Family
C8051F54X SILABS-C8051F54X_14 Datasheet
1Mb / 275P
   Mixed Signal ISP Flash MCU Family
More results

Similar Description - C8051F54X

ManufacturerPart #DatasheetDescription
logo
List of Unclassifed Man...
C8051F300 ETC-C8051F300 Datasheet
3Mb / 174P
   Mixed Signal ISP Flash MCU Family
logo
Silicon Laboratories
C8051F80X SILABS-C8051F80X Datasheet
1Mb / 250P
   Mixed Signal ISP Flash MCU Family
C8051F80X SILABS-C8051F80X_14 Datasheet
1Mb / 251P
   Mixed Signal ISP Flash MCU Family
C8051F040-GQR SILABS-C8051F040-GQR Datasheet
2Mb / 328P
   Mixed Signal ISP Flash MCU Family
C8051F120 SILABS-C8051F120 Datasheet
2Mb / 356P
   Mixed Signal ISP Flash MCU Family
C8051F300 SILABS-C8051F300 Datasheet
1Mb / 176P
   Mixed Signal ISP Flash MCU Family
C8051F70X SILABS-C8051F70X Datasheet
1Mb / 290P
   Mixed Signal ISP Flash MCU Family
C8051F50X SILABS-C8051F50X Datasheet
2Mb / 312P
   Mixed Signal ISP Flash MCU Family
C8051F54X SILABS-C8051F54X_14 Datasheet
1Mb / 275P
   Mixed Signal ISP Flash MCU Family
C8051F124-GQR SILABS-C8051F124-GQR Datasheet
1Mb / 350P
   Mixed Signal ISP Flash MCU Family
More results


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




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   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