
M0A21/M0A23 Series
May 06, 2022
Page
248
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
Port A-D Data Output Write Mask (Px_DATMSK)
Register
Offset
R/W
Description
Reset Value
PA_DATMSK
0x00C
R/W
PA Data Output Write Mask
0x0000_0000
PB_DATMSK
0x04C
R/W
PB Data Output Write Mask
0x0000_0000
PC_DATMSK
0x08C
R/W
PC Data Output Write Mask
0x0000_0000
PD_DATMSK
0x0CC
R/W
PD Data Output Write Mask
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
DATMSK
7
6
5
4
3
2
1
0
DATMSK
Bits
Description
[31:16]
Reserved
Reserved.
[n]
n=0,1..15
DATMSK
Port A-D Pin[n] Data Output Write Mask
These bits are used to protect the corresponding DOUT (Px_DOUT[n]) bit. When the DATMSK
(Px_DATMSK[n]) bit is set to 1, the corresponding DOUT (Px_DOUT[n]) bit is protected. If the write signal
is masked, writing data to the protect bit is ineffective.
0 = Corresponding DOUT (Px_DOUT[n]) bit can be updated.
1 = Corresponding DOUT (Px_DOUT[n]) bit protected.
Note 1:
This function only protects the corresponding DOUT (Px_DOUT[n]) bit, and will not protect the
corresponding PDIO (Pxn_PDIO[0]) bit.
Note 2:
The PA.6~PA.15/PB.0~PB.3/PB.8~PB.15/PC.8~15/PD.8~15 pin is ineffective.