Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

AN4141 Datasheet(PDF) 22 Page - STMicroelectronics

No. de pieza AN4141
Descripción Electrónicos  Migration and compatibility guidelines for STM32W108xx microcontroller applications based on the HAL
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4141 Datasheet(HTML) 22 Page - STMicroelectronics

Back Button 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 AN4141 Datasheet HTML 24Page - STMicroelectronics AN4141 Datasheet HTML 25Page - STMicroelectronics AN4141 Datasheet HTML 26Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 42 page
background image
HAL to StdPeriph_Lib list of changes
AN4141
22/42
DocID023425 Rev 2
3.2
Coding rules and conventions
3.2.1
Data types and IO type qualifiers
The Cortex-Mx HAL uses the standard types from the standard ANSI C header file
<stdint.h>. IO type qualifiers are used to specify the access to peripheral variables. IO type
qualifiers are used for the automatic generation of debug information for the peripheral
registers.
As the stm32w108_type.h and iar.h files have been removed from the package, the new
library uses the CMSIS and <stdint.h> types. Table 6 shows the correspondence between
HAL types and <stdint.h> types.
Table 5. CMSIS IO type qualifiers
IO type qualifier
#define
Description
__I
Volatile const
Read access only
__O
Volatile
Write access only
__IO
Volatile
Read and write accesses
Table 6. STM32W108xx HAL vs. CMSIS types
STM32W108 HAL
types
CMSIS types
Description
s32/ int32s
int32_t
signed 32-bit data
s16/int16s
int16_t
signed 16-bit data
s8/int8s
int8_t
signed 8-bit data
sc32
const int32_t
read access only signed 32-bit data
sc16
const int16_t
read access only signed 16-bit data
sc8
const int8_t
read access only signed 8-bit data
vs32
__IO int32_t
volatile read and write access signed 32-bit data
vs16
__IO int16_t
volatile read and write access signed 16-bit data
vs8
__IO int8_t
volatile read and write access signed 8-bit data
vsc32
__I int32_t
volatile read access only signed 32-bit data
vsc16
__I int16_t
volatile read access only signed 16-bit data
vsc8
__I int8_t
volatile read access only signed 8-bit data
u32/ int16u
uint32_t
unsigned 32-bit data
u16/int16u
uint16_t
unsigned 16-bit data
u8/int8u
uint8_t
unsigned 8-bit data



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 Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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