EasyManua.ls Logo

STC micro STC8A8K64D4 Series - Registers Related to PWM

Default Icon
901 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
STC8A8K64D4 Series Manual
- 544 -
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
Address
Bit Address and Symbol
Reset
Value
B7
B6
B5
B4
B3
B2
B1
B0
PWMSET
Enhanced PWM Global Configuration Register
F1H
-
PWMRST
-
-
-
-
-
ENPWM
x0xx,xxx0
PWMCFG
Enhanced PWM Configuration Register
F6H
-
-
-
-
PWMCBIF
EPWMCBI
ENPWMTA
PWMCEN
xxxx,0000
Symbol
Description
Address
Bit Address and Symbol
Reset
Value
B7
B6
B5
B4
B3
B2
B1
B0
PWMCH
PWM Counter High Byte
FF00H
-
x000,0000
PWMCL
PWM Counter Low Byte
FF01H
0000,0000
PWMCKS
PWM Clock Select Register
FF02H
-
-
-
SELT2
PWM_PS[3:0]
xxx0,0000
PWMTADCH
PWM Trigger ADC Counter High Byte
FF03H
-
x000,0000
PWMTADCL
PWM Trigger ADC Counter Low Byte
FF04H
0000,0000

Table of Contents

Related product manuals