PIC16C716-04E/P Microchip Technology, PIC16C716-04E/P Datasheet - Page 2
![IC MCU OTP 2KX14 A/D PWM 18DIP](/photos/6/76/67657/18-dip_300mil__sml.jpg)
PIC16C716-04E/P
Manufacturer Part Number
PIC16C716-04E/P
Description
IC MCU OTP 2KX14 A/D PWM 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C716-04E/P
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
13
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 4x8b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
18-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
PIC16C712/716
Assembly Code To Start PWM Once Stopped:
PWMrestart
Code Example 1B:
;***********************************************************************
;
;
;
;
;
;
;
;
Assembly Code To Stop CCP Mode Once Started:
CCPstop
Assembly Code To Start CCP Mode Once Stopped:
CCPstart
DS80072D-page 2
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 is made
CCPstart
bcf
movlw
movwf
return
bsf
bcf
bcf
bcf
movlw
movwf
return
bcf
movlw
movwf
return
Input or Output value when CCP Mode is off.
VALUE FOR CCP1CON.
either High or Low. The CCP is then Disabled.
- Enable CCP Mode. IT IS THE RESPONSIBILITY OF THE USER TO DETERMINE THE CORRECT
STATUS,RP0
T2CONVAL
T2CON
STATUS,RP0
TRISB,3
STATUS,RP0
PORTB,3
0x30
CCP1CON
STATUS,RP0
CCP1CONVAL
CCP1CON
; Select Bank 0
; Load T2CON value in ‘w’ register - USER RESPONSIBLE FOR
; SUPPLYING THE CORRECT T2CON VALUE.
; Initialize T2CON enabling scalers and Timer2
; 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 TRISB,3 for
; RB3 to be a High Level
; Output.
; Load CCP1CON value in Working register
; Turn Off CCP1CON all Modes
; Select Bank 0
; Load CCP1CON value in Working register.
; THE USER IS RESPONSIBLE FOR SUPPLYING THE CORRECT CCP1CON VALUE.
; Initialize CCP1CON for desired Mode of operation.
2003 Microchip Technology Inc.