User Activity

I use 3 wake up pin PA0,PC5 and PC13 .(MCU part number is STM32L452)When trigger wake up pin to wake up MCU from the standby mode.How to identify which WAKE UP PIN is triggered?
My new project use 3 SPI with interrupt method. When the SPI is receivedin HAL_SPI_TxRxCpltCallback(SPI_HandleTypeDef *hspi) this function How to identify which set of SPI has been received ?