Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32wba5/STM32WBA54/PTACONV/PTACONV_CR#0x0
PTACONV control register
PTA_STATUS transmit and receive polarity.
PTA_GRANT polarity.
https://github.com/modm-io/cmsis-svd-stm32