Home
last modified time | relevance | path

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

/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/
A Drtl8721d_comparator.c57 CMP_CHTypeDef *compChan = CMP_InitStruct->CMP_ChanCtrl; in CMP_Init() local
64 index = compChan[i].CMP_ChIndex; in CMP_Init()
68 comparator->COMP_REF_CH[index] = (u32)((compChan[i].CMP_Ref0 << BIT_SHIFT_COMP_REF0) | \ in CMP_Init()
69 (compChan[i].CMP_Ref1 << BIT_SHIFT_COMP_REF1)); in CMP_Init()
71 if(compChan[i].CMP_WakeType & COMP_WK_ADC) { in CMP_Init()
73 tmp |= (compChan[i].CMP_WakeADCCtrl << BIT_SHIFT_COMP_WK_ADC_CTRL(index)) | \ in CMP_Init()
77 if(compChan[i].CMP_WakeType & COMP_WK_SYS) { in CMP_Init()
79 tmp |= (compChan[i].CMP_WakeSysCtrl << BIT_SHIFT_COMP_WK_SYS_CTRL(index)) | \ in CMP_Init()

Completed in 2 milliseconds