Home
last modified time | relevance | path

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

/external/platform/lpc15xx/lpcopen/periph_acmp/example/src/
A Dacmp.c76 Chip_ACMP_ClearIntFlag(LPC_CMP, CMP_INDEX); in ACMP3_IRQHandler()
91 Chip_ACMP_Init(LPC_CMP); in main()
97 …Chip_ACMP_SetupACMPRefs(LPC_CMP, CMP_INDEX, ACMP_POSIN_ADCIN_1, ACMP_NEGIN_VREF_DIV, ACMP_HYS_NONE… in main()
99 Chip_ACMP_SetupACMPInt(LPC_CMP, CMP_INDEX, false, false, ACMP_EDGESEL_BOTH); in main()
100 Chip_ACMP_EnableCompInt(LPC_CMP, CMP_INDEX); in main()
101 Chip_ACMP_SetupVoltLadder(LPC_CMP, CMP_INDEX, 0x15, false); in main()
102 Chip_ACMP_EnableVoltLadder(LPC_CMP, CMP_INDEX); in main()
104 Chip_ACMP_SetCompFiltReg(LPC_CMP, CMP_INDEX, ACMP_SMODE_0, ACMP_CLKDIV_1); in main()
106 Chip_ACMP_EnableComp(LPC_CMP, CMP_INDEX); in main()
115 if (Chip_ACMP_GetCompStatus(LPC_CMP, CMP_INDEX)) { in main()
/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/
A Dchip.h124 #define LPC_CMP ((LPC_CMP_T *) LPC_CMP_BASE) macro

Completed in 3 milliseconds