Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SH79F166AP/044PR Datasheet(PDF) 35 Page - SINOWEALTH Electronic Ltd

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

SH79F166AP/044PR Datasheet(HTML) 35 Page - SINOWEALTH Electronic Ltd

Back Button SH79F166AP/044PR Datasheet HTML 31Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 32Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 33Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 34Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 35Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 36Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 37Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 38Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 39Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 35 / 113 page
background image
SH79F166A
35
7.7.3 Port Diagram
Data
Register
Data Bus
Write
Read Port Pad
PxCRy
Read Data Register/Pad Selection
Read
PxPCRy
Output Mode
I/O Pad
0: From Pad
1: From data register
SFEN
Second
Function
Input Mode
Read Port Data Register
(Pull-up)
0 = ON
1 = OFF
VDD
VDD
0 = OFF
1 = ON
Note:
(1) The input source of reading input port operation is from the input pin directly.
(2) The input source of reading output port operation has two paths, one is from the port data Register, and the other is from the
output pin directly. The read Instruction distinguishes which path is selected: The read-modify-write instruction is for the
reading of the data register in output mode, and the other instructions are for reading of the output pin directly.
(3) The destination of writing port operation is the data register regardless the port shared as the second function or not.
7.7.4 Port Share
The 41 bi-directional I/O ports can also share second or third special function. But the share priority should obey the Outer
Most Inner Lest rule:
The out most pin function in Pin Configuration has the highest priority, and the inner most pin function has the lowest priority.
This means when one pin is occupied by a higher priority function (if enabled), it cannot be used as the lower priority functional
pin, even the lower priority function is also enabled. Only until the higher priority function is closed by hardware or software, can
the corresponding pin be released for the lower priority function use. Also the function that need pull up resister is also
controlled by the same rule.
When port share function is enabled, the user can modify PxCR, PxPCR (x = 0-5), but these operations will have no effect on
the port status until the second function was disabled.
When port share function is enabled, any read or write operation to port will only affect the data register while the port pin keeps
unchanged until all the share functions are disabled.
PORT0:
- LCD Segment 17-19 (P0.0-P0.2)
- PWM01: PWM01 output (P0.2)
- PWM0: PWM0 output (P0.3)
- INT0: external inturrupt0 (P0.4)
- INT1: external inturrupt1 (P0.5)
- INT2: external inturrupt2 (P0.6)
- INT3: external inturrupt3 (P0.7)
- T2: Timer2 external input/baud-rate clock output (P0.5)
- T2EX: Timer2 reload/capture control (P0.4)
- T4: Timer4 external input/baud-rate clock output (P0.3)
- XTALX1: XTAL input (P0.7)
- XTALX2: XTAL output (P0.6)



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