what is the use of SPI_IRQ pin in IDB05A1 BLE module.
/**
* @brief Reports if the BlueNRG has data for the host micro.
*
* @param None
* @retval int32_t: 1 if data are present, 0 otherwise
*/
static int32_t IsDataAvailable(void)
{
return (HAL_GPIO_ReadPin(HCI_TL_SPI_EXTI_PORT, HCI_TL_SPI_EXTI_PIN) == GPIO_PIN_SET);
}
if it indicate that it has data for mater can we use this as a wake up to controller. by checking pin status can we wakeup the MCU when the data is available.
