SPI Programming Manual (G06.24+, H06.03+, J06.03+)

SPI Concepts and Protocol
SPI Programming Manual427506-006
2-22
Pointer Manipulation and Lists
Figure 2-5. Pointer Manipulation and Lists
T1 T2 [ T3 T4 T5 ] T6H
T1 T2 [ T3 T4 T5 ] T6H
T1 T2 [ T3 T4 T5 ] T6H
T1 T2 [ T3 T4 T5 ] T6H
C
N
T1 T2 [ T3 T4 T5 ] T6H
T1 T2 [ T3 T4 T5 ] T6H
C
N L
T1 T2 [ T3 T4 T5 ] T6H
Legend
This sequence of procedure
calls demonstrates how the
SPI procedures manipulate the
current-token, next-token and
current-list pointers.
7
10
2
SSGET (...,T1,...)
3
SSGET (...,T2,...)
4
SSGET (...,T3,...)
6
SSGET (...,T3,...)
SSGET (...,T5,...)
8
SSGET (...,T6,...)
SSGET (...,T6,...)
1
SSPUT (...,ZSPI-TKN-RESET-BUFFER,...)
T1 T2 [ T3 T4 T5 ] T6H
C N
CN
CN
5
SSGET (...,ZSPI-TKN-DATALIST,...)
T1 T2 [ T3 T4 T5 ] T6H
L C N
L C N
L C N
9
SSGET (...,ZSPI-TKN-ENDLIST,...)
T1 T2 [ T3 T4 T5 ] T6
H
C N
C N
N
Next-Token PointerCurrent-Token Pointer
C
L
Current-List Pointer
[ ZSPI-TKN-DATALIST ] ZSPI-TKN-ENDLIST
VST009.vsd