void PIOS_I2C_main_adapter_ev_irq_handler(void) { #ifdef I2C_DEBUG_PIN PIOS_DEBUG_PinHigh(I2C_DEBUG_PIN); #endif /* Call into the generic code to handle the IRQ for this specific device */ PIOS_I2C_EV_IRQ_Handler(pios_i2c_main_adapter_id); #ifdef I2C_DEBUG_PIN PIOS_DEBUG_PinLow(I2C_DEBUG_PIN); #endif }
void PIOS_I2C_flexi_adapter_ev_irq_handler(void) { /* Call into the generic code to handle the IRQ for this specific device */ PIOS_I2C_EV_IRQ_Handler(pios_i2c_flexi_adapter_id); }
void PIOS_I2C_main_adapter_ev_irq_handler(void) { /* Call into the generic code to handle the IRQ for this specific device */ PIOS_I2C_EV_IRQ_Handler(PIOS_I2C_MAIN_ADAPTER); }