
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
89 / 153
rstreg
Description:
Resets single or multiple registers defined by the TgtBit operand. The instruction reset
bits issued from SPI registers including:
control register ctrl_reg_uc0 (101h, 121h) and ctrl_reg_uc1 (102, 122)
status register status_reg_uc0 (105h, 125h) and status_reg_uc1 (106h, 126h) automatic
diagnosis
register Err_ucXchY (162h to 169h)
Assembler syntax:
rstreg TgtBit;
Operands:
•
TgtBit – Operands defines the registers to be reset.
Operand label
Operand description
sr
Reset status bits of the status registers
cr
Reset control register
sr_diag_halt
Reset status bits, automatic diagnosis register and re-enables the possibility
to generate automatic diagnosis interrupts
all
Reset status bits, control register, automatic diagnosis register and re-enables
the possibility to generate automatic diagnosis interrupts
diag_halt
Reset automatic diagnosis register and re-enables the possibility to generate
automatic diagnosis interrupts
sr_cr
Reset status bits and control register
sr_halt
Reset status bits and re-enables the possibility to generate automatic
diagnosis interrupts
halt
Re-enables the possibility to generate automatic diagnosis interrupts
Table 77. rstreg instruction format
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
1
1
0
1
0
1
0
1
0
0
1
TgtBit