17.03.2014 Views

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3. Instruction Set<br />

API<br />

Mnemonics Applicable to STEPS<br />

16 bits 32 bits<br />

PULSE<br />

Function<br />

<strong>ES2</strong><br />

<strong>EX2</strong><br />

<strong>SS2</strong> <strong>SA2</strong><br />

SE 2<br />

<strong>SX2</strong> 16-bit 32-bit<br />

127 - DESQR Floating point square root - 9<br />

128 - DPOW Floating point power operation - 13<br />

129 INT DINT Float to integer 5 9<br />

130 - DSIN Sine - 9<br />

131 - DCOS Cosine - 9<br />

132 - DTAN Tangent - 9<br />

133 - DASIN Arc Sine - 9<br />

134 - DACOS Arc Cosine - 9<br />

135 - DATAN Arc Tangent - 9<br />

172 - DADDR Floating point addition - 13<br />

173 - DSUBR Floating point subtraction - 13<br />

174 - DMULR Floating point multiplication - 13<br />

175 - DDIVR Floating point division - 13<br />

Additional Instruction<br />

Mnemonic Applicable to STEPS<br />

API<br />

16 bits 32 bits<br />

PULSE<br />

Function<br />

<strong>ES2</strong><br />

SA<br />

<strong>EX2</strong> <strong>SS2</strong> 2<br />

<strong>SX2</strong> SE 16-bit 32-bit<br />

143 DELAY - Delay 3 -<br />

144 GPWM - - General PWM output 7 -<br />

147 SWAP DSWAP Byte swap 3 5<br />

148 MEMR - <br />

149 MEMW - <br />

Reading the data from the file<br />

register<br />

Writing the data into the file<br />

register<br />

- - 7 -<br />

- - 7 -<br />

154 RAND DRAND Random number 7 13<br />

168 MVM DMVM <br />

Mask and combine designated<br />

Bits<br />

7 13<br />

176 MMOV – 16-bit→32-bit Conversion 5 –<br />

177 GPS - - GPS data receiving - 5 -<br />

178 - DSPA - Solar cell positioning - – 9<br />

179 WSUM DWSUM Sum of multiple devices 7 13<br />

202 SCAL - Proportional value calculation 9 -<br />

203 SCLP DSCLP <br />

Parameter proportional value<br />

calculation<br />

9 13<br />

3-29

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!