I2C Проверка наличия устройства

  1. define p10_IS_SET (LPC_GPIO0->FIOPIN & (1UL << 1)) ? 1 : 0
  2. define p27_IS_SET (LPC_GPIO0->FIOPIN & (1UL << 11)) ? 1 : 0


Please log in to post comments.