Electronic Components Datasheet Search
  Indian  ▼
ALLDATASHEET.IN

X  

SH89F52P/044PR Datasheet(PDF) 84 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) 84 Page - SINOWEALTH Electronic Ltd

Back Button 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 SH89F52P/044PR Datasheet HTML 87Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 88Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 84 / 105 page
background image
SH88F516(SH88F54/SH89F52)
84
9.6 Comparator (CMP)
9.6.1 Feature
 Single power operation
 Output positive/negative control
 Work in Idle or Power-Down mode
SH88F516 consists of two independent precision voltage comparators. The CMPxP pin is the positive input of the Comparator.
The CMPxN pin is the negative input of the Comparator. The CMPxO pin is the output of the Comparator, and it can be changed
as the normal I/O port or comparator output pin under the condition of the comparator being enabled.
If CMPEN = 1 and CMPIE = 1, any change on the output value of the Comparator would generate an interrupt request (CMPIF
= 1). The Comparator interrupt can also wake the CPU from IDLE or Power-Down mode.
CMP
Built-in CMP
CMPxP
CMPxN
CMPxO
register.CMPO
CMPxOC
Note: It will take 2ms for the first start of comparator;Users need to clear CMPxIF before using comparator for the first time.
9.6.2 Register
Table 9.20 CMP Control Register
91H,92H
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
CMPCONx (x=0,1)
CMPxEN
CMPxIF
-
-
-
CMPxOC
CINxV
COUTx
R/W
R/W
R/W
-
-
-
R/W
R/W
R
Reset Value
(POR/WDT/LVR/PIN)
0
0
-
-
-
0
0
0
Bit Number
Bit Mnemonic
Description
7
CMPxEN
Comparator Enable Control bit
0: Disable Comparator
1: Enable Comparator
6
CMPxIF
Comparator output Interrupt Flag
0: Comparator output has not changed
1: Comparator output has changed (must be cleared by software)
2
CMPxOC
Comparator Output Control bit
0: Comparator without output (CMPxO is I/O or other function)
1: Comparator with output (CMPxO is comparator output)
1
CINxV
Comparator output Inversion bit
0: Comparator output not Inverted
1: Comparator output Inverted
0
COUTx
Comparator output bit
COUT = 0, when CMPP < CMPN and CINV = 0
COUT = 1, when CMPP > CMPN and CINV = 0
COUT = 0, when CMPP > CMPN and CINV = 1
COUT = 1, when CMPP < CMPN and CINV = 1



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