поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN4141 датащи(PDF) 19 Page - STMicroelectronics

номер детали AN4141
подробное описание детали  Migration and compatibility guidelines for STM32W108xx microcontroller applications based on the HAL
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4141 датащи(HTML) 19 Page - STMicroelectronics

Back Button AN4141 Datasheet HTML 15Page - STMicroelectronics AN4141 Datasheet HTML 16Page - STMicroelectronics AN4141 Datasheet HTML 17Page - STMicroelectronics AN4141 Datasheet HTML 18Page - STMicroelectronics AN4141 Datasheet HTML 19Page - STMicroelectronics AN4141 Datasheet HTML 20Page - STMicroelectronics AN4141 Datasheet HTML 21Page - STMicroelectronics AN4141 Datasheet HTML 22Page - STMicroelectronics AN4141 Datasheet HTML 23Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 42 page
background image
DocID023425 Rev 2
19/42
AN4141
HAL to StdPeriph_Lib list of changes
/* #define USE_STDPERIPH_DRIVER */
#endif /* USE_STDPERIPH_DRIVER */
•
File core_cm3.h (CMSIS Cortex-M3 Core Peripheral Access Layer) contains:
–
Cortex-M3 Core memory mapping and physical register address definition
–
Cortex-M3 instructions
–
Cortex-M3 C and assembly functions that ease access to the Cortex-M3 Core
File stm32w108xx_type.h is replaced with file <stdint.h>. Library-specific types have been
added into file stm32w108xx.h (FlagStatus, ITStatus, FunctionalState, ErrorStatus). Old
types have been removed.
File spmr.s79 is replaced with file core_cmFunc.h (CMSIS Cortex-M Core Function Access).
(refer to Table 2: HAL macros vs. CMSIS macros)
3.1.2
Library drivers
To migrate to the standard library, we need to decide whether the run time board
configuration concept should be removed in order to reduce the code size for the user
application. Such decision impacts:
•
HAL boards resources configuration files.
–
Files led.c/.h and button.c/.h are removed and updated by board driver files
MBxxx.c/.h.
Function halInitLed() is updated by STM_EVAL_LEDInit().
Function halToogleLed() is updated by STM_EVAL_LEDToggle().
Function halSetLed() is updated by STM_EVAL_LEDOn().
Function halClearLed() is updated by STM_EVAL_LEDOff().
–Driver board.c/.h is updated by removing all the board resources definitions. Only
these two useful APIs have been kept:
halBoardPowerUp(): performs board-specific action to power up the system
halBoardPowerDown(): performs board-specific action to power down the system
The following two functions have been edited to use the board resource drivers provided
within driver StdPeriph (MBxxx.c/.h) and in the common board drivers:
Function halGetButtonStatus() is updated by STM_EVAL_PBGetState().
Function halInitButton() is updated by STM_EVAL_PBInit().
–
The MEMS drivers (mems.c/.h and mems_regs.h) are removed from the HAL and
updated by the common MEMS driver (mbxxx_i2c_lis302dl.c/.h) within the
StdPeriph driver.
–
The temperature sensor driver (temperature_sensor.c/.h) is removed from the
HAL and updated by the common temperature sensor driver
(mbxxx_adc_tsensor.c/.h) within the StdPeriph driver.
–
A new common driver is developed to manage the basic I2C eeprom functionality
(mbxxx_i2c_ee.c/.h).
•
User Application Project
–
The user should build a specific project by board and by product.



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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