LL COMP APIs ¶
|
API |
Min Code Size (Bytes) |
Default Code Size (Bytes) |
Max Code Size (Bytes) |
Called functions |
|---|---|---|---|---|
|
LL_COMP_ClearFlag_OutputTrig |
10 |
10 |
10 |
None |
|
LL_COMP_ConfigInputs |
68 |
68 |
68 |
LL_COMP_INSTANCE_LUT_INDEX(Min)(Def)(Max) |
|
LL_COMP_Disable |
10 |
10 |
10 |
None |
|
LL_COMP_DisableIT_OutputTrig |
10 |
10 |
10 |
None |
|
LL_COMP_Enable |
10 |
10 |
10 |
None |
|
LL_COMP_EnableIT_OutputTrig |
10 |
10 |
10 |
None |
|
LL_COMP_GetCommonWindowMode |
26 |
26 |
26 |
None |
|
LL_COMP_GetCommonWindowOutput |
30 |
30 |
30 |
None |
|
LL_COMP_GetFilteringAnalog |
8 |
8 |
8 |
None |
|
LL_COMP_GetFilteringDigital |
10 |
10 |
10 |
None |
|
LL_COMP_GetInputHysteresis |
8 |
8 |
8 |
None |
|
LL_COMP_GetInputMinus |
82 |
82 |
82 |
LL_COMP_INSTANCE_LUT_INDEX(Min)(Def)(Max) |
|
LL_COMP_GetInputPlus |
8 |
8 |
8 |
None |
|
LL_COMP_GetOutputBlankingSource |
114 |
114 |
114 |
LL_COMP_INSTANCE_LUT_INDEX(Min)(Def)(Max) |
|
LL_COMP_GetOutputPolarity |
8 |
8 |
8 |
None |
|
LL_COMP_INSTANCE_LUT_INDEX |
16 |
16 |
16 |
None |
|
LL_COMP_IsActiveFlag_OutputTrig |
10 |
10 |
10 |
None |
|
LL_COMP_IsEnabled |
8 |
8 |
8 |
None |
|
LL_COMP_IsEnabledIT_OutputTrig |
10 |
10 |
10 |
None |
|
LL_COMP_IsInputScalerEnabled |
16 |
16 |
16 |
None |
|
LL_COMP_IsLocked |
6 |
6 |
6 |
None |
|
LL_COMP_Lock |
10 |
10 |
10 |
None |
|
LL_COMP_OUTPUT_BLANK_INST_LUT |
40 |
40 |
40 |
None |
|
LL_COMP_OUTPUT_INPUT_MINUS_DAC_LUT |
16 |
16 |
16 |
None |
|
LL_COMP_ReadOutputLevel |
8 |
8 |
8 |
None |
|
LL_COMP_SetCommonWindowMode |
30 |
30 |
30 |
None |
|
LL_COMP_SetCommonWindowOutput |
56 |
56 |
56 |
None |
|
LL_COMP_SetFilteringAnalog |
12 |
12 |
12 |
None |
|
LL_COMP_SetFilteringDigital |
14 |
14 |
14 |
None |
|
LL_COMP_SetInputHysteresis |
12 |
12 |
12 |
None |
|
LL_COMP_SetInputMinus |
64 |
64 |
64 |
LL_COMP_INSTANCE_LUT_INDEX(Min)(Def)(Max) |
|
LL_COMP_SetInputPlus |
12 |
12 |
12 |
None |
|
LL_COMP_SetOutputBlankingSource |
72 |
72 |
72 |
None |
|
LL_COMP_SetOutputPolarity |
12 |
12 |
12 |
None |
HAL COMP APIs ¶
|
API |
Min Code Size (Bytes) |
Default Code Size (Bytes) |
Max Code Size (Bytes) |
Called functions |
|---|---|---|---|---|
|
HAL_COMP_DeInit |
24 |
108 |
124 |
LL_COMP_Disable(Min)(Def)(Max), LL_EXTI_DisableEvent_32_63(Def)(Max), LL_EXTI_DisableFallingTrig_32_63(Def)(Max), LL_EXTI_DisableIT_32_63(Def)(Max), LL_EXTI_DisableRisingTrig_32_63(Def)(Max) |
|
HAL_COMP_GetClockFreq |
12 |
12 |
48 |
HAL_RCC_COMP_GetKernelClkFreq(Min)(Def)(Max) |
|
HAL_COMP_GetConfig |
38 |
42 |
94 |
LL_COMP_GetInputMinus(Min)(Def)(Max) |
|
HAL_COMP_GetFiltering |
26 |
26 |
58 |
LL_COMP_GetFilteringAnalog(Min)(Def)(Max), LL_COMP_GetFilteringDigital(Min)(Def)(Max) |
|
HAL_COMP_GetInputMinus |
14 |
14 |
46 |
LL_COMP_GetInputMinus(Min)(Def)(Max) |
|
HAL_COMP_GetInputPlus |
14 |
14 |
50 |
LL_COMP_GetInputPlus(Min)(Def)(Max) |
|
HAL_COMP_GetInstance |
4 |
4 |
116 |
None |
|
HAL_COMP_GetLLInstance |
4 |
4 |
116 |
None |
|
HAL_COMP_GetOutputBlanking |
16 |
16 |
52 |
LL_COMP_GetOutputBlankingSource(Min)(Def)(Max) |
|
HAL_COMP_GetOutputLevel |
16 |
16 |
50 |
LL_COMP_ReadOutputLevel(Min)(Def)(Max) |
|
HAL_COMP_GetState |
4 |
4 |
22 |
None |
|
HAL_COMP_GetUserData |
0 |
4 |
22 |
None |
|
HAL_COMP_IRQHandler |
18 |
144 |
144 |
LL_COMP_ClearFlag_OutputTrig(Min)(Def)(Max), LL_EXTI_ClearTriggerFlag_32_63(Def)(Max), LL_EXTI_ClearTriggerFlag_64_95(Def)(Max), LL_EXTI_IsActiveTriggerFlag_32_63(Def)(Max), LL_EXTI_IsActiveTriggerFlag_64_95(Def)(Max) |
|
HAL_COMP_Init |
16 |
144 |
306 |
HAL_RCC_COMP12_EnableClock(Max), HAL_RCC_COMP34_EnableClock(Max), HAL_RCC_COMP56_EnableClock(Max), HAL_RCC_COMP78_EnableClock(Max) |
|
HAL_COMP_IsLocked |
16 |
16 |
52 |
LL_COMP_IsLocked(Min)(Def)(Max) |
|
HAL_COMP_Lock |
20 |
20 |
56 |
LL_COMP_Lock(Min)(Def)(Max) |
|
HAL_COMP_OutputTriggerCallback |
2 |
2 |
2 |
None |
|
HAL_COMP_RegisterOutputTriggerCallback |
0 |
22 |
56 |
None |
|
HAL_COMP_SetConfig |
76 |
206 |
536 |
LL_COMP_INSTANCE_LUT_INDEX(Max), LL_COMP_IsLocked(Min)(Def)(Max), LL_COMP_SetInputMinus(Min)(Def)(Max), LL_EXTI_DisableFallingTrig_32_63(Def)(Max), LL_EXTI_DisableFallingTrig_64_95(Def)(Max), LL_EXTI_DisableRisingTrig_32_63(Def)(Max), LL_EXTI_DisableRisingTrig_64_95(Def)(Max), LL_EXTI_EnableFallingTrig_32_63(Def)(Max), LL_EXTI_EnableFallingTrig_64_95(Def)(Max), LL_EXTI_EnableRisingTrig_32_63(Def)(Max), LL_EXTI_EnableRisingTrig_64_95(Def)(Max) |
|
HAL_COMP_SetFiltering |
36 |
36 |
476 |
LL_COMP_SetFilteringAnalog(Min)(Def)(Max), LL_COMP_SetFilteringDigital(Min)(Def)(Max) |
|
HAL_COMP_SetInputMinus |
24 |
24 |
174 |
LL_COMP_INSTANCE_LUT_INDEX(Max), LL_COMP_SetInputMinus(Min)(Def)(Max) |
|
HAL_COMP_SetInputPlus |
24 |
24 |
86 |
LL_COMP_SetInputPlus(Min)(Def)(Max) |
|
HAL_COMP_SetOutputBlanking |
26 |
26 |
96 |
LL_COMP_INSTANCE_LUT_INDEX(Max), LL_COMP_SetOutputBlankingSource(Min)(Def)(Max) |
|
HAL_COMP_SetUserData |
0 |
4 |
24 |
None |
|
HAL_COMP_Start |
30 |
142 |
176 |
LL_EXTI_ClearTriggerFlag_32_63(Def)(Max), LL_EXTI_ClearTriggerFlag_64_95(Def)(Max), LL_EXTI_EnableEvent_32_63(Def)(Max), LL_EXTI_EnableEvent_64_95(Def)(Max), comp_activate(Min)(Def)(Max) |
|
HAL_COMP_Start_IT |
0 |
136 |
188 |
LL_EXTI_ClearTriggerFlag_32_63(Def)(Max), LL_EXTI_ClearTriggerFlag_64_95(Def)(Max), LL_EXTI_EnableIT_32_63(Def)(Max), LL_EXTI_EnableIT_64_95(Def)(Max), comp_activate(Def)(Max) |
|
HAL_COMP_Stop |
40 |
52 |
86 |
LL_COMP_Disable(Min)(Def)(Max), LL_COMP_IsLocked(Min)(Def)(Max), LL_EXTI_DisableEvent_32_63(Def)(Max) |
|
HAL_COMP_Stop_IT |
0 |
46 |
80 |
LL_COMP_Disable(Def)(Max), LL_COMP_IsLocked(Def)(Max), LL_EXTI_DisableIT_32_63(Def)(Max) |
|
HAL_COMP_WINDOW_GetConfig |
0 |
144 |
198 |
LL_COMP_GetCommonWindowOutput(Def)(Max), LL_COMP_GetInputMinus(Def)(Max) |
|
HAL_COMP_WINDOW_GetFiltering |
0 |
26 |
58 |
LL_COMP_GetFilteringAnalog(Def)(Max), LL_COMP_GetFilteringDigital(Def)(Max) |
|
HAL_COMP_WINDOW_GetInput |
0 |
26 |
62 |
LL_COMP_GetInputPlus(Def)(Max) |
|
HAL_COMP_WINDOW_GetLowerThreshold |
0 |
26 |
62 |
LL_COMP_GetInputMinus(Def)(Max) |
|
HAL_COMP_WINDOW_GetOutputBlanking |
0 |
16 |
48 |
LL_COMP_GetOutputBlankingSource(Def)(Max) |
|
HAL_COMP_WINDOW_GetOutputLevel |
0 |
64 |
94 |
LL_COMP_ReadOutputLevel(Def)(Max) |
|
HAL_COMP_WINDOW_GetUpperThreshold |
0 |
26 |
62 |
LL_COMP_GetInputMinus(Def)(Max) |
|
HAL_COMP_WINDOW_IsLocked |
0 |
16 |
48 |
LL_COMP_IsLocked(Def)(Max) |
|
HAL_COMP_WINDOW_Lock |
0 |
26 |
58 |
LL_COMP_Lock(Def)(Max) |
|
HAL_COMP_WINDOW_SetConfig |
0 |
506 |
996 |
LL_COMP_INSTANCE_LUT_INDEX(Max), LL_COMP_IsLocked(Def)(Max), LL_COMP_SetCommonWindowMode(Def)(Max), LL_COMP_SetCommonWindowOutput(Def)(Max), LL_COMP_SetInputMinus(Def)(Max), LL_EXTI_DisableFallingTrig_32_63(Def)(Max), LL_EXTI_DisableFallingTrig_64_95(Def)(Max), LL_EXTI_DisableRisingTrig_32_63(Def)(Max), LL_EXTI_DisableRisingTrig_64_95(Def)(Max), LL_EXTI_EnableFallingTrig_32_63(Def)(Max), LL_EXTI_EnableFallingTrig_64_95(Def)(Max), LL_EXTI_EnableRisingTrig_32_63(Def)(Max), LL_EXTI_EnableRisingTrig_64_95(Def)(Max) |
|
HAL_COMP_WINDOW_SetFiltering |
0 |
60 |
504 |
LL_COMP_SetFilteringAnalog(Def)(Max), LL_COMP_SetFilteringDigital(Def)(Max) |
|
HAL_COMP_WINDOW_SetHandle |
0 |
28 |
298 |
None |
|
HAL_COMP_WINDOW_SetInput |
0 |
36 |
98 |
LL_COMP_SetInputPlus(Def)(Max) |
|
HAL_COMP_WINDOW_SetLowerThreshold |
0 |
36 |
182 |
LL_COMP_INSTANCE_LUT_INDEX(Max), LL_COMP_SetInputMinus(Def)(Max) |
|
HAL_COMP_WINDOW_SetOutputBlanking |
0 |
36 |
144 |
LL_COMP_INSTANCE_LUT_INDEX(Max), LL_COMP_SetOutputBlankingSource(Def)(Max) |
|
HAL_COMP_WINDOW_SetUpperThreshold |
0 |
36 |
182 |
LL_COMP_INSTANCE_LUT_INDEX(Max), LL_COMP_SetInputMinus(Def)(Max) |
|
HAL_COMP_WINDOW_Start |
0 |
218 |
252 |
LL_EXTI_ClearTriggerFlag_32_63(Def)(Max), LL_EXTI_ClearTriggerFlag_64_95(Def)(Max), LL_EXTI_EnableEvent_32_63(Def)(Max), LL_EXTI_EnableEvent_64_95(Def)(Max), comp_window_activate(Def)(Max) |
|
HAL_COMP_WINDOW_Start_IT |
0 |
212 |
258 |
LL_EXTI_ClearTriggerFlag_32_63(Def)(Max), LL_EXTI_ClearTriggerFlag_64_95(Def)(Max), LL_EXTI_EnableIT_32_63(Def)(Max), LL_EXTI_EnableIT_64_95(Def)(Max), comp_window_activate(Def)(Max) |
|
HAL_COMP_WINDOW_Stop |
0 |
70 |
104 |
LL_COMP_Disable(Def)(Max), LL_COMP_IsLocked(Def)(Max), LL_EXTI_DisableEvent_32_63(Def)(Max) |
|
HAL_COMP_WINDOW_Stop_IT |
0 |
64 |
94 |
LL_COMP_Disable(Def)(Max), LL_COMP_IsLocked(Def)(Max), LL_EXTI_DisableIT_32_63(Def)(Max) |
Static COMP APIs ¶
|
API |
Min Code Size (Bytes) |
Default Code Size (Bytes) |
Max Code Size (Bytes) |
Called functions |
|---|---|---|---|---|
|
comp_activate |
84 |
84 |
84 |
LL_COMP_Enable(Min)(Def)(Max), LL_COMP_IsInputScalerEnabled(Min)(Def)(Max), LL_COMP_IsLocked(Min)(Def)(Max) |
|
comp_window_activate |
0 |
112 |
112 |
LL_COMP_Enable(Def)(Max), LL_COMP_IsInputScalerEnabled(Def)(Max), LL_COMP_IsLocked(Def)(Max) |