Electronic Components Datasheet Search
  English  ▼

X  

MCP19124 Datasheet(PDF) 146 Page - Microchip Technology

Part # MCP19124
Description  Digitally-Enhanced Power Analog Synchronous Low-Side Dual-Loop PWM Controller
PDF  236 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP19124 Datasheet(HTML) 146 Page - Microchip Technology

Back Button MCP19124 Datasheet HTML 142Page - Microchip Technology MCP19124 Datasheet HTML 143Page - Microchip Technology MCP19124 Datasheet HTML 144Page - Microchip Technology MCP19124 Datasheet HTML 145Page - Microchip Technology MCP19124 Datasheet HTML 146Page - Microchip Technology MCP19124 Datasheet HTML 147Page - Microchip Technology MCP19124 Datasheet HTML 148Page - Microchip Technology MCP19124 Datasheet HTML 149Page - Microchip Technology MCP19124 Datasheet HTML 150Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 146 / 236 page
background image
MCP19124/5
DS20005619A-page 146
 2016 Microchip Technology Inc.
24.2
Compare Mode
In Compare mode, the 16-bit CCDRx register value is
constantly compared against the TMR1 register pair
value. When a match occurs, the CMPx pin:
• Is driven high
• Is driven low
• Toggles
• Remains unchanged
The action on the pin is based on the value of the
control bits, CCxM3:CCxM0. At the same time,
interrupt flag bit, CCP1IF, is set.
FIGURE 24-2:
COMPARE MODE OPERATION BLOCK DIAGRAM
24.2.1
CMPX PIN CONFIGURATION
The user must configure the CMPx pin as an output by
clearing the TRIS bit for that pin.
24.2.2
TIMER1 MODE SELECTION
Timer1 must be running off of the instruction clock for
the CCD module to use the compare feature. If Timer1
is running off of the 8 MHz clock, the compare feature
may not function correctly.
24.2.3
SOFTWARE INTERRUPT MODE
When Generate Software Interrupt mode is chosen, the
CCP1 pin is not affected. The CCP1IF bit is set,
causing a CCx interrupt (if enabled).
24.2.4
SPECIAL EVENT TRIGGER
In this mode, an internal hardware trigger is generated,
which may be used to initiate an action. The Special
Event Trigger output of CCD does not reset the TMR1
register pair and starts an A/D conversion (if the A/D
module is enabled).
Special Event
Trigger
Match
TRIS
Output Enable
CCDCON<CCxM3:0>
Mode Select
CCDRxH
CCDRxL
CCD pin
Set CCDxIF
Interrupt Flag
(PIR1)
QS
R
Output
Logic
4
TMR1H
TMR1L
Comparator
Special Event Trigger will:
- NOT set interrupt flag bit TMR1IF in the PIR1 register.
- Set the GO/DONE bit to start the ADC conversion.
Note: Clearing the CCxM<3:0> bits will set the
CMPx compare output latch to the default
state. This is not the GPIO pin data latch.
The default state for set on match or toggle
on match is ‘0’ but the default state for clear
on match is ‘1’.
Note: The Special Event Trigger from the CCD
module will not set the interrupt flag bit
TMR1IF (bit 0 in the PIR1 register).



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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