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.
Dependents: Space_Invaders_Demo neopixels gpio_test_stm32f3_discovery gpio_test_systimer ... more
COMP configuration locking function
[COMP_Private_Functions]
COMP1, COMP2,...COMP7 configuration locking function COMP1, COMP2,...COMP7 configuration can be locked each separately. More...
Functions | |
void | COMP_LockConfig (uint32_t COMP_Selection) |
Lock the selected comparator (COMP1/COMP2) configuration. |
Detailed Description
COMP1, COMP2,...COMP7 configuration locking function COMP1, COMP2,...COMP7 configuration can be locked each separately.
Unlocking is performed by system reset.
=============================================================================== ##### Configuration Lock function ##### ===============================================================================
Function Documentation
void COMP_LockConfig | ( | uint32_t | COMP_Selection ) |
Lock the selected comparator (COMP1/COMP2) configuration.
- Note:
- Locking the configuration means that all control bits are read-only. To unlock the comparator configuration, perform a system reset.
- Parameters:
-
COMP_Selection,: the selected comparator. This parameter can be COMP_Selection_COMPx where x can be 1 to 7 to select the COMP peripheral.
- Return values:
-
None
Definition at line 482 of file stm32f30x_comp.c.
Generated on Tue Jul 12 2022 17:34:45 by
