| データシートサーチシステム |
|
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. |
|
|
リンク URL |
| 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 |