PIC12F1516 MICROCHIP [Microchip Technology], PIC12F1516 Datasheet - Page 183

no-image

PIC12F1516

Manufacturer Part Number
PIC12F1516
Description
28/40/44-Pin Flash Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
20.3.7
In Sleep mode, the TMR2 register will not increment
and the state of the module will not change. If the CCPx
pin is driving a value, it will continue to drive that value.
When the device wakes up, TMR2 will continue from its
previous state.
20.3.8
The PWM frequency is derived from the system clock
frequency. Any changes in the system clock frequency
will result in changes to the PWM frequency. See
Section 5.0 “Oscillator Module (With Fail-Safe
Clock Monitor)”
20.3.9
Any Reset will force all ports to Input mode and the
CCP registers to their Reset states.
TABLE 20-4:
 2011 Microchip Technology Inc.
APFCON
CCP1CON
INTCON
PIE1
PIE2
PIR1
PIR2
PR2
T2CON
TMR2
TRISA
Legend: — = Unimplemented location, read as ‘0’. Shaded cells are not used by the PWM.
Name
*
Page provides register information.
OPERATION IN SLEEP MODE
CHANGES IN SYSTEM CLOCK
FREQUENCY
EFFECTS OF RESET
Timer2 Period Register
Timer2 Module Register
TMR1GIE
TMR1GIF
TRISA7
OSFIE
OSFIF
Bit 7
GIE
for additional details.
SUMMARY OF REGISTERS ASSOCIATED WITH STANDARD PWM
TRISA6
PEIE
ADIE
ADIF
Bit 6
TMR0IE
TRISA5
RCIE
RCIF
Bit 5
T2OUTPS<3:0>
DC1B<1:0>
TRISA4
Preliminary
INTE
TXIE
Bit 4
TXIF
TRISA3
SSPIE
BCLIE
SSPIF
IOCIE
BCLIF
20.3.10
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
more information.
Bit 3
PIC16(L)F1516/7/8/9
TMR2ON
TMR0IF
CCP1IE
CCP1IF
TRISA2
Section 12.1 “Alternate Pin Function”
ALTERNATE PIN LOCATIONS
Bit 2
CCP1M<3:0>
TMR2IE
TMR2IF
TRISA1
SSSEL
INTF
Bit 1
T2CKPS<1:0>
CCP2SEL
TMR1IE
CCP2IE
TMR1IF
CCP2IF
TRISA0
IOCIF
Bit 0
DS41452B-page 183
Register
on Page
171*
184
173
171
114
116
80
81
82
83
84
for

Related parts for PIC12F1516