Electronic Components Datasheet Search
  Indian  ▼
ALLDATASHEET.IN

X  

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

Back Button AN4141 Datasheet HTML 24Page - STMicroelectronics AN4141 Datasheet HTML 25Page - STMicroelectronics AN4141 Datasheet HTML 26Page - STMicroelectronics AN4141 Datasheet HTML 27Page - STMicroelectronics AN4141 Datasheet HTML 28Page - STMicroelectronics AN4141 Datasheet HTML 29Page - STMicroelectronics AN4141 Datasheet HTML 30Page - STMicroelectronics AN4141 Datasheet HTML 31Page - STMicroelectronics AN4141 Datasheet HTML 32Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 42 page
background image
HAL to StdPeriph_Lib list of changes
AN4141
28/42
DocID023425 Rev 2
3.3.7
Serial controller
The serial controller IP provided in the STM32W microcontroller family supports three
communication protocols: I2C, SPI and UART. The communication can be managed by flag
polling, interrupts and DMA. The Hardware Abstraction Layer provides only the API required
to manage basic UART communications. The new serial controller driver provided in
StdPeriph_driver covers all serial controller features.
Table 12. STM32W108xx WDG driver overview
HAL API
StdPeriph_Driver API
Functionality description
halInternalEnableWatchDog(void)
halInternalDisableWatchDog(int8u
magicKey)
WDG_Cmd(FunctionalState
NewState)
Enables/disables the watchdog
WDG_Cmd(ENABLE); enables
WDG WDG_Cmd(DISABLE);
disables WDG
void halInternalResetWatchDog()
WDG_ReloadCounter()
Reloads WDG counter
NA
WDG_DebugConfig()
Status of WDG timer while in debug
mode (running or paused)
boolean halInternalWatchDogEnabled() FunctionalState WDG_GetStatus()
Gets the status of WDG (enabled or
not)
Table 13. STM32W108xx UART driver overview
StdPeriph_Driver API
Functionality description
UART_DeInit()
Deinitializes the SCx_UART peripheral registers to their default reset
values
UART_Init()
Initializes the SC1_UART peripheral according to the specified
parameters in UART_InitStruct
UART_StructInit()
Fills each UART_InitStruct member with its default value
UART_Cmd()
Enables or disables the specified SC1_UART peripheral
UART_ITConfig()
Enables or disables the specified SCx_UART interrupts
UART_TriggerEventConfig()
Triggers event configuration to handle the specified SCx_UART
interrupt
UART_RTSAssertionCmd()
Enables or disables the RTS assertion for the specified SC1_UART
peripheral
UART_SendData()
Transmits a data through the SC1_UART peripheral
UART_ReceiveData()
Returns the most recent received data by the SC1_UART peripheral
UART_GetFlagStatus()
Checks whether the specified SC1_UART flag is set or not
UART_GetITStatus
Checks whether the specified SC1_UART pending interrupt is set or
not
UART_ClearITPendingBit
Clears the SC1_UART interrupt pending bits



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