| Electronic Components Datasheet Search |
|
AN4141 Datasheet(PDF) 28 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4141 Datasheet(HTML) 28 Page - STMicroelectronics |
|
28 / 42 page ![]() 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 |
|
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 |
| 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 |