CRC on serial input

I found the post about CRC being implemented , however, if someone is willing, could they please put together a simple demo of CRC checking the UART input as I am struggling on this point.
Thanks.

It only does one type of CRC modbuss I have written the code to do xmodem which could be changed to what ever you need, check my posts to getting ASCII and reading data from serial port. Note it enables you to calculate crc for sending and receiving.