Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4141 Datasheet(PDF) 36 Page - STMicroelectronics

Part # AN4141
Description  Migration and compatibility guidelines for STM32W108xx microcontroller applications based on the HAL
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4141 Datasheet(HTML) 36 Page - STMicroelectronics

Back Button AN4141 Datasheet HTML 32Page - STMicroelectronics AN4141 Datasheet HTML 33Page - STMicroelectronics AN4141 Datasheet HTML 34Page - STMicroelectronics AN4141 Datasheet HTML 35Page - STMicroelectronics AN4141 Datasheet HTML 36Page - STMicroelectronics AN4141 Datasheet HTML 37Page - STMicroelectronics AN4141 Datasheet HTML 38Page - STMicroelectronics AN4141 Datasheet HTML 39Page - STMicroelectronics AN4141 Datasheet HTML 40Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 36 / 42 page
background image
How to use the STM32W108xx standard peripheral library
AN4141
36/42
DocID023425 Rev 2
4
How to use the STM32W108xx standard peripheral
library
This section describes the steps to be followed to use the STM32W108xx standard
peripheral library.
•
Create a project and set up all your toolchain's startup files (or use the template project
provided within the library)
•
Select the startup file depending on the used product, only one startup file should be
selected at a time:
–
startup_stm32w108xx.s/.c
•
The library entry point is “stm32w108xx.h”. It should be included in the application main
and configured:
–
Select the target product family, comment/uncomment the right define:
/** Uncomment the line below according to the target STM32 device
used in your
* application
*/
#if !defined (STM32W108C8) && !defined (STM32W108CB) && !defined
(STM32W108CC) && !defined (STM32W108CZ) && !defined (STM32W108HB)
/* #define STM32W108C8 */
/*!< STM32W108C8: 64k FLASH */
/* #define STM32W108CB */
/*!< STM32W108CB: 128k FLASH */
/* #define STM32W108CC */
/*!< STM32W108CC: 256k FLASH */
/* #define STM32W108CZ */
/*!< STM32W108CZ: 192k FLASH */
/* #define STM32W108HB */
/*!< STM32W108HB: 128k FLASH */
#endif
/**
Tip: To avoid modifying this file each time you need to switch
between these
*
devices, you can define the device in your toolchain
compiler preprocessor.
*/
#if !defined (STM32W108C8) && !defined (STM32W108CB) && !defined
(STM32W108CC) && !defined (STM32W108CZ) && !defined (STM32W108HB)
#error "Please select first the target STM32W108XX device used in
your application (in stm32w108xx.h file)"
#endif



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


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