6 #define N_PWMLED_MODES 4
10 void log_set_state(unsigned char val);
13 void log_byte(unsigned char byte);
14 void log_word(uint16_t word);
16 void inline log_set_state(unsigned char val) { }
17 void inline log_init() { }
18 void inline log_flush() { }
19 void inline log_byte(unsigned char byte) { }
20 void inline log_word(uint16_t word) { }
25 void timer_start_adcs();
29 void pwm_on(unsigned char n);
30 void pwm_off(unsigned char n);
31 void pwm_set(unsigned char n, unsigned char stride);
34 extern volatile uint16_t jiffies;
39 void pwmled_adc(unsigned char n, uint16_t adcval);
40 void pwmled_set_mode(unsigned char n, unsigned char mode);
41 unsigned char pwmled_needs_adc(unsigned char n);
48 void gpio_set(unsigned char n, unsigned char on);
52 extern volatile unsigned char ambient_zone;
53 void ambient_adc(uint16_t adc_val);
57 void patterns_next_tick();
59 #endif /* !LIGHTS_H__ */