
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
127 / 153
stos
Description:
Sets the state of three outputs Out1, Out2 and Out3 previously defined as shortcuts with
the dfsct instruction.
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.
Assembler syntax:
stos Out1 Out2 Out3;
Operands:
•
Out1, Out2, and Out3 – Operands sets output state
Operand label
Operand description
keep
No changes, maintains the previous setting
off
Output disabled
on
Output enabled
toggle
Reverse the previous setting
Table 113. stos 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
0
0
1
Out1
Out2
Out3