PIC16C773-I/SP Microchip Technology, PIC16C773-I/SP Datasheet - Page 25

IC MCU OTP 4KX14 A/D PWM 28DIP

PIC16C773-I/SP

Manufacturer Part Number
PIC16C773-I/SP
Description
IC MCU OTP 4KX14 A/D PWM 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16C773-I/SP

Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Number Of I /o
22
Program Memory Type
OTP
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 6x12b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Controller Family/series
PIC16C
No. Of I/o's
22
Ram Memory Size
256Byte
Cpu Speed
20MHz
No. Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMING
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
PIC16C773-04I/SP
The INDF register is not a physical register. Address-
ing INDF actually addresses the register whose
address is contained in the FSR register (FSR is a
pointer ). This is indirect addressing.
Reading INDF itself indirectly (FSR = 0) will produce
00h. Writing to the INDF register indirectly results in a
no-operation (although STATUS bits may be affected).
A simple program to clear RAM locations 20h-2Fh
using indirect addressing is shown in
FIGURE 2-11: DIRECT/INDIRECT ADDRESSING
1999 Microchip Technology Inc.
RP1:RP0
bank select
Note 1: For register file map detail see
location select
6
Direct Addressing
Data
Memory(1)
from opcode
00h
7Fh
Bank 0
Example
00
0
Advance Information
80h
FFh
2-1.
Bank 1
Figure
01
2-2.
100h
17Fh
Bank 2
10
EXAMPLE 2-1:
NEXT
CONTINUE
An effective 9-bit address is obtained by concatenating
the 8-bit FSR register and the IRP bit (STATUS<7>), as
shown in
180h
1FFh
Bank 3
11
Figure
IRP
movlw
movwf
clrf
incf
btfss
goto
:
bank select
2-11.
HOW TO CLEAR RAM
USING INDIRECT
ADDRESSING
0x20
FSR
INDF
FSR
FSR,4 ;all done?
NEXT
7
Indirect Addressing
PIC16C77X
;initialize pointer
;
;clear INDF register
;inc pointer
;NO, clear next
;YES, continue
FSR register
to RAM
DS30275A-page 25
location select
0

Related parts for PIC16C773-I/SP