I’m using a PIC16F1613,want to measure (input PWM)TON of a signal. An event (Capture Mode) is defined at Every edge. I noticed that CCPR1H and CCPR1L capture TON as well TOFF. My question is how can i defined only TON ,and suppose input signal is full ON/OFF signal how can i detect ?
that is not possible…in capture mode, event must trigger either for every falling edge or every rising edge, or every 4th rising edge or every 16th rising edge depending upon the value of CCP1M3 – CCP1M0. there must be some issue in the function handling the event