Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

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

Back Button SH89F52P/044PR Datasheet HTML 53Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 54Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 55Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 56Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 57Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 58Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 59Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 60Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 61Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 57 / 105 page
background image
SH88F516(SH88F54/SH89F52)
57
9.
Enhanced Function
9.1 PWM (Pulse Width Modulation)
The SH88F516 has 3 8-bit PWM module. Which can provide the pulse width modulation waveform with the period and the duty
being controlled individually by corresponding register.
PWM timer also provides 3 interrupts for PWM0. This makes it possible to change period or duty of next cycle in every PWM
period.
Table 9.1 PWMx (x = 0-2) Timer Control Register
D9H - DBH
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
PWMxCON (x=0-2)
EPWMx
PWMxS
PWMxCK1 PWMxCK0
-
-
PWMxIF
PWMxSS
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
Bit Number
Bit Mnemonic
Description
7
EPWMx
PWMx enable bit
0: PWMx Timer off (Default)
1: PWMx Timer on
6
PWMxS
PWMx output normal mode of duty cycle
0: high active (Default)
1: low active
5-4
PWMxCK1-0
PWMx clock source selector
00: system frequency/2 (Default)
01: system frequency/4
10: system frequency/8
11: system frequency/16
3-2
-
-
1
PWMxIF
PWMx interrupt flag bit
0: no interrupt, cleared by software (Default)
1: interrupt occur, set by hardware to indicate that the PWM0 period counter
overflow
0
PWMxSS
PWMx output pin function selection
0: IO (Default)
1: PWM output
Table 9.2 PWMx (x = 0-2)Period Control Register
D1H - D3H
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
PWMxP (x=0-2)
PWMxP.7
PWMxP.6
PWMxP.5
PWMxP.4
PWMxP.3
PWMxP.2
PWMxP.1
PWMxP.0
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
PWMxP[7:0]
PWMx Period Registers
PWM output period = PWMxP[7:0] X PWM clock no matter how much PWM duty
When PWMxP[7:0] = 000H, if PWMS = 0, PWMx output low level, no matter how
much PWM duty
When PWMxP[7:0] = 000H, if PWMS = 1, PWMx output high level, no matter how
much PWM duty



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