Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

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

Back Button SH79F166AP/044PR Datasheet HTML 68Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 69Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 70Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 71Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 72Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 73Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 74Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 75Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 76Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 72 / 113 page
background image
SH79F166A
72
8.3.4 12-bit PWM Timer
The SH79F166A has one 12-bit PWM module. The PWM module can provide the pulse width modulation waveform with the
period and the duty being controlled, individually. The PWMC is used to control the PWM module operation with proper clocks.
The PWMP is used to control the period cycle of the PWM module output. PWMD is used to control the duty in the waveform of
the PWM module output.
It is acceptable to change these 3 registers during PWM output Enable. All the change will take affect at the next PWM period.
Table 8.15 12-bit PWM Control Register
D2H
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
PWM0C
PWM0IE
PWM0IF
-
FLTS
FLTC
PWM0S
TnCK01
TnCK00
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
Bit Number
Bit Mnemonic
Description
7
PWM0IE
PWM0 interrupt enable bit (When EPWM bit in IEN1 is set)
0: Disable PWM0 interrupt
1: Enable PWM0 interrupt
6
PWM0IF
PWM0 interrupt flag
0: Clear by software
1: Set by hardware to indicate that the PWM0 period counter overflow
4
FLTS
FLT status bit
0: PWM is in normal status, cleared by software
1: PWM is in inactive status, set automatically by hardware
3
FLTC
FLT pin configuration
0: Inactivate the PWM output when FLT is low level
1: Inactivate the PWM output when FLT is high level
2
PWM0S
PWM0 output normal mode of duty cycle
0: high active, PWM0 output high during duty time, output low during remain period
time
1: low active, PWM0 output low during duty time, output high during remain period
time
1-0
TnCK0[1:0]
12-bit PWM clock selector:
00: Oscillator clock/2
01: Oscillator/4
10: Oscillator/8
11: Oscillator/16
Note: When OP_OSC is 0000, 0011 or 1010,PWM clock source is internal RC,
When OP_OSC is 1110, PWM clock source is crystal or ceramic, When OP_OSC
is 0110 or 1101, PWM clock source is crystal or ceramic in XTALX pins.
Note:
(1)Inactivate PWM here means PWM0 and PWM01 outputs keep Low (if PWM0S = 0) or High (if PWM0S = 1).
(2) The PWM outputs will remain in the inactive states as soon as the high/low level of FLT pin is detected.
(3)Clearing FLTS bit when a FAULT input is coming will not success.



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