On page 704 of the data sheet of the Texas instrument Tiva C TM4C123GH6PM....it has these three registers in its timer module.i searched about these registers and found that shadow register is a register that holds the copy of a register , match register holds a value and compares the value with timer value and ccp register also do the same it captures and compares the value with the timer. if what i understood is right then i don't find any difference among these register but they are present. What is the difference between these registers?
Each timer module contains a free running timer.
The value of that timer can be read at any time by reading the value of the Shadow register.
Since the timer continuously runs, you have to monitor its value if you want to use it to generate a periodic event.
This could be done in software by continuously reading the value of the Shadow register, or in hardware by setting a value in the Capture/Compare register. Think of an alarm clock as a real world example.
The Capture/Compare register circuitry is also connected to hardware pins that allow the timing of external events, and also to allow the generation of external events in the form of PWM output.
The Match register is used to set the desired intervals such as the PWM interval.
Look at section 184.108.40.206 on page 61.