Functions
COMP configuration locking function

COMP1, COMP2,...COMP7 configuration locking function COMP1, COMP2,...COMP7 configuration can be locked each separately. Unlocking is performed by system reset. More...

Collaboration diagram for COMP configuration locking function:

Functions

void COMP_LockConfig (uint32_t COMP_Selection)
 Lock the selected comparator (COMP1/COMP2) configuration. More...
 

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_Selectionthe 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 479 of file stm32f30x_comp.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:30