| Electronic Components Datasheet Search |
|
AN3980 Datasheet(PDF) 15 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3980 Datasheet(HTML) 15 Page - STMicroelectronics |
|
15 / 19 page ![]() 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. |
|
|
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 |
| 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 |