công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

PIC16F15213T-I/ST bảng dữ liệu(PDF) 199 Page - Microchip Technology

tên linh kiện PIC16F15213T-I/ST
Giải thích chi tiết về linh kiện  PIC16F15213/14/23/24/43/44 Low Pin Count Microcontrollers
PDF  439 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  MICROCHIP [Microchip Technology]
Trang chủ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F15213T-I/ST bảng dữ liệu(HTML) 199 Page - Microchip Technology

Back Button PIC16F15213T-I/ST Datasheet HTML 195Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 196Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 197Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 198Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 199Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 200Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 201Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 202Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 203Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 199 / 439 page
background image
22.
CCP - Capture/Compare/PWM Module
The Capture/Compare/PWM module is a peripheral that allows the user to time and control different events, and to
generate Pulse-Width Modulation (PWM) signals. In Capture mode, the peripheral allows the timing of the duration of
an event. The Compare mode allows the user to trigger an external event when a predetermined amount of time has
expired. The PWM mode can generate Pulse-Width Modulated signals of varying frequency and duty cycle.
The Capture and Compare functions are identical for all CCP modules.
Important:  In devices with more than one CCP module, it is very important to pay close attention to
the register names used. Throughout this section, the prefix ‘CCPx’ is used as a generic replacement for
specific numbering. A number placed where the ‘x’ is in the prefix is used to distinguish between separate
modules. For example, CCP1CON and CCP2CON control the same operational aspects of two completely
different CCP modules.
22.1
CCP Module Configuration
Each Capture/Compare/PWM module is associated with a control register (CCPxCON), a capture input selection
register (CCPxCAP) and a data register (CCPRx). The data register, in turn, is comprised of two 8-bit registers:
CCPRxL (low byte) and CCPRxH (high byte).
22.1.1
CCP Modules and Timer Resources
The CCP modules utilize Timers 1 and 2 that vary with the selected mode. Various timers are available to the CCP
modules in Capture, Compare or PWM modes, as shown in the table below.
Table 22-1. CCP Mode - Timer Resources
CCP Mode
Timer Resource
Capture
Timer1
Compare
PWM
Timer2
All of the modules may be active at once and may share the same timer resource if they are configured to operate in
the same mode (Capture/Compare or PWM) at the same time.
22.1.2
Open-Drain Output Option
When operating in Output mode (the Compare or PWM modes), the drivers for the CCPx pins can be optionally
configured as open-drain outputs. This feature allows the voltage level on the pin to be pulled to a higher level
through an external pull-up resistor and allows the output to communicate with external circuits without the need for
additional level shifters.
22.2
Capture Mode
Capture mode makes use of the 16-bit odd numbered timer resources (Timer1) . When an event occurs on the
capture source, the 16-bit CCPRx register captures and stores the 16-bit value of the TMRx register. An event is
defined as one of the following and is configured by the MODE bits:
• Every falling edge of CCPx input
• Every rising edge of CCPx input
• Every 4th rising edge of CCPx input
• Every 16th rising edge of CCPx input
PIC16F15213/14/23/24/43/44
CCP - Capture/Compare/PWM Module
© 2020-2022 Microchip Technology Inc.
and its subsidiaries
Data Sheet
DS40002195E-page 199



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com