ML610Q111/ML610Q112 User’s Manual
Chapter 10 PWM
FEUL610Q111
10-11
10.2.8 PWMC Control Register 3 (PWCCON3)
Address: 0F919H
Access: R/W
Access size: 8 bits
Initial value: 00H
7
6
5
4
3
2
1
0
PWCCON3
PCSDE1
PCSDE0
PCSTSS
PCSTS2
PCSTS1
PCSTS0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value
0
0
0
0
0
0
0
0
PWCCON3 is a special function register (SFR) to control PWMC.
Rewrite PWCCON3 while the PWMC is stopped (PCSTAT, PCTGEN and PCRUN of the PWCCON1 is “0”).
[Description of Bits]
•
PCSTSS, PCSTS2, PCSTS1, PCSTS0
(bits 3 to 0)
The PCSTSS, PCSTS2, PCSTS1, and PCSTS0 bits are used to select the external input start/stop pins of PWMC.
PCSTS2
PCSTS1
PCSTS0
Description
When PCSTSS=”0”
(initial value)
When PCSTSS=”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 PWCCON2 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/5).
•
PCSDE1, PCSDE0
(bits 5 to 4)
The PSDE1, PSDE0 bits are used to select the emergency stop input pins of PWMC.
PCSDE1
PCSDE0
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 ...