NXP Semiconductors
PT2001SWUG
PT2001 programming guide and instruction set
PT2001SWUG
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2019. All rights reserved.
User guide
Rev. 3.0 — 29 April 2019
39 / 153
endiaga
Description:
Enables or disables the automatic diagnosis for all the predrivers output the microcore
is configured to drive. If automatic diagnosis condition is satisfied, the related interrupt
procedure for error handling is triggered.
The operation is successful only if the microcore has the right to drive the related outputs.
The drive right is granted by setting the related bits in the Out_acc_ucX_chY (184h,
185h, 186h, 187h) configuration registers.
At reset the automatic diagnosis is disabled.
Assembler syntax:
endiaga Diag;
Operands:
•
Diag – Operand defines the diagnosis status
Operand label
Operand description
Operand binary value
diagoff
Automatic diagnosis disable
0
diagon
Automatic diagnosis enable
1
Table 41. endiaga instruction format
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
1
1
0
1
1
0
0
0
0
0
0
0
0
Diag