データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

AN3980 データシート(PDF) 14 Page - STMicroelectronics

部品番号 AN3980
部品情報  This application note describes the implementation
PDF  19 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3980 データシート(HTML) 14 Page - STMicroelectronics

Back Button 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 AN3980 Datasheet HTML 17Page - STMicroelectronics AN3980 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 19 page
background image
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.



Html Pages

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


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
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