PIC16C712-04/P Microchip Technology, PIC16C712-04/P Datasheet - Page 4
![IC MCU OTP 1KX14 A/D PWM 18DIP](/photos/6/76/67657/18-dip_300mil__sml.jpg)
PIC16C712-04/P
Manufacturer Part Number
PIC16C712-04/P
Description
IC MCU OTP 1KX14 A/D PWM 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets
1.PIC16C716-04P.pdf
(106 pages)
2.PIC16C716-04P.pdf
(14 pages)
3.PIC16C712-04P.pdf
(109 pages)
Specifications of PIC16C712-04/P
Core Size
8-Bit
Program Memory Size
1.75KB (1K x 14)
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Core Processor
PIC
Speed
4MHz
Number Of I /o
13
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
18-DIP (0.300", 7.62mm)
Controller Family/series
PIC16C
No. Of I/o's
13
Ram Memory Size
128Byte
Cpu Speed
4MHz
No. Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C712-04/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16C712/716
Code Example 2B:
;***********************************************************************
;
;
;
;
;
;
;
;
Assembly Code To Stop CCP Mode Once Started:
CCP1CONSAV equ 0X??
CCPstop
Assembly Code To Start CCP Mode Once Stopped:
CCPstart
DS80072D-page 4
Call these routines to turn the CCP Mode off or on and ensure RB3 is a known
CCPstop - First sets RB3 to an Input or an Output. If RB3 is an Output then it’s state
CCPstart
Input or Output value when CCP Mode is off.
is made either High or Low. The CCP is then Disabled.
bsf
bcf
bcf
bcf
movf
movwf
movlw
movwf
return
bcf
movf
movwf
return
VALUE FOR CCP1CON.
- Enable CCP Mode. IT IS THE RESPONSIBILITY OF THE USER TO DETERMINE THE CORRECT
STATUS,RP0
TRISB,3
STATUS,RP0
PORTB,3
CCP1CON,W
CCP1CONSAV
0x30
CCP1CON
STATUS,RP0
CCP1CONSAV,W
CCP1CON
; USER IS RESPONSIBLE FOR SUPPLYING RAM MEMORY SPACE
; TO SAVE CCP2CON VALUE.
; Select Bank 1
; RB3 as an Output - set bit TRISB, 3 when RB3
; as an Input is desired.
; Select Bank 0
; RB3 as a Low Level Output - set bit PORTB,3
; for RB3 to be a High Level
; Output.
; Move CCP1CON to ‘W’ register
; Save CCP1CON register value
; Load CCP1CON value in Working register
; Turn Off CCP1CON all Modes
; Select Bank 0
; Move CCP1CONSAV value to ‘W’ register
; Restore CCP1CON to desired Mode of operation.
2003 Microchip Technology Inc.