Searched refs:ADC_RESOLUTION (Results 1 – 4 of 4) sorted by relevance
48 #define ADC_RESOLUTION 4096 macro79 for (int i = 1; i <= ADC_RESOLUTION; i *= TWO) { in CorlorfulLightTask()94 duty[i] = PWM_FREQ_DIVISION * (unsigned int)data[i] / ADC_RESOLUTION; in CorlorfulLightTask()
48 #define ADC_RESOLUTION 4096 macro80 for (int i = 1; i <= ADC_RESOLUTION; i *= TWO) { in CorlorfulLightTask()95 duty[i] = PWM_FREQ_DIVITION * (unsigned int)data[i] / ADC_RESOLUTION; in CorlorfulLightTask()
52 #define ADC_RESOLUTION 2048 macro
61 #define ADC_RESOLUTION 2048 macro