Anti tampering with STM32L4
I'm working on a project with an STM32L4 microcontroller and I need to implement an anti-tampering function to detect if the case has been opened using a switch. I know that the STM32L4 has an anti-tampering function on pin PA0, but I'm already using this pin as an input for the clock of a radio (SX1250). What are my options for implementing this type of anti-tampering function in my device without interfering with the radio clock input? Is it possible to use a switch to detect tampering, and if so, how could I do it? I appreciate any suggestions or advice you can offer.