
M0A21/M0A23 Series
May 06, 2022
Page
368
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
6.10.7 Register Description
PWM Control Register 0 (PWM_CTL0)
Register
Offset
R/W
Description
Reset Value
PWM_CTL0
0x00
R/W
PWM Control Register 0
0x0000_0000
31
30
29
28
27
26
25
24
DBGTRIOFF
DBGHALT
Reserved
23
22
21
20
19
18
17
16
Reserved
IMMLDEN5
IMMLDEN4
IMMLDEN3
IMMLDEN2
IMMLDEN1
IMMLDEN0
15
14
13
12
11
10
9
8
Reserved
7
6
5
4
3
2
1
0
Reserved
CTRLD5
CTRLD4
CTRLD3
CTRLD2
CTRLD1
CTRLD0
Bits
Description
[31]
DBGTRIOFF
ICE Debug Mode Acknowledge Disable Bit (Write Protect)
0 = ICE debug mode acknowledgement effects PWM output.
PWM pin will be forced as tri-state while ICE debug mode acknowledged.
1 = ICE debug mode acknowledgement disabled.
PWM pin will keep output no matter ICE debug mode acknowledged or not.
Note:
This bit is write protected. Refer to SYS_REGLCTL register.
[30]
DBGHALT
ICE Debug Mode Counter Halt (Write Protect)
If counter halt is enabled, PWM all counters will keep current value until exit ICE debug mode.
0 = ICE debug mode counter halt Disable.
1 = ICE debug mode counter halt Enable.
Note:
This bit is write protected. Refer to SYS_REGLCTL register.
[29:22]
Reserved
Reserved.
[n+16]
n=0,1
…5
IMMLDENn
Immediately Load Enable Bits
0 = PERIOD will load to PBUF at the end point of each period. CMPDAT will load to CMPBUF at the end
point or center point of each period by setting CTRLD bit.
1 = PERIOD/CMPDAT will load to PBUF and CMPBUF immediately when software update
PERIOD/CMPDAT.
Note:
If IMMLDENn is enabled, WINLDENn and CTRLDn will be invalid.
[15:6]
Reserved
Reserved.
[n]
n=0,1
…5
CTRLDn
Center Load Enable Bits
In up-down counter type, PERIOD will load to PBUF at the end point of each period. CMPDAT will load
to CMPBUF at the center point of a period.