Electronic Components Datasheet Search
  English  ▼

X  

AN3980 Datasheet(PDF) 12 Page - STMicroelectronics

Part # AN3980
Description  This application note describes the implementation
PDF  19 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3980 Datasheet(HTML) 12 Page - STMicroelectronics

Back Button AN3980 Datasheet HTML 8Page - STMicroelectronics AN3980 Datasheet HTML 9Page - STMicroelectronics AN3980 Datasheet HTML 10Page - STMicroelectronics AN3980 Datasheet HTML 11Page - STMicroelectronics AN3980 Datasheet HTML 12Page - STMicroelectronics AN3980 Datasheet HTML 13Page - STMicroelectronics AN3980 Datasheet HTML 14Page - STMicroelectronics AN3980 Datasheet HTML 15Page - STMicroelectronics AN3980 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 19 page
background image
AN3980
dSPIN.h file content
Doc ID 022200 Rev 1
12/18
4.5
L6470 command set definition
dSPIN motion and other types of commands are coded with numeric (single byte) constants.
For transparent code implementation, the following type definition has been created:
Figure 9.
L6470 command set type definition
4.6
Macros definition
Some of the L6470 commands use input parameters which are proportional to a real
number. For this reason there is a need to recalculate (convert) the requested option
parameter in real numeric format to the function parameter in integer format. To make it user
friendly and allow usage of input parameters in real numeric format, macros for parameter
conversion have been implemented.
For example, the “Run” command supposes to get a speed parameter in unsigned fixed
point 0.28 number format. In this case, the “Speed_Steps_to_Par(speed)” macro can be
used to convert real speed (in steps per second) to the parameter of the “Run” command.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com