
M0A21/M0A23 Series
May 06, 2022
Page
409
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
PWM PDMA Control Register (PWM_PDMACTL)
Register
Offset
R/W
Description
Reset Value
PWM_PDMACTL
0x23C
R/W
PWM PDMA Control Register
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
CHSEL4_5
CAPORD4_5
CAPMOD4_5
CHEN4_5
15
14
13
12
11
10
9
8
Reserved
CHSEL2_3
CAPORD2_3
CAPMOD2_3
CHEN2_3
7
6
5
4
3
2
1
0
Reserved
CHSEL0_1
CAPORD0_1
CAPMOD0_1
CHEN0_1
Bits
Description
[31:21]
Reserved
Reserved.
[20]
CHSEL4_5
Select Channel 4/5 to Do PDMA Transfer
0 = Channel4.
1 = Channel5.
Note:
If the PDMA function is not supported, this bit field will become invalid. Please refer to section 3.2
NuMicro
®
M0A21/M0A23 Series Selection Guide for detailed information.
[19]
CAPORD4_5 Capture Channel 4/5 Rising/Falling Order
Set this bit to determine whether the PWM_RCAPDAT4/5 or PWM_FCAPDAT4/5 is the first captured
data transferred to memory through PDMA when CAPMOD4_5 =11.
0 = PWM_FCAPDAT4/5 is the first captured data to memory.
1 = PWM_RCAPDAT4/5 is the first captured data to memory.
Note:
If the PDMA function is not supported, this bit field will become invalid. Please refer to section 3.2
NuMicro
®
M0A21/M0A23 Series Selection Guide for detailed information.
[18:17]
CAPMOD4_5 Select PWM_RCAPDAT4/5 or PWM_FCAPDAT4/5 to Do PDMA Transfer
00 = Reserved.
01 = PWM_RCAPDAT4/5.
10 = PWM_FCAPDAT4/5.
11 = Both PWM_RCAPDAT4/5 and PWM_FCAPDAT4/5.
Note:
If the PDMA function is not supported, this bit field will become invalid. Please refer to section 3.2
NuMicro
®
M0A21/M0A23 Series Selection Guide for detailed information.
[16]
CHEN4_5
Channel 4/5 PDMA Enable Bit
0 = Channel 4/5 PDMA function Disabled.
1 = Channel 4/5 PDMA function Enabled for the channel 4/5 captured data and transfer to memory.
Note:
If the PDMA function is not supported, this bit field will become invalid. Please refer to section 3.2
NuMicro
®
M0A21/M0A23 Series Selection Guide for detailed information.
[15:13]
Reserved
Reserved.
[12]
CHSEL2_3
Select Channel 2/3 to Do PDMA Transfer
0 = Channel2.