Uart interpolation method

Hello, I've just started leaning zephyr rtos using Nordic 52840-DK. I was thinking to write a code in which i can  set a pin High/low using uart interrupt method. Is there any example(or help) on this .

Thank you for your time and consideration 

Related