Electronic Components Datasheet Search
  Indian  ▼
ALLDATASHEET.IN

X  

SH89F52P/044PR Datasheet(PDF) 82 Page - SINOWEALTH Electronic Ltd

Part # SH89F52P/044PR
Description  8051 Microcontroller with 10bit ADC
PDF  105 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SINOWEALTH [SINOWEALTH Electronic Ltd]
Direct Link  https://en.sinowealth.com
Logo SINOWEALTH - SINOWEALTH Electronic Ltd

SH89F52P/044PR Datasheet(HTML) 82 Page - SINOWEALTH Electronic Ltd

Back Button SH89F52P/044PR Datasheet HTML 78Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 79Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 80Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 81Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 82Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 83Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 84Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 85Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 86Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 82 / 105 page
background image
SH88F516(SH88F54/SH89F52)
82
Table 9.17 ADC Channel Configure Register
95H
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
ADCH
CH7
CH6
CH5
CH4
CH3
CH2
CH1
CH0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset Value
(POR/WDT/LVR/PIN))
0
0
0
0
0
0
0
0
Bit Number
Bit Mnemonic
Description
7-0
CH[7:0]
Channel Configuration bits
0: P0.x (x = 0 - 7) are I/O port or other function
1: P0.x (x = 0 - 7) are ADC input port (When P0x isn’t configured as other function)
Table 9.18 AD Converter Data Register (Compare Value Register)
96H
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
ADDL
-
-
-
-
-
-
A1
A0
R/W
-
-
-
-
-
-
R/W
R/W
Reset Value
(POR/WDT/LVR/PIN)
-
-
-
-
-
-
0
0
97H
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
ADDH
A9
A8
A7
A6
A5
A4
A3
A2
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset Value
(POR/WDT/LVR/PIN)
0
0
0
0
0
0
0
0
Bit Number
Bit Mnemonic
Description
1-0
7-0
A9-A0
ADC Data register
Digital Value of sampled analog voltage, updated when conversion is completed
If ADC Compare function is enabled (EC = 1), the value will be compared with the
analog input
The Approach for AD Conversion:
(1) Select the analog input channels and reference voltage.
(2) Enable the ADC module with the selected analog channel.
(3) Set GO/DONE
————
= 1 to start the AD conversion.
(4) Wait until GO/DONE
————
= 0 or ADCIF = 1, if the ADC interrupt is enabled, the ADC interrupt will occur, user need clear ADCIF
by software.
(5) Acquire the converted data from ADDH/ADDL.
(6) Repeat step 3-5 if another conversion is required.
The Approach for Digital Compare Function:
(1) Select the analog input channels and reference voltage.
(2) Write ADDH/ADDL to set the compare value.
(3) Set EC = 1 to enable compare function.
(4) Enable the ADC module with the selected analog channel.
(5) Set GO/DONE
————
= 1 to start the compare function.
(6) If the analog input is lager than compare value set in ADDH/ADDL, the ADCIF will be set to 1. If the ADC interrupt is enabled,
the ADC interrupt will occur, user need clear ADCIF by software.
(7) The compare function will continue work until the GO/DONE
————
bit is cleared to 0.



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