Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC16F1526 Datasheet(PDF) 185 Page - Microchip Technology

Part # PIC16F1526
Description  64-Pin Flash Microcontrollers with nanoWatt XLP Technology
PDF  354 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F1526 Datasheet(HTML) 185 Page - Microchip Technology

Back Button PIC16F1526 Datasheet HTML 181Page - Microchip Technology PIC16F1526 Datasheet HTML 182Page - Microchip Technology PIC16F1526 Datasheet HTML 183Page - Microchip Technology PIC16F1526 Datasheet HTML 184Page - Microchip Technology PIC16F1526 Datasheet HTML 185Page - Microchip Technology PIC16F1526 Datasheet HTML 186Page - Microchip Technology PIC16F1526 Datasheet HTML 187Page - Microchip Technology PIC16F1526 Datasheet HTML 188Page - Microchip Technology PIC16F1526 Datasheet HTML 189Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 185 / 354 page
background image
 2011 Microchip Technology Inc.
Preliminary
DS41458A-page 185
PIC16(L)F1526/27
20.1.4
CCP PRESCALER
There are four prescaler settings specified by the
CCPxM<3:0> bits of the CCPxCON register. Whenever
the CCP module is turned off, or the CCP module is not
in Capture mode, the prescaler counter is cleared. Any
Reset will clear the prescaler counter.
Switching from one capture prescaler to another does not
clear the prescaler and may generate a false interrupt. To
avoid this unexpected operation, turn the module off by
clearing the CCPxCON register before changing the
prescaler. Equation 20-1 demonstrates the code to
perform this function.
EXAMPLE 20-1:
CHANGING BETWEEN
CAPTURE PRESCALERS
20.1.5
CAPTURE DURING SLEEP
Capture mode depends upon the Timer1/3/5 module for
proper operation. There are two options for driving the
Timer1/3/5 module in Capture mode. It can be driven by
the instruction clock (FOSC/4), or by an external clock
source.
When Timer1/3/5 is clocked by FOSC/4, Timer1/3/5 will
not increment during Sleep. When the device wakes from
Sleep, Timer1/3/5 will continue from its previous state.
Capture mode will operate during Sleep when
Timer1/3/5 is clocked by an external clock source.
20.1.6
ALTERNATE PIN LOCATIONS
This module incorporates I/O pins that can be moved to
other locations with the use of the alternate pin function
register, APFCON. To determine which pins can be
moved and what their default locations are upon a
Reset, see Section 12.1 “Alternate Pin Function” for
more information.
BANKSEL CCPxCON
;Set Bank bits to point
;to CCPxCON
CLRF
CCPxCON
;Turn CCP module off
MOVLW
NEW_CAPT_PS ;Load the W reg with
;the new prescaler
;move value and CCP ON
MOVWF
CCPxCON
;Load CCPxCON with this
;value



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