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
124 / 153
sto
Description:
Sets the state with the Out operand for the selected output according to the OutSel
operand.
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 (160h,
161h, 162h, 163h, 164h, 165h) configuration registers.
Assembler syntax:
sto OutSel Out;
Operands:
•
OutSel – Operand defines the handled output
Operand label
Operand description
hs1
High-side predriver 1
hs2
High-side predriver 2
hs3
High-side predriver 3
hs4
High-side predriver 4
hs5
High-side predriver 5
ls1
Low-side predriver 1
ls2
Low-side predriver 2
ls3
Low-side predriver 3
ls4
Low-side predriver 4
ls5
Low-side predriver 5
ls6
Low-side predriver 6
ls7
Low-side predriver 7
undef
Undefined
•
Out – Operand 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 110. sto 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
1
0
OutSel
Out