1.4.6 Polled Input
Modules | Limit High | Resolution |
---|---|---|
NONE | 4.194s | 5 μs |
This is the most basic routine. It involves no peripherals, yet it is the most time consuming.
OVERVIEW
This method uses software to poll and increment variables to measure the duty cycle.
SETUP
After performing the steps seen in section Polled Input, the duty cycle percentage can be calculated by using Figure 1.
LIMITATIONS
The resolution is similar to the previous software routines in that it is proportional to the number of instructions to setup each rising and falling edge detection, as well as increment routine.