160 likes | 311 Vues
This content explains the operation of Timer 1 and Timer 2 in microcontroller applications, focusing on Pulse Width Modulation (PWM) techniques. It covers how to generate PWM signals through software and hardware methods, detailing the Timer 1 Control Register and Timer 2 block diagram. Additionally, it explores the Capture, Compare, and PWM (CCP) modules of the PIC16F877 microcontroller, outlining their main modes of operation, registers, and practical calculations for PWM output at Pin RC2. Ideal for embedded system developers looking to deepen their understanding of timer and PWM functions.
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.