Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
Initialization and de-initialization functions
[SWPMI Exported Functions]
Functions | |
ErrorStatus | LL_SWPMI_DeInit (SWPMI_TypeDef *SWPMIx) |
De-initialize the SWPMI peripheral registers to their default reset values. | |
ErrorStatus | LL_SWPMI_Init (SWPMI_TypeDef *SWPMIx, LL_SWPMI_InitTypeDef *SWPMI_InitStruct) |
Initialize the SWPMI peripheral according to the specified parameters in the SWPMI_InitStruct. | |
void | LL_SWPMI_StructInit (LL_SWPMI_InitTypeDef *SWPMI_InitStruct) |
Set each LL_SWPMI_InitTypeDef field to default value. |
Function Documentation
ErrorStatus LL_SWPMI_DeInit | ( | SWPMI_TypeDef * | SWPMIx ) |
De-initialize the SWPMI peripheral registers to their default reset values.
- Parameters:
-
SWPMIx SWPMI Instance
- Return values:
-
An ErrorStatus enumeration value - SUCCESS: SWPMI registers are de-initialized
- ERROR: Not applicable
Definition at line 99 of file stm32l4xx_ll_swpmi.c.
ErrorStatus LL_SWPMI_Init | ( | SWPMI_TypeDef * | SWPMIx, |
LL_SWPMI_InitTypeDef * | SWPMI_InitStruct | ||
) |
Initialize the SWPMI peripheral according to the specified parameters in the SWPMI_InitStruct.
- Note:
- As some bits in SWPMI configuration registers can only be written when the SWPMI is deactivated (SWPMI_CR_SWPACT bit = 0), SWPMI IP should be in deactivated state prior calling this function. Otherwise, ERROR result will be returned.
- Parameters:
-
SWPMIx SWPMI Instance SWPMI_InitStruct pointer to a LL_SWPMI_InitTypeDef structure that contains the configuration information for the SWPMI peripheral.
- Return values:
-
An ErrorStatus enumeration value - SUCCESS: SWPMI registers are initialized
- ERROR: SWPMI registers are not initialized
Definition at line 121 of file stm32l4xx_ll_swpmi.c.
void LL_SWPMI_StructInit | ( | LL_SWPMI_InitTypeDef * | SWPMI_InitStruct ) |
Set each LL_SWPMI_InitTypeDef field to default value.
- Parameters:
-
SWPMI_InitStruct pointer to a LL_SWPMI_InitTypeDef structure that contains the configuration information for the SWPMI peripheral.
- Return values:
-
None
Definition at line 161 of file stm32l4xx_ll_swpmi.c.
Generated on Tue Jul 12 2022 17:38:58 by
