PIC16HV785-E/P Microchip Technology, PIC16HV785-E/P Datasheet - Page 24

3.5KB Flash, 128 RAM, 18 I/O 20 PDIP .300in TUBE

PIC16HV785-E/P

Manufacturer Part Number
PIC16HV785-E/P
Description
3.5KB Flash, 128 RAM, 18 I/O 20 PDIP .300in TUBE
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16HV785-E/P

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-DIP (0.300", 7.62mm)
Processor Series
PIC16H
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
RS- 232, USB
Maximum Clock Frequency
32 MHz
Number Of Programmable I/os
18
Number Of Timers
3
Maximum Operating Temperature
+ 125 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DV164120, DM163029
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 14 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC162060 - HEADER INTRFC MPLAB ICD2 20PINAC164039 - MODULE SKT PROMATE II 20DIP/SOICACICE0203 - MPLABICE 20P 300 MIL ADAPTER
Connectivity
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16HV785-E/P
Manufacturer:
MICROCHIP
Quantity:
12 000
PIC16F785/HV785
2.4
The INDF register is not a physical register. Addressing
the INDF register will cause indirect addressing.
Indirect addressing is possible by using the INDF
register. Any instruction using the INDF register
actually accesses data pointed to by the File Select
Register (FSR). Reading INDF itself indirectly will
produce 00h. Writing to the INDF register indirectly
results in a no operation (although Status bits may be
affected). An effective 9-bit address is obtained by
concatenating the 8-bit FSR and the IRP bit in the
STATUS Register, as shown in Figure 2-4.
FIGURE 2-4:
DS41249E-page 22
Bank Select
RP1RP0
Note:
Indirect Addressing, INDF and
FSR Registers
Direct Addressing
6
For memory map detail see Figure 2-2.
Data
Memory
Location Select
DIRECT/INDIRECT ADDRESSING PIC16F785/HV785
From Opcode
7FH
00H
Bank 0
00
0
Bank 1
01
Bank 2
10
A simple program to clear RAM location 20h-2Fh using
indirect addressing is shown in Example 2-1.
EXAMPLE 2-1:
NEXT CLRF
CONTINUE
Bank 3
MOVLW 0x20
MOVWF FSR
INCF
BTFSS FSR,4
GOTO
11
IRP
Bank Select
180h
1FFh
INDF
FSR
NEXT
7
INDIRECT ADDRESSING
;initialize pointer
;to RAM
;clear INDF register
;increment pointer
;all done?
;no clear next
;yes continue
© 2008 Microchip Technology Inc.
Indirect Addressing
File Select Register
Location Select
0

Related parts for PIC16HV785-E/P