| 전자부품 데이터시트 검색엔진 |
|
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 |