| 数据搜索系统,热门电子元器件搜索 |
|
AN3980 数据表(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3980 数据表(HTML) 14 Page - STMicroelectronics |
|
14 / 19 page ![]() AN3980 dSPIN.c file content Doc ID 022200 Rev 1 14/18 5 dSPIN.c file content dSPIN.c is the library source file. It contains all the L6470 commands and the implementation of other support functions. It starts with the dSPIN_Peripherals_Init function which configures all the required microcontroller peripherals (GPIOs, SPI) and it is called at the beginning of the main program loop. The function considers signal assignments made in the dSPIN.h file. The dSPIN_Regs_Struct_Reset function fills all the structure fields with default values. The dSPIN_Registers_Set function programs all parameters into L6470 internal registers. It uses pointer-to-structure as the input parameter, so the structure must be filled properly in advance of this function call. The dSPIN.c file contains all the dSPIN commands and the implementation of other support functions. The code is well commented, please refer directly to the file for more details. |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |