#include #include /* Check port settings for clock and data line */ #if !(defined(PS2_CLOCK_PORT) && \ defined(PS2_CLOCK_PIN) && \ defined(PS2_CLOCK_DDR) && \ defined(PS2_CLOCK_BIT)) # error "PS/2 clock port setting is required in config.h" #endif #if !(defined(PS2_DATA_PORT) && \ defined(PS2_DATA_PIN) && \ defined(PS2_DATA_DDR) && \ defined(PS2_DATA_BIT)) # error "PS/2 data port setting is required in config.h" #endif /* * Clock */ void clock_init(void) { } void clock_lo(void) { PS2_CLOCK_PORT &= ~(1<