コード例 #1
0
ファイル: pios_board.c プロジェクト: quang102/openpilot
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
}
コード例 #2
0
ファイル: board_hw_defs.c プロジェクト: mirasanti/vbrain
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);
}
コード例 #3
0
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);
}