ST10R272L - PWM MODULE
187/320
PWMCON0 (FF30h / 98h)
SFR
Reset Value: 0000h
10.2.5 PWM control register PWMCON1
Register PWMCON1 controls the operating mode and the output of the PWM channel. The
basic operating mode (standard = edge aligned, or symmetrical = center aligned PWM
mode), is selected by the mode bit PM3. Single shot mode is selected by separate control bit
PS3. The output signal of the PWM channel is enabled by bit PEN3. If the output is not
enabled, the pin can be used for general purpose I/O, and the PWM signal can only be used
to generate an interrupt request.
Bit
Function
PTR3
PWM Timer PT3 Run Control
‘0’: Timer PT3 is disconnected from its input clock
‘1’: Timer PT3 is running
PTI3
PWM Timer PT3 Input Clock Control
‘0’: Timer PT3 is clocked with CPU clock
‘1’: Timer PT3 is clocked with CPU clock / 64
PIE3
PWM Channel 3 Individual Interrupt Enable Control
‘0’: Interrupt from channel 3 disabled
‘1’: Interrupt from channel 3 enabled
PIR3
PWM Channel 3 Individual Interrupt Request Flag
‘0’: No request pending from PT3
‘1’: PT3 has raised an interrupt request
5
4
3
2
1
0
11
10
9
8
7
6
15
14
13
12
-
-
rw
-
-
-
rw
-
rw
-
-
-
-
PT3
-
PIE3
-
-
-
PIR3
-
-
-
-
-
PTR3
-
-
rw
-
-
-