Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN4141 Datasheet(PDF) 37 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) 37 Page - STMicroelectronics

Back Button 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 AN4141 Datasheet HTML 41Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 37 / 42 page
background image
DocID023425 Rev 2
37/42
AN4141
How to use the STM32W108xx standard peripheral library
Note:
You can also select the target product by adding the target name definition in the project
preprocessor configuration.
Then the user can choose to use the peripheral drivers or not.
•
Case 1 (C1, see Figure 7): application code based on STM32W peripheral driver API
–
Uncomment #define USE_STDPERIPH_DRIVER in file stm32w108xx.h.
–
In the file stm32w108xx_conf.h, select the peripherals to be used (for header file
inclusion)
–
Use the peripheral driver API to build the application.
•
Case 2 (C2, see Figure 7): application code based on direct access to the STM32W
peripheral registers (stm32w108xx.h)
–
Comment #define USE_STDPERIPH_DRIVER in file stm32w108xx.h.
–
Use the peripheral register structure and bit definition file, stm32w108xx.h, to build
the application.
Figure 7. Structure of RF Application based on STM32W library & CMSIS
1. C1: Application code based on STM32W peripheral driver API.
2. C2: Application code based on direct access to STM32W peripheral registers (file stm32w108xx.h).
MS30938V1
Core_cm3.h
stm32w108xx.h
Peripheral register & interrupt vector definitions
Core peripheral functions
(cm3_core.c)
STM32 peripheral functions
(STM32 StdPeriph Library)
CortexM3 (CPU, SysTick, NVIC,
Debug/Trace Interface)
STM32 Peripherals (Clock, Power, GPIO, ADC,
Timers, WDGs, memory IF, SCs, etc.)
SimpleMAC Library
RF4CE Library
C1
(1)
C2
(2)
SimpleMAC & RF4CE Access functions
RF Application Code



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