Download Print this page

Registers Related To Pwm - STC micro STC8A8K64D4 Series Reference Manual

Advertisement

STC8A8K64D4 Series Manual
C1_S[1:0] : Enhanced PWM channel 1 output pin selection bit
C1_S[1:0]
PWM1
00
P2.1
01
P1.1
10
P6.1
11
Reserved
C2_S[1:0] : Enhanced PWM channel 2 output pin selection bit
C2_S[1:0]
PWM2
00
P2.2
01
P1.2
10
P6.2
11
Reserved
C3_S[1:0] : Enhanced PWM channel 3 output pin selection bit
C3_S[1:0]
PWM3
00
P2.3
01
P1.3
10
P6.3
11
Reserved
C4_S[1:0] : Enhanced PWM channel 4 output pin selection bit
C4_S[1:0]
PWM4
00
P2.4
01
P1.4
10
P6.4
11
Reserved
C5_S[1:0] : Enhanced PWM channel 5 output pin selection bit
C5_S[1:0]
PWM5
00
P2.5
01
P1.5
10
P6.5
11
Reserved
C6_S[1:0] : Enhanced PWM channel 6 output pin selection bit
C6_S[1:0]
PWM6
00
P2.6
01
P1.6
10
P6.6
11
Reserved
C7_S[1:0] : Enhanced PWM channel 7 output pin selection bit
C7_S[1:0]
PWM7
00
P2.7
01
P1.7
10
P6.7
11
Reserved

19.2 Registers Related to PWM

Symbol
Description
PWMSET
Enhanced PWM Global Configuration Register
PWMCFG
Enhanced PWM Configuration Register
Symbol
Description
PWMCH
PWM Counter High Byte
PWMCL
PWM Counter Low Byte
PWMCKS
PWM Clock Select Register
PWMTADCH PWM Trigger ADC Counter High Byte
PWMTADCL PWM Trigger ADC Counter Low Byte
Address
B7
B6
B5
F1H
-
PWMRST
-
F6H
-
-
-
Address
B7
B6
B5
FF00H
-
FF01H
FF02H
-
-
-
FF03H
-
FF04H
Bit Address and Symbol
B4
B3
B2
B1
-
-
-
-
PWMCBIF
EPWMCBI
ENPWMTA
Bit Address and Symbol
B4
B3
B2
B1
SELT2
PWM_PS[3:0]
Reset
B0
Value
x0xx,xxx0
-
ENPWM
xxxx,0000
PWMCEN
Reset
Value
B0
x000,0000
0000,0000
xxx0,0000
x000,0000
0000,0000
- 544 -

Advertisement

loading
Need help?

Need help?

Do you have a question about the micro STC8A8K64D4 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Micro stc8a8k64d4-64pinMicro stc8a8k64d4-48pin