PIC16C712-04/P Microchip Technology, PIC16C712-04/P Datasheet - Page 3
![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
EXAMPLE 2:
(Assumes that the T2CON and CCP1CON values may change during program execution. One SRAM location is used
for temporary storage of T2CON or CCP2CON.)
Code Example 2A:
;***********************************************************************
;
;
;
;
;
;
;
;
;
;
Assembly Code To Stop PWM Once Started:
T2CONSAV equ
PWMreset
Assembly Code To Start PWM Once Stopped:
PWMrestart
2003 Microchip Technology Inc.
Call these routines to turn the PWM off or on and ensure a Zero output on RB3
when PWM is off.
PWMreset - Saves T2CON value in RAM location. IT IS THE RESPONSIBILITY OF THE USER TO SUPPLY
PWMrestart - Enable Timer2
bcf
movf
clrf
movf
movwf
return
bcf
movf
movwf
return
movwf
RAM MEMORY SPACE TO SAVE THE T2CON VALUE.
Clears T2CON register Disabling Timer2 and clearing Timer2 Prescaler.
The TMR2 register is then filled with the CCPR1H value. This causes a Reset
or Zero value on RB3.
0x??
STATUS,RP0
T2CON,W
T2CONSAV
T2CON
CCPR1H,W
TMR2
STATUS,RP0
T2CONSAV,W
T2CON
; USER RESPONSIBLE FOR SUPPLYING RAM MEMORY SPACE
; TO SAVE T2CON VALUE.
; Select Bank 0
; Move T2CON Value to ‘w’ register
; Save T2CON register value
; Clear T2CON, Timer2-Disable & Pre/Post Scalers=1
; Load CCPR1H value in Write register
; Move CCPR1H value into TMR2 to cause Reset of RB3 pin
; Select Bank 0
; Move T2CONSAV Value to ‘w’ register
; Restore T2CON register value
PIC16C712/716
DS80072D-page 3