PIC16C71-04/SO Microchip Technology, PIC16C71-04/SO Datasheet - Page 5

IC MCU OTP 1KX14 A/D 18SOIC

PIC16C71-04/SO

Manufacturer Part Number
PIC16C71-04/SO
Description
IC MCU OTP 1KX14 A/D 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16C71-04/SO

Core Size
8-Bit
Program Memory Size
1.75KB (1K x 14)
Core Processor
PIC
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
13
Program Memory Type
OTP
Ram Size
36 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Data Converters
A/D 4x8b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
18-SOIC (7.5mm Width)
Controller Family/series
PIC16C
No. Of I/o's
13
Ram Memory Size
36Byte
Cpu Speed
4MHz
No. Of Timers
1
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT18SO-1 - SOCKET TRANSITION 18SOIC 300MIL309-1011 - ADAPTER 18-SOIC TO 18-DIP309-1010 - ADAPTER 18-SOIC TO 18-DIPAC164010 - MODULE SKT PROMATEII DIP/SOIC
Eeprom Size
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
2.
Code Example:
**************************************************************************************
;
;
;
;
;
TMR1Capture
 2003 Microchip Technology Inc.
Module: Timer1
When Timer1 is configured to operate as an
asynchronous counter, care must be taken that
there is no incoming pulse while the module is
being turned off. If an incoming pulse arrives while
Timer1 is being turned off (i.e., TMR1ON transi-
tions from 1 to 0), the value of registers TMR1L
and TMR1H will be unpredictable.
Work around
This solution involves changing Timer1 from
Asynchronous to Synchronous mode before turn-
ing off Timer1. No additional resources are
required for this solution.
Call this routine to stop Timer1 asynchronous counting
Timer1 is stopped after the timer is changed to synchronous mode
The captured timer value resides in TMR1H and TMR1L at the completion of this
routine.
bcf
bcf
bsf
return
T1CON,NOT_T1SYNC
T1CON,TMR1ON
T1CON,NOT_T1SYNC
; entry point
; set for synchronous mode
; stop timer
; restore asynchronous mode
; return to calling routine
Timer1 synchronization will start, effectively stop-
ping Timer1, one Q period after the Synchronous
mode is enabled, or one Q period later than would
have been realized by simply clearing the
TMR1ON bit. One additional count, in excess of
the counts accrued during this extra Q period, may
be accumulated before the TMR1ON bit is eventu-
ally cleared in the next instruction. The occurrence
of this additional count is dependent on the phase
relationship between OSC1, or the internal system
clock, and T1CKI.
PIC16C712/716
DS80072D-page 5

Related parts for PIC16C71-04/SO