Toshiba S20LP User Manual

Page 61

Advertising
background image

60

6

F

3

B

0

3

5

6

[00010 MOV RW090]

[00000 MOV RW091]

[00064 MOV RW092]

R0520

[00004 MOV RW093]

[01000 MOV RW094]

R0520

R0090

( )

/* PC Link preparation */

/* Number of executions, Operation on error occurrence, Transfer data

length */

[00004 MOV RW095]

[02000 MOV RW096]

/* Transmission source register type, leading address */

/* Transfer destination register type, leading address */

[00004 MOV RW097]

[03000 MOV RW098]

/* Storage register type, leading address */

/* Data preparation */

R0090

R0091

R009F

[00004 MOV D0901]

[00900 MOV D0902]

[00000 MOV D0918]

[D0946 MOV D0900]

[RW093 MOV D0916]

[RW094 MOV D0917]

[00001 MOV D0990]

R0098

[D0901 XFER D0990 D0916]

[ +1 D0917]

[ +1 D0918]

[ +1 D0900]

R0098

( )

[RW092 = D0918]

[SET R0092]

[RST R0091]

[RST R0520]

/* Data write */

R0092

[08450 MOV D0903]

[00000 MOV D0904]

[RW092 MOV D0905]

/* Designates the module and sets the CMD number. */

/* Sets the transfer register data length. */

[RW093 MOV D0906]

[RW094 MOV D0907]

/* Sets the transmission source register type, leading address. */

[RW095 MOV D0908]

[RW096 MOV D0909]

/* Sets the transfer destination register type, leading address. */

[00100 MOV D0910]

/* Sets the response time limit (10 seconds). */

[D0903 SEND D0911]

[SET R0093]

[RST R0092]

/* Sets the request, and starts post-completion readout. */

Advertising