COMP1, COMP2,...COMP7 configuration locking function COMP1, COMP2,...COMP7 configuration can be locked each separately. Unlocking is performed by system reset.
More...
|
void | COMP_LockConfig (uint32_t COMP_Selection) |
| Lock the selected comparator (COMP1/COMP2) configuration. More...
|
|
COMP1, COMP2,...COMP7 configuration locking function COMP1, COMP2,...COMP7 configuration can be locked each separately. Unlocking is performed by system reset.
===============================================================================
##### Configuration Lock function #####
===============================================================================
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
-
Definition at line 479 of file stm32f30x_comp.c.