Home
last modified time | relevance | path

Searched refs:CMP_InitStruct (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/
A Drtl8721d_comparator.c32 void CMP_StructInit(CMP_InitTypeDef *CMP_InitStruct) in CMP_StructInit() argument
37 CMP_InitStruct->CMP_ChanCtrl[i].CMP_ChIndex = i; in CMP_StructInit()
38 CMP_InitStruct->CMP_ChanCtrl[i].CMP_Ref0 = 0; // Vref0 = 0.1*0=0v in CMP_StructInit()
39 CMP_InitStruct->CMP_ChanCtrl[i].CMP_Ref1 = 0x1F; // Vref1 = 0.1*31=3.1v in CMP_StructInit()
40 CMP_InitStruct->CMP_ChanCtrl[i].CMP_WakeType = COMP_WK_NONE; in CMP_StructInit()
41 CMP_InitStruct->CMP_ChanCtrl[i].CMP_WakeSysCtrl = COMP_WITHIN_REF0_AND_REF1; in CMP_StructInit()
42 CMP_InitStruct->CMP_ChanCtrl[i].CMP_WakeADCCtrl = COMP_WITHIN_REF0_AND_REF1; in CMP_StructInit()
52 void CMP_Init(CMP_InitTypeDef* CMP_InitStruct) in CMP_Init() argument
57 CMP_CHTypeDef *compChan = CMP_InitStruct->CMP_ChanCtrl; in CMP_Init()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/
A Drtl8721d_comparator.h159 _LONG_CALL_ void CMP_StructInit(CMP_InitTypeDef *CMP_InitStruct);
160 _LONG_CALL_ void CMP_Init(CMP_InitTypeDef* CMP_InitStruct);

Completed in 3 milliseconds