Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AN3980 Datasheet(PDF) 15 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) 15 Page - STMicroelectronics

Back Button 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 AN3980 Datasheet HTML 19Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 15 / 19 page
background image
main.c file content
AN3980
15/18
Doc ID 022200 Rev 1
6
main.c file content
The main.c file starts with the system clock configuration in order to switch from internal RC
oscillator to external crystal circuit. It sets SYSCLK frequency to 24 MHz.
Then, the above mentioned dSPIN_Peripherals_Init function is processed.
The dSPIN_Regs_Struct_Reset function is called to fill all dSPIN_RegsStruct structure
fields with default values. As a next step, the majority of the dSPIN_RegsStruct fields are
modified either directly or with the help of the macros already described (see Section 4).
L6470 internal registers are then programmed by the dSPIN_Registers_Set function.
The rest of the main.c file code demonstrates how to use the library functions.



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