ML610Q111/ML610Q112 User’s Manual
Chapter 10 PWM
FEUL610Q111
10-34
10.2.31 PWMF Control Register 3 (PWFCON3)
Address: 0F975H
Access: R/W
Access size: 8 bits
Initial value: 00H
7
6
5
4
3
2
1
0
PWFCON3
PFSDE1
PFSDE0
PFSTSS
PFSTS2
PFSTS1
PFSTS0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value
0
0
0
0
0
0
0
0
PWFCON3 is a special function register (SFR) to control PWMF0 to 2.
Rewrite PWFCON3 while the PWMF is stopped (PFSTAT PFRUN, PFTGEN, and PFRUN of PWFCON1 register are
“0”).
[Description of Bits]
•
PFSTSS, PFSTS2, PFSTS1, PFSTS0
(bits 3 to 0)
The PFSTSS, PFSTS2, PFSTS1, and PFSTS0 bits are used to select the external input start/stop pins of PWMF0 to 2.
PFSTS2
PFSTS1
PFSTS0
Description
When PFSTSS=”0”
(initial value)
When PFSTSS=”1”
0
0
0
PA0 pin (initial value)
PB0 pin
0
0
1
PA1 pin
PB1 pin
0
1
0
PA2 pin
PB2 pin
0
1
1
CMP0 (Comparator 0)
PB3 pin
1
0
0
CMP1 (Comparator 1)
PB4 pin
1
0
1
TM9INT (Timer 9 interrupt)
PB5 pin
1
1
0
TMBINT (Timer B interrupt)
PB6 pin
1
1
1
TMFINT (Timer F interrupt)
PB7 pin
Note
:
When a timer interrupt request is set as the external trigger signal, there are some restrictions on the edge selection of
the PWM start/stop triggers. For details, see the description of the PWFCON2 register.
The timer interrupt requests (TM9INT/TMBINT/TMFINT) are interrupt request signals from the timer 9/timer B/timer F,
independent of the interrupt enable/disable settings by the interrupt enable registers 3, 5 (IE3, IE5).
•
PFSDE1, PFSDE0
(bits 5 to 4)
The PFSDE1, PFSDE0 bits are used to select the emergency stop input pins of PWMF0 to 2.
PFSDE1
PFSDE0
Description
0
0
Disables the emergency stop (initial value)
0
1
Rising edge of the CMP0 (Comparator 0)
1
0
Rising edge of the CMP1 (Comparator 1)
1
1
Rising edge of PB0
Note
:
The external trigger input pin and the emergency stop input pins aren't to select the same pin. When it is selected,
PWM doesn't operate.
Содержание ML610Q111
Страница 1: ...ML610Q111 ML610Q112 User s Manual Issue Date Nov 16 2016 FEUL610Q111 05 ...
Страница 14: ...Chapter 1 Overview ...
Страница 26: ...Chapter 2 CPU and Memory Space ...
Страница 34: ...Chapter 3 Reset Function ...
Страница 38: ...Chapter 4 MCU Control Function ...
Страница 53: ...Chapter 5 Interrupts INTs ...
Страница 81: ...Chapter 6 Clock Generation Circuit ...
Страница 95: ...Chapter 7 Time Base Counter ...
Страница 103: ...Chapter 8 Timers ...
Страница 145: ...Chapter 9 Watchdog Timer ...
Страница 153: ...Chapter 10 PWM ...
Страница 199: ...Chapter 11 Synchronous Serial Port ...
Страница 212: ...Chapter 12 UART ...
Страница 240: ...Chapter 13 I2 C Bus Interface Master ...
Страница 254: ...Chapter 14 I2 C Bus Interface Slave ...
Страница 269: ...Chapter 15 Port A ...
Страница 279: ...Chapter 16 Port B ...
Страница 291: ...Chapter 17 Port C ...
Страница 303: ...Chapter 18 Port D ...
Страница 312: ...Chapter 19 Port AB Interrupts ...
Страница 317: ...Chapter 20 Successive Approximation Type A D Converter ...
Страница 335: ...Chapter 21 Voltage Level Supervisor ...
Страница 342: ...Chapter 22 Analog Comparator ...
Страница 353: ...Chapter 23 Data Flash Memory ...
Страница 373: ...Chapter 24 On chip Debug ...
Страница 375: ...Appendixes ...
Страница 393: ...Appendix E ...
Страница 398: ...Revision History ...