160 likes | 304 Views
Timer 1 and 2 operation , PWM Principles. Timer 1 Operation. Timer 1 Control Register. Pulse Width Modulation (PWM). Generating PWM signals in Software. Generating PWM using HW (1). Generating PWM using HW (2). Timer 2 Block diagram. Timer 2 Control Register. Capture, Compare, PWM (CCP).
E N D
Capture, Compare, PWM (CCP) • There are two CCP modules in the 16F877. • Each has two eight bit registers. • They modules work in conjunction with either timer1 or timer2. • They have three main modes of operation.