PIC16C72AT-04/SS Microchip Technology, PIC16C72AT-04/SS Datasheet - Page 32

IC MCU OTP 2KX14 A/D PWM 28SSOP

PIC16C72AT-04/SS

Manufacturer Part Number
PIC16C72AT-04/SS
Description
IC MCU OTP 2KX14 A/D PWM 28SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16C72AT-04/SS

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x8b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
28-SSOP
For Use With
309-1025 - ADAPTER 28-SSOP TO 28-DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
PIC16C62B/72A
6.1
The Timer2 output is also used by the CCP module to
generate the PWM "On-Time", and the PWM period
with a match with PR2.
The TMR2 register is readable and writable, and is
cleared on any device reset.
The input clock (F
1:4
T2CKPS1:T2CKPS0 (T2CON<1:0>).
The match output of TMR2 goes through a 4-bit
postscaler (which gives a 1:1 to 1:16 scaling) to gener-
ate a TMR2 interrupt (latched in flag bit TMR2IF,
(PIR1<1>)).
The prescaler and postscaler counters are cleared
when any of the following occurs:
• a write to the TMR2 register
• a write to the T2CON register
• any device reset (Power-on Reset, MCLR reset,
TMR2 is not cleared when T2CON is written.
TABLE 6-1
DS35008B-page 32
Address
0Bh,8Bh
0Ch
8Ch
11h
12h
92h
Legend:
Watchdog Timer reset or Brown-out Reset)
or
Timer2 Operation
x = unknown, u = unchanged, - = unimplemented read as '0'. Shaded cells are not used by the Timer2 module.
Name
INTCON
PIR1
PIE1
TMR2
T2CON
PR2
1:16,
REGISTERS ASSOCIATED WITH TIMER2 AS A TIMER/COUNTER
OSC
Timer2 module’s register
Timer2 Period Register
selected
Bit 7
/4) has a prescale option of 1:1,
GIE
TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000 -000 0000
ADIE
Bit 6
PEIE
ADIF
by
control
Bit 5
T0IE
INTE
Preliminary
bits
Bit 4
SSPIE
SSPIF
RBIE
Bit 3
6.2
The Timer2 module has an 8-bit period register PR2.
Timer2 increments from 00h until it matches PR2 and
then resets to 00h on the next increment cycle. PR2 is
a readable and writable register. The PR2 register is ini-
tialized to FFh upon reset.
6.3
The output of TMR2 (before the postscaler) is fed to the
Synchronous Serial Port module, which optionally uses
it to generate shift clock.
CCP1IF
CCP1IE
Bit 2
T0IF
Timer2 Interrupt
Output of TMR2
TMR2IF
TMR2IE
Bit 1
INTF
TMR1IE
TMR1IF
RBIF
Bit 0
1999 Microchip Technology Inc.
0000 000x 0000 000u
-00- 0000 0000 0000
-0-- 0000 0000 0000
0000 0000 0000 0000
1111 1111 1111 1111
Value on
POR,
BOR
Value on
all other
resets

Related parts for PIC16C72AT-04/SS