How to modify the register AFIO_EXTICR4

Hello,

I am working with the NUCLEO-F103RB board and I am using the USER pushbutton on PC13 to create an interrupt.


I would like to modify the AFIO_EXTICR4 register to force PC13 as in the screenshot below:

I write this code line :

AFIO->EXTICR = AFIO->EXTICR | AFIO_EXTICR4_EXTI13_PC;

The IDE indicates an error !

Can you tell me the correct syntax to modify this register.


Thank you very mutch for your help.


Best regrads

Marc