ST92185B STMicroelectronics, ST92185B Datasheet - Page 162

no-image

ST92185B

Manufacturer Part Number
ST92185B
Description
16k/24k/32k Rom Hcmos Mcu With On-screen-display
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST92185B
Manufacturer:
ST
0
Part Number:
ST92185B1
Manufacturer:
ST
0
Part Number:
ST92185B2
Manufacturer:
ST
0
Part Number:
ST92185B2B1/EKO
Manufacturer:
ST
0
Part Number:
ST92185B2BJ1
Manufacturer:
ST
0
Part Number:
ST92185BJ2B1/0BE
Manufacturer:
ST
Quantity:
122
Part Number:
ST92185BJ2B1/0BE
Quantity:
87
Part Number:
ST92185BN4B1/PBI
Manufacturer:
ST
Quantity:
35
ST92185B - PWM GENERATOR
PWM GENERATOR (Cont’d)
Up to 8 PWM outputs can be selected as Alternate
Functions of an I/O port. Each output bit is inde-
pendently controlled by a separate Compare Reg-
ister. When the value programmed into the Com-
pare Register and the counter value are equal, the
corresponding output bit is set. The output bit is re-
set by a counter clear (by overflow or autoclear),
generating the variable PWM signal.
Each output bit can also be complemented or dis-
abled under software control.
Figure 103. PWM Action When Compare Register = 0 (no complement)
Figure 104. PWM Action When Compare Register = 3 (no complement)
162/178
OUTPUT
OUTPUT
CLOCK
CLOCK
PWM
PWM
PWM
PWM
Counter=Autoclear value
Counter=Autoclear value
7.9.2 Register Mapping
The ST9 can have one or two PWM Generators.
Each has 13 registers mapped in page 59 (PWM0)
or page 58 (PWM1). In the register description on
the following pages, the register page refers to
PWM0 only.
R253- R255
Register
Address
R240
R241
R242
R243
R244
R245
R246
R247
R248
R249
R250
R251
R252
Counter=0
Counter=0
Register
OCPLR
PCTLR
ACR
CRR
OER
CM0
CM1
CM2
CM3
CM4
CM5
CM6
CM7
Ch. 0 Compare Register
Ch. 1 Compare Register
Ch. 2 Compare Register
Ch. 3 Compare Register
Ch. 4 Compare Register
Ch. 5 Compare Register
Ch. 6 Compare Register
Ch. 7 Compare Register
Autoclear Register
Counter Read Register
Prescaler/ Reload Reg.
Output Complement Reg.
Output Enable Register
Reserved
Counter=1
Counter=3
Function
VR001814
VR0A1814

Related parts for ST92185B