Hello.
Start to work with this processor and some questions appeared
1)What is the difference between CMPRx and TxCMPR registers, first of them set compare value which constantly compared with the value of the timer counter, but purpose of TxCMPR is unknown.And TxCNT is the value of timer counter?
2)The width of the PWM pulse sets by CMPR and remain unchanged until the end of the period.But I need to change widht before the end of the period happens. In other words i would like to get similar picture:

Thanks.