| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
AN4141 Datasheet(PDF) 22 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4141 Datasheet(HTML) 22 Page - STMicroelectronics |
|
22 / 42 page ![]() 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 |
|
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 |
| 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 |