EasyManua.ls Logo

STC micro STC8A8K64D4 Series - PWM Channel Control Registers (Pwmncr); PWM Channel Level Holding Control Registers (Pwmnhld)

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
- 549 -
19.2.9 PWM Channel Control Registers (PWMnCR)
Symbol
Address
B7
B6
B5
B4
B3
B2
B1
B0
PWM0CR
FF14H
ENO
INI
-
C0_S[1:0]
ENI
ENT2I
ENT1I
PWM1CR
FF1CH
ENO
INI
-
C1_S[1:0]
ENI
ENT2I
ENT1I
PWM2CR
FF24H
ENO
INI
-
C2_S[1:0]
ENI
ENT2I
ENT1I
PWM3CR
FF2CH
ENO
INI
-
C3_S[1:0]
ENI
ENT2I
ENT1I
PWM4CR
FF34H
ENO
INI
-
C4_S[1:0]
ENI
ENT2I
ENT1I
PWM5CR
FF3CH
ENO
INI
-
C5_S[1:0]
ENI
ENT2I
ENT1I
PWM6CR
FF44H
ENO
INI
-
C6_S[1:0]
ENI
ENT2I
ENT1I
PWM7CR
FF4CH
ENO
INI
-
C7_S[1:0]
ENI
ENT2I
ENT1I
ENO: PWMi output enable bit. (i= 0~7)
0: the corresponding port of PWM channel i is GPIO.
1: the corresponding port of PWM channel i is PWM output port, which is controlled by the PWM waveform
generator.
INI: the initial level of PWMi output. (i= 0~7)
0: the initial level of PWM channel i is low.
1: the initial level of PWM channel i is high.
Ci_S[1:0] : Switch PWMi output pin (i=07)
For details, please refer to the chapter "Function Foot Switching".
ENI: interrupt enable bit of PWM channel i. (i= 0~7)
0: disable PWM channel i interrupt.
1: enable PWM channel i interrupt.
ENT2I: interrupt enable bit of the second flip point of PWM channel i. (i= 0~7)
0: disable the interrupt of the second flip point of PWM channel i.
1: enable the interrupt of the second flip point of PWM channel i.
ENT1I: interrupt enable bit of the first flip point of PWM channel i. (i= 0~7)
0: disable the interrupt of the first flip point of PWM channel i.
1: enable the interrupt of the first flip point of PWM channel i.
19.2.10 PWM Channel Level Holding Control Registers (PWMnHLD)
Symbol
Address
B7
B6
B5
B4
B3
B2
B1
B0
PWM0HLD
FF15H
-
-
-
-
-
-
HLDH
HLDL
PWM1HLD
FF1DH
-
-
-
-
-
-
HLDH
HLDL
PWM2HLD
FF25H
-
-
-
-
-
-
HLDH
HLDL
PWM3HLD
FF2DH
-
-
-
-
-
-
HLDH
HLDL
PWM4HLD
FF35H
-
-
-
-
-
-
HLDH
HLDL
PWM5HLD
FF3DH
-
-
-
-
-
-
HLDH
HLDL
PWM6HLD
FF45H
-
-
-
-
-
-
HLDH
HLDL
PWM7HLD
FF4DH
-
-
-
-
-
-
HLDH
HLDL
HLDH: PWM channel i outputs high compulsively control bit. (i= 0~7)
0: PWM channel i output normally.
1: PWM channel i outputs high compulsively.
HLDL: PWM channel i outputs low compulsively control bit. (i= 0~7)
0: PWM channel i output normally.
1: PWM channel i outputs low compulsively.

Table of Contents

Related product manuals